Commit Graph

36808 Commits

Author SHA1 Message Date
Jan de Mooij
b79f1d0c2a Bug 866064 - Fix CodeLocationJump/CodeLocationLabel asserts to not use a magic value. r=nbp
--HG--
extra : rebase_source : 972088f94d0b5ab6ae4ae445ca275b3b3275a6b1
2013-07-15 15:45:56 +02:00
Brian Hackett
9e2dee9332 Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm. 2013-07-15 08:12:40 -06:00
Douglas Crosher
4ad0c03ad5 Bug 893317 - Fix VTune include files. r=njn 2013-07-13 15:23:48 +10:00
Douglas Crosher
03934cb43e Bug 893315 - More uses of Move need renaming to mozilla::Move. r=Waldo 2013-07-13 14:15:01 +10:00
Douglas Crosher
6a341714fd Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett 2013-07-13 14:00:53 +10:00
Mike Hommey
6932c7388c Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
David Anderson
9358336f75 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Phil Ringnalda
c85a2e23ff Back out 757e87bb1c1e:2c2bb15bf160 (bug 884676) for make check failures
CLOSED TREE
2013-07-13 21:59:07 -07:00
Joshua Cranmer
8258da2d0d Bug 884676 - Part 2: Remove JS_ATOMIC_* in favor of mozilla::Atomic, r=Waldo. 2013-07-13 20:07:11 -05:00
Joshua Cranmer
44a60190fc Bug 884676 - Part 1: Remove unused ThreadPool::submitOne method. r=Waldo 2013-07-13 20:05:11 -05:00
Till Schneidereit
0beda2cea6 Bug 886949 - Add Number.parseInt and Number.parseFloat. r=jwalden 2013-07-13 15:10:46 +02:00
Till Schneidereit
a9379ca98a Bug 885798 - Add ES6's Number.EPSILON. r=jwalden 2013-07-13 15:09:32 +02:00
Nicholas Nethercote
e5799a9b9b Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Nicholas Nethercote
a80ab8e7e0 Bug 888768 (part 2) - Remove frontend/SharedContext-inl.h. r=till.
--HG--
extra : rebase_source : d9bb2d56d54eed908a8d9301519866bd417321df
2013-07-11 18:00:17 -07:00
Ryan VanderMeulen
c618a3cb48 Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Nicholas D. Matsakis
9124bcfc6a Add test for bug 880377 rs=tests 2013-07-12 17:01:43 -04:00
Nicholas Nethercote
edeba39609 Bug 893158 - Tweak store buffer size to avoid overflow in pdfjs. r=terrence.
--HG--
extra : rebase_source : b93412ef09710038d730a78d746ab9df7c69e319
2013-07-11 23:41:27 -07:00
Kannan Vijayan
874de834c8 Bug 892544 - Stub out exception handling code. r=h4writer 2013-07-12 14:14:48 -04:00
Jason Orendorff
538d6c1103 Bug 889599, part 4 - Remove unnecessary JSScript parameter from Parser::standaloneFunctionBody(). r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
8d47db7148 Bug 889599, part 3 - Create function parse nodes in the Parser rather than in frontend::CompileFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
11f4e06d98 Bug 889599, part 2 - Remove unnecessary FunctionBox out-parameter from Parser::standaloneFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
e5697ebbe9 Bug 889599, part 1 - Fix ParseNode.h comment about PNK_FUNCTION nodes. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
79309616f7 Bug 889584, part 4 - Remove an unnecessary setFunctionBody call. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
b3562e89e1 Bug 889584, part 3 - Un-specialize Parser::expr(). The code was effectively the same in both specializations. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
cc1ea2ec49 Bug 889584, part 2 - Comment withStatement specialization for syntax-only mode. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
6fe643a25c Bug 889584, part 1 - Make the switch statement in Parser::statement handle all the cases, and make each case return. r=Waldo. 2013-07-12 12:20:57 -05:00
Nicholas D. Matsakis
22553eb3be Bug 880377 - Make UCE abort if some blocks are only reachable from OSR entry point r=bhackett 2013-07-11 12:55:47 -04:00
Boris Zbarsky
f82dba7419 Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Wei Wu
80a7845ac7 Bug 892369 - Update the default value of the 'usesBeforeCompile' option in
jsshell's usage. r=bhackett
2013-07-12 09:25:41 -04:00
Benoit Girard
be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Nicholas D. Matsakis
eb3b74035a Bug 841621 - Add inline hint for self-hosted code r=dvander 2013-05-31 14:59:38 -04:00
Jan de Mooij
37086f326e Bug 892931 - CallKnown should not emit a slow path if callee can't be Ion-compiled but can be Baseline-compiled. r=h4writer 2013-07-12 13:37:27 +02:00
Nicholas Nethercote
5e681ec894 Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Nicholas Nethercote
9cdaaf7828 Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
ff86dae788 Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -07:00
Dan Gohman
cf8418672a Bug 891702 - IonMonkey: After ReorderCommutative, constants are always on the right. r=sstangl 2013-07-11 23:32:41 -07:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Gregory Szorc
886b09f83c Bug 892646 - Remove unsued final-link-{libs,comps,comp-names} files; r=glandium 2013-07-11 19:44:54 -07:00
Benjamin Bouvier
62a3f6813c Bug 892291: Correctly compute ranges for Math.imul; r=nbp
--HG--
extra : rebase_source : 0b6d8d27bbb01fee911e90fc571f683e175fdbbc
2013-07-11 18:56:28 -07:00
Nicholas Nethercote
787eaffa54 Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Mike Hommey
d01870f66f Bug 892401 - Remove NEW_H. r=ted 2013-07-12 09:16:41 +09:00
Mike Hommey
ccd0a074bb Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Mike Hommey
63c59c44d0 Bug 892339 - Fail the build when there are text relocations. r=ted 2013-07-12 09:13:31 +09:00
Brian Hackett
aeb05a26c6 Bug 891534 - Use asm.js ops for truncated unsigned div/mod, allow div ops to be marked as truncated, r=jandem. 2013-07-11 17:11:04 -06:00
Brian Hackett
067add404f Bug 891400 - Don't use LoadTypedArrayElementStatic for uint32 arrays. 2013-07-11 16:50:27 -06:00
Kannan Vijayan
d148acaae1 Bug 877826 - Make GetPcScript handle rectifier frames appropriately. r=jandem 2013-07-11 18:26:35 -04:00
Steve Fink
17d2ccc660 Bug 848146 - Do not need to SkipRoot inline assembler buffers, r=terrence
--HG--
extra : rebase_source : 7b0011ba3b5b2749d1b57eec635ec7ccb2d1bdad
2013-03-05 14:57:49 -08:00
Nicholas Nethercote
1e7fa3a001 Bug 892187 (part 0) - Fix busted GGC builds. r=bhackett.
--HG--
extra : rebase_source : a4be26dc5bc99ea987e76023f437a64304001639
2013-07-11 15:05:25 -07:00
Terrence Cole
a2e052b1e5 Bug 891773 - Check ArrayBufferView's back reference before marking; r=sfink
--HG--
extra : rebase_source : 9509d8304020457f31cbb6b90ae5f6f4cc9270db
2013-07-11 14:34:54 -07:00
Terrence Cole
f0c115229e Bug 891773 - Do not assume RelocatablePtr is only used on JSObject; r=billm
--HG--
extra : rebase_source : ff327374ac7900626fe166b307fba5b1fcd31f3f
2013-07-11 14:34:48 -07:00
Brian Hackett
72893d63c7 Bug 891400 - Improve pattern matching on static typed array accesses, r=jandem. 2013-07-11 15:08:26 -06:00
Gregory Szorc
329e5f905d Bug 891474 - Establish unified directory for Python build actions; r=glandium, ted
--HG--
rename : config/purge_directories.py => python/mozbuild/mozbuild/action/purge_manifests.py
rename : build/xpccheck.py => python/mozbuild/mozbuild/action/xpccheck.py
extra : rebase_source : 46bc960aa62c1117a7bf215653b768dc78b48d9a
2013-07-11 13:42:26 -07:00
Adam Roach [:abr]
190b47b09f Bug 892594 - Fix LIR-Common.h to work with clang++ 4.1 r=nbp 2013-07-11 15:38:58 -05:00
Jason Orendorff
7fc82b9415 Bug 885761 - Remove Token::t_op and KeywordInfo::op. r=till.
--HG--
extra : rebase_source : f1d267e99b76d1ed575beb214fbc0360cf8ebe7b
2013-07-10 16:37:45 -05:00
Jason Orendorff
4ec3630342 Backout rev 89551867dc2a for having the wrong bug number in the commit message (was bug 885762, should be bug 885761). Pointed out by Ms3ger. no_r=me.
--HG--
extra : rebase_source : 2171490306c5559161f34e537f035c2c69e1fdd2
2013-07-10 16:36:58 -05:00
Tom Schuster
da27e50396 Bug 890729 - Reorder the CPOW traps. r=dvander 2013-07-11 11:23:34 -04:00
Nicholas D. Matsakis
672f39bd19 Bug 829896 - Make typed array element accesses return undefined if the element is out of bounds, rather than accessing the prototype chain r=jandem 2013-07-09 15:29:39 -04:00
Norbert Lindenberg
905c78ec52 Bug 854320 - ECMA-402 tests ch10/10.1/10.1.1_a.js, ch11/11.1/11.1.1_a.js, ch12/12.1/12.1.1_a.js failing. r=jwalden 2013-07-11 09:54:09 -04:00
Norbert Lindenberg
7968ef59e4 Bug 834989 - Use of RegExp in self-hosted code can be observed through RegExp statics. r=jwalden 2013-07-11 09:53:56 -04:00
Shu-yu Guo
3e1c8cb5c0 Bug 890968 - Followup: forgot to qualify JSString::maybeChars() with const. DONTBUILD 2013-07-11 03:01:36 -07:00
Nicholas Nethercote
4af5930e4e Bug 891215 (part 20) - Slim down String-inl.h. r=terrence.
--HG--
extra : rebase_source : 5b141ad99549d41ebb174d24df8b04d60fed3aae
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
7e4b12719c Bug 891215 (part 19) - Slim down Shape-inl.h. r=terrence.
--HG--
extra : rebase_source : 77cbecf4148cfcc6df2588001b36c78658eb90ea
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
5899b05f1e Bug 891215 (part 18) - Slim down RegExpStatics-inl.h. r=terrence.
--HG--
extra : rebase_source : 244cf0dbc08fd04307a0e371bfc753d1e4640a9d
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
dbffbc548d Bug 891215 (part 17) - Move SizeOfRegExpStaticsData() into the RegExpStaticsObject class. r=terrence.
--HG--
extra : rebase_source : 5ab7214b39e0ea7633e08eb912bb9dcbc7f973ef
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
501472fdaf Bug 891215 (part 16) - Slim down RegExpObject-inl.h. r=terrence.
--HG--
extra : rebase_source : b868181ba37ae1332589a08a7d9a97bd649ea115
2013-07-09 13:41:16 -07:00
Nicholas Nethercote
b4e6f716de Bug 891215 (part 15) - Slim down Interpreter-inl.h. r=terrence.
--HG--
extra : rebase_source : dea8c481504ce50b2b1869d81b4d6aa1a1f1a212
2013-07-09 13:19:37 -07:00
Nicholas Nethercote
fb24fe9213 Bug 891215 (part 14) - Slim down GlobalObject-inl.h. r=terrence.
--HG--
extra : rebase_source : 126eaa4ad6cebf3e2794fec62b84cec610af4604
2013-07-09 13:19:08 -07:00
Wes Kocher
725b5f55d2 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
Shu-yu Guo
0d4f5ea743 Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
7842f46351 Bug 885017 - Fix length handling in ParallelArray.scatter. (r=pnkfelix) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
ed98ad672d Bug 889346 - Check for NULL TypeObject when inlining ParallelArray constructors. (r=nmatsakis) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
8b812db12c Bug 881593 - Part 2: Add ParallelSpew intrinsic. (r=nmatsakis) 2013-07-10 18:25:34 -07:00
Shu-yu Guo
aca77e9d71 Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
638b9c7b72 Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
d3c7521462 Bug 877893 - Followup: add testcase. (r=me) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
cdb74bb560 Bug 890968 - Part 3: RAII wrapper for inspecting contents of JSStrings in a thread safe way. (r=nmatsakis) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
36db6b0647 Bug 890968 - Part 2: Add nondestructive getChars to JSString. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
765100139a Bug 890968 - Part 1: Revert thread unsafe JSString methods to JSContext. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
f99ba228a6 Bug 888618 - Part 2: Make String post barriers take ThreadSafeContext. (r=terrence) 2013-07-10 18:21:23 -07:00
Shu-yu Guo
cacae997fc Bug 888618 - Part 1: Add Cell::tenuredIsInsideZone for threadsafe asserts. (r=billm) 2013-07-10 18:21:23 -07:00
Nicholas Nethercote
b3c33ecb10 Bug 891209 (part 2) - Parse "detectably simple" expressions quickly. r=jorendorff.
--HG--
extra : rebase_source : c501dc470978a94898fd68311b776574034fb654
2013-07-08 19:09:34 -07:00
Nicholas Nethercote
aa9f6934ee Bug 891209 (part 1) - Change TOK_ERROR from -1 to 0 so that TokenKind values can be used to index into arrays. r=jorendorff.
--HG--
extra : rebase_source : 197cfb12f68da77496aa1dae67261b8b48def897
2013-07-10 17:04:18 -07:00
David Anderson
5f0258f3c3 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Jeff Walden
90a0f4dfea Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
7a5c915ff2 Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
5ccfb193c6 Bug 891177 - Use MOZ_STATIC_ASSERT, not JS_STATIC_ASSERT, in Vector.h. r=terrence
--HG--
extra : rebase_source : 35bf9a16df56ff308ff2761f0f088a1ca980f04a
2013-07-02 17:33:32 -07:00
Jeff Walden
0cd808f43c Bug 891177 - s/JS_ALWAYS/MOZ_ALWAYS/g and s/JS_NEVER/MOZ_NEVER/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 345ebb6b5d7f7b023bcebdf1610de4f03c98cf46
2013-07-02 17:31:49 -07:00
Jeff Walden
5769d62b8d Bug 891177 - s/JS_ASSERT/MOZ_ASSERT/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 9ed551860edfb8801725a3575335039c1bb07692
2013-07-02 17:29:29 -07:00
Jeff Walden
3bc19b56c2 Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Jeff Walden
791a4e2b4e Bug 891177 - Add AllocPolicy.h to define an implementation policy concept for use in mfbt. r=terrence
--HG--
extra : rebase_source : f6336b5ba3298bbf9c5418b4e9d993b9173f7926
2013-07-02 17:16:07 -07:00
David Keeler
b8ef4b4fd8 bug 891992 - fix typo in js/jsd/jsdebug.h r=timeless 2013-07-10 13:53:27 -07:00
David Keeler
a262bb8398 bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Hannes Verschore
d9a6c7b9ee Bug 889186: IonMonkey: When optimizing a compare mark replaced operands correspondingly as being folded, r=bhackett 2013-07-10 22:48:25 +02:00
Jim Blandy
274d20d20e Bug 892014: Don't pass the 'vp' argument to handleUncaughtException if it's just going to be ignored. r=jorendorff 2013-07-10 13:15:57 -07:00
Gregory Szorc
19850b9b8e Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Dan Gohman
36c66b79da Bug 891702 - IonMonkey: Delete dead code. r=djvj 2013-07-10 11:57:15 -07:00
Dan Gohman
64e5fb6c66 Bug 891070 - IonMonkey: Implement range analysis for nodes with Boolean return types. r=nbp 2013-07-10 11:48:28 -07:00
Dan Gohman
0ce5de2f40 Bug 891697 - IonMonkey: Make MIRGraph and MBasicBlock's dump methods more useful. r=nbp 2013-07-10 11:15:03 -07:00
Dan Gohman
4fa7add9e4 Bug 891087 - IonMonkey: Add MOZ_FINAL on getOperand, setOperand, and friends which are not meant to be further overridden. 2013-07-10 10:54:44 -07:00
Dan Gohman
5e59f07f19 Bug 891087 - IonMonkey: Annotate several classes with MOZ_FINAL. 2013-07-10 10:54:44 -07:00