Commit Graph

36636 Commits

Author SHA1 Message Date
Jon Coppeard
e77f65c20f Bug 886829 - In-source comments incorrectly say JSClass::finalizer is mandatory r=billm
--HG--
extra : rebase_source : d01ba99257b2a392d332f56dfc655f6439462c1b
2013-07-02 09:42:01 +01:00
Jon Coppeard
2bbe37fa5f Bug 886910 - GC: IsAboutToBeFinalized returns true for things allocated during incremental sweeping r=billm
--HG--
extra : rebase_source : 04f6e07060567631c0e10ba913595a2a53e1c20f
2013-07-02 09:38:52 +01:00
Phil Ringnalda
f327c82296 Backed out efc4b8a23cd7:12e8fc56b5eb (bug 876064) for asm.js test failures 2013-07-01 23:06:49 -07:00
Dan Gohman
09d1348447 Bug 876064 - Implement constant pools for double constants on x64. r=sstangl 2013-07-01 21:24:08 -07:00
Dan Gohman
38f407f42c Bug 876064 - Change HeapLabel with NonAssertingLabel, and don't allocate it on the heap. r=luke 2013-07-01 21:23:00 -07:00
Benjamin Bouvier
1b58aa471f Bug 884473: puts a warning message when compiled with --enable-perf and no env variable is given; r=sstangl 2013-07-01 16:35:27 -07:00
Benjamin Bouvier
1c44ac2ae6 Bug 884473: Integrate perf with OdinMonkey: basic blocks profiling; r=sstangl 2013-07-01 16:35:25 -07:00
Benjamin Bouvier
fedb281b89 Bug 884473: Integrate perf with Odinmonkey: functions profiling; r=sstangl 2013-07-01 16:35:22 -07:00
Luke Wagner
9c55104e5e Bug 885908 - use js_malloc instead cx->malloc inside ScriptSource::chars to avoid triggering GCs for large scripts (r=billm)
--HG--
extra : rebase_source : 87e4669be579cb7b9f836856e1bfb4bfcd0e6669
2013-07-01 16:26:19 -07:00
Till Schneidereit
e29c13e2ef Bug 888613 - Micro-optimization of js::ToInteger. r=jwalden
--HG--
extra : rebase_source : 3e5774bec875860659b500ae9ab87c404f213c47
2013-07-02 00:48:18 +02:00
Till Schneidereit
83ceda0158 Bug 888673 - Update Yarr yet again. r=sstangl
--HG--
extra : rebase_source : 129ba2817818f5c666b9d1bd4402a76999bff895
2013-07-01 23:29:19 +02:00
Terrence Cole
68307928b7 Bug 879079 - Fix static root analysis hazards around ToInteger; r=sfink
--HG--
extra : rebase_source : 645febaf4b4044e28ba9d53a301a7c3ca7468487
2013-06-26 14:46:23 -07:00
Terrence Cole
cde5f72fa0 Bug 879079 - Fix static root analysis hazards around ValueToSource; r=sfink
--HG--
extra : rebase_source : 2f31fdefdcdd6bb95beace105f6b79458d3a407f
2013-06-26 14:44:51 -07:00
Terrence Cole
a6435e62f3 Bug 879079 - Fix a static analysis rooting failure; r=wingo
--HG--
extra : rebase_source : 274a60e9fae01027fef0cdb67fc8fa56120a9c83
2013-06-26 14:18:14 -07:00
Terrence Cole
6da6d3a83f Bug 879079 - The static rooting analysis gets confused by Invoke's indirect parameter; r=sfink
--HG--
extra : rebase_source : 5428622f10f84ec6ffbae05dda7b14bf435c97ba
2013-06-26 10:38:30 -07:00
Ms2ger
12bdf91609 Bug 888579 - Remove some code that handled WN Nodes; r=bholley 2013-07-01 09:14:36 +02:00
Ms2ger
83be196469 Bug 887009 - Pass MutableHandleValue to Invoke(); r=terrence 2013-07-01 09:03:13 +02:00
Ms2ger
a2f191d90a Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Bobby Holley
1ea512c17d Bug 880917 - Remove AutoVersionAPI. r=luke
This doesn't do anything anymore. The compile options should generally carry
the right version through, with the exception of eval, which will end up using
the version of the running script anyway.
2013-06-29 09:11:20 -06:00
Bobby Holley
a7550aef7c Bug 880917 - Hoist defaultVersion into the runtime and remove it from the JSContext. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
2d2baf2430 Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
60368c1726 Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
439ae70017 Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
05ff64f03e Bug 880917 - Remove XPConnect version munging test. r=luke
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-29 09:11:18 -06:00
Bobby Holley
306f8a67ea Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-29 09:11:18 -06:00
Bobby Holley
fbb93f2c02 Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Bobby Holley
979f8b69dc Bug 880917 - Remove testVersion.cpp. r=luke
This test coverages seems to be mostly testing functionality we're removing like
overrides and version introspection. Let's just kill it.
2013-06-29 09:11:17 -06:00
Bobby Holley
0b8f9a10e6 Bug 880917 - Introduce an API for callers to set the version for a compartment. r=luke
This has lower precedence than 'overrides' and running script, and higher
precedence than the cx's version. We can migrate the API consumers who clearly
want something like this, which will eventually let us remove the override
mechanism.
2013-06-29 09:11:17 -06:00
Bobby Holley
270f94dd2f Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Bobby Holley
71db19a14d Bug 880917 - Remove support for munging JS versions from JSD. r=luke
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-29 09:11:16 -06:00
Justin Lebar
3da6ed220e Bug 820686 - Follow-up: s/MOZ_ASSUME_NOT_REACHED/MOZ_ASSUME_UNREACHABLE/. rs=waldo
I'd meant to do this, but I only got as far as the comment in mfbt.  Oops!

--HG--
extra : rebase_source : 3cfe3ef1bf401eb7d9a10fcabcfb39008e9553a4
2013-06-28 19:20:12 -07:00
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
674bdae8dc Bug 820686 - Rename MOZ_NOT_REACHED() and JS_NOT_REACHED() to MOZ_ASSUME_NOT_REACHED(). r=waldo
This includes a mechanical renaming of MOZ_NOT_REACHED to MOZ_ASSUME_NOT_REACHED in JS.  Later patches in this queue clean up whitespace errors and so on.
2013-06-28 18:38:31 -07:00
Dan Gohman
114194a124 Bug 888275 - More x86 assembly spew cleanups. r=sstangl 2013-06-28 13:56:30 -07:00
Mike Shal
156426771a Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Terrence Cole
a303826ff9 Bug 888411 - Clear NewObjectCache entries with nursery slots or elements on minor GC; r=jandem
--HG--
extra : rebase_source : 0451c424a75a7ad6543ca45d72542d9a40bf7c51
2013-06-28 11:51:02 -07:00
Dan Gohman
7e4affa0df Bug 885179 - Refactor visitMoveGroup into shared code. r=jandem 2013-06-28 11:34:55 -07:00
Dan Gohman
91be8654dd Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x86. r=dvander 2013-06-28 11:28:00 -07:00
Dan Gohman
1b6a2066e6 Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x64. 2013-06-28 11:27:20 -07:00
Jan de Mooij
3345b24b2d Bug 887521 - Fix OnUnknownMethod to not modify vp if there's no __noSuchMethod__ method. r=jwalden 2013-06-28 19:22:15 +02:00
Benjamin Bouvier
65a40b5804 Bug 886246: Set infinite flags after bounds for MPhi nodes in range analysis; r=nbp 2013-06-28 10:14:49 -07:00
Benjamin Bouvier
5e0c9817e6 Bug 886866: Clean unused function and doc for Ion Perf integration; r=nmatsakis 2013-06-28 10:11:11 -07:00
Dan Gohman
80a51789e0 Bug 888276 - Use hasUses() instead of checking useCount() == 0. r=h4writer 2013-06-28 07:41:19 -07:00
Ed Morley
934c3a85a4 Merge mozilla-central and inbound 2013-06-28 14:36:56 +01:00
Jan de Mooij
5175a4f42b Bug 888212 - Set MArrayConcat result typeset. r=h4writer 2013-06-28 15:35:49 +02:00
Ed Morley
7bd880a445 Merge latest green birch changeset and mozilla-central 2013-06-28 14:33:47 +01:00
Jon Coppeard
8c01a241eb Bug 872824 - update incorrect comment DONTBUILD 2013-06-28 12:42:01 +01:00
Jon Coppeard
cb4efc50e3 Bug 872824 - IonMonkey: (ARM) Add support for hardware divide instructions r=mjrosenb 2013-06-28 11:54:08 +01:00
Phil Ringnalda
4b30bbfc5b Merge m-c to birch 2013-06-27 19:41:24 -07:00
Dan Gohman
175b9107c7 Bug 885169 - Add an explicit backwards-traversing register set iterator, so that code which needs to iterate in a specific order can ask for it explicitly. r=h4writer 2013-06-27 08:11:28 -07:00
Gregor Wagner
5082f0f7c1 Bug 887652 - Limit number of empty chunks after a GC. r=terrence 2013-06-28 09:31:17 +08:00
Jason Orendorff
8b21673a4d Backed out changeset 3f152e51be2b (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:30:48 -05:00
Jason Orendorff
6eb5f7714c Backed out changeset 5428fa083db3 (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:29:17 -05:00
Jason Orendorff
cd5ae7c064 Backed out changeset c39ede0eea8f (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:28:26 -05:00
Cykesiopka
fee3475339 Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Nicholas Nethercote
385e5fa1b0 Bug 883696 (part 4) - Include full paths in #include statements in the rest of js/src/ and js/public/. r=luke. 2013-06-27 17:37:29 -07:00
Nicholas Nethercote
9fed70182c Bug 883696 (part 3) - Include full paths in #include statements in js/src/jsapi-tests/. r=luke. 2013-06-27 14:43:30 -07:00
Nicholas Nethercote
e8d906830e Bug 883696 (part 2) - Include full paths in #include statements in js/src/{assembler,yarr}/. r=luke. 2013-06-27 14:43:29 -07:00
Nicholas Nethercote
9994d89bd2 Bug 883696 (part 1) - Include full paths in #include statements in js/src/ion/. r=jandem. 2013-06-26 23:19:51 -07:00
Dan Gohman
670f349522 Bug 871811 - Use push/pop for saving and restoring registers on the stack on x86/x64. r=mjrosenb 2013-06-27 18:49:52 -07:00
Brian O'Keefe
9ac855a180 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Emanuel Hoogeveen
66b88396c7 Bug 887465 - Rewrite double-conversion's assertions in terms of the MOZ_* assertions, and keep wtf (Yarr) from redefining them. r=jwalden
--HG--
extra : rebase_source : 3cdadf85f6bc471f065d570cb03d2441886d3738
2013-06-27 16:25:42 -07:00
Marty Rosenberg
159355413a bug 760642: Use a finger to make instruction lookups nearly instantaneous (r=jbramley) 2013-06-27 16:51:12 -04:00
Marty Rosenberg
2233291e4a bug 760642: Speed improvements for IonAssemblerBuffer (r=jbramley)
* Use a doubly linked list rather than one list for keeping track of the chunks
* Add a hueristic to determine whether we do lookups from the front of the list or the back
2013-06-27 16:51:09 -04:00
Shu-yu Guo
8801ddfe23 Bug 877893 - Part 4: Make MToString support doubles and threadsafe. (r=djvj) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
4bb320ae38 Bug 877893 - Part 3: VM & Ion changes to make MToString threadsafe. (r=billm) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
292baa9cdc Bug 877893 - Part 2: Support string concat in parallel in Ion. (r=djvj) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
2c365bd9e7 Bug 877893 - Part 1: Convert string VM functions needed for concatenation to take ThreadSafeContext. (r=billm) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
167f289e05 Bug 886144 - Remove incorrect inlining of ThrowError. (r=nmatsakis) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
8140da908d Bug 886104 - Remove assert in ParCallToUncompiledScript. (r=nmatsakis) 2013-06-27 14:47:43 -07:00
Phil Ringnalda
466075ca08 Back out a90fac2a088b:759555fe9d38 (bug 760642) for Android/b2g build bustage
CLOSED TREE
2013-06-27 14:25:33 -07:00
Marty Rosenberg
b9b0619889 bug 760642: Use a finger to make instruction lookups nearly instantaneous (r=jbramley) 2013-06-27 16:51:12 -04:00
Marty Rosenberg
86f544da1b bug 760642: Speed improvements for IonAssemblerBuffer (r=jbramley)
* Use a doubly linked list rather than one list for keeping track of the chunks
* Add a hueristic to determine whether we do lookups from the front of the list or the back
2013-06-27 16:51:09 -04:00
Hannes Verschore
656f82f50d Bug 886243 - IonBuilder: Remove imul annotation when merging imul and normal multiplication, r=evilpie 2013-06-27 13:25:13 +02:00
Jan de Mooij
f022690cec Bug 887437 - Optimize encodeURI(Component). r=h4writer 2013-06-27 11:47:36 +02:00
Gabor Krizsanits
a8ce8de016 Bug 885737 - EvalInSandbox should return error if there was an exception. r=bholley 2013-06-27 09:52:57 +02:00
Emanuel Hoogeveen
87c8a65ac7 Bug 887494 - Fix struct/class mismatch introduced by part 4 of 884124. r=nnethercote.
--HG--
extra : rebase_source : 512f9f8c521c62c2efd4304dcca2205d82d7f8a5
2013-06-26 16:04:49 -07:00
Mike Shal
3afe016690 Bug 880245 - Convert JS_MODULES_PATH to be relative to $(FINAL_TARGET); r=gps 2013-06-17 13:59:49 -04:00
Jeff Walden
7c37290b28 Bug 869659 - Compile ICU using the CC/CXX determined by Mozilla, not as selected by ICU. r=glandium
--HG--
extra : rebase_source : 08ad4b27904de7f22a99fab8669d633374c569d8
2013-05-10 11:29:39 -07:00
Nicholas Nethercote
eac0db5142 Bug 886205 (part 9) - Fix some "used but never defined" warnings in --enable-gcgenerational builds. r=terrence.
--HG--
extra : rebase_source : aa1a2797171cc555ad90cb4740495a02dacbc394
2013-06-25 21:38:36 -07:00
Nicholas Nethercote
94d1b1a28c Bug 886205 (part 8) - Break the header cycle once and for all. r=terrence.
--HG--
extra : rebase_source : 3ec3faa03c3396ec6ef679e048d5765b99816e9d
2013-06-25 21:38:35 -07:00
Nicholas Nethercote
924c5002e5 Bug 886205 (part 7) - Break jsfuninlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : b89b98eced1ff6354cfaeca944b3f8dbd3d70110
2013-06-25 21:38:35 -07:00
Till Schneidereit
4403f2bc90 Bug 885553 - More tests for Array#find and Array#findIndex. r=me
--HG--
extra : rebase_source : 252d766850d5ae69743ac46a80f2b3ed14f633bb
2013-06-26 20:40:00 +02:00
Jan de Mooij
84c14fdc05 Bug 886911 - Don't cancel off-thread compilation for minor GCs. r=terrence 2013-06-26 20:35:32 +02:00
Till Schneidereit
f78fd42a4c Bug 885553 - Implement ES6 Array.prototype.find and Array.prototype.findIndex. r=jwalden
--HG--
extra : rebase_source : ca717dae292897561f503ab2d5964f02915f5067
2013-06-26 18:47:41 +02:00
Till Schneidereit
0139cd9c05 Bug 885729 - Inline array and proxy specializations of js::DefineProperty into js::DefineProperties. r=jwalden
--HG--
extra : rebase_source : eaed8f6a1ba9a171c3d0d47641482b8d3273bd8d
2013-06-26 17:00:24 +02:00
Terrence Cole
ba80bab8ed Bug 886560 - ScanBaseShape between incremental slices should not push nursery things; r=bhackett
--HG--
extra : rebase_source : ab72ab81f9de6fd33cc080fb6a397480b378a1d3
2013-06-26 11:07:56 -07:00
Steve Fink
38ddb62f45 Bug 887362 - Fix include tangle for CheckStackRoots, r=ehoogeveen
--HG--
extra : rebase_source : 0bad13a22809afb35f924decc02b55a3e87db486
2013-06-26 11:21:36 -07:00
Terrence Cole
ad5df63273 Bug 879079 - Fix some static root analysis failures; r=sfink
--HG--
extra : rebase_source : 40407ff41a7380fc4107958a7e4af843c826301f
2013-06-26 10:37:42 -07:00
Terrence Cole
ebc01dfda0 Bug 879079 - Make ToNumber take a Handle to fix some static rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 048d46820baedeb593f85e0d445375d482d16050
2013-06-21 18:19:11 -07:00
Dan Gohman
d406c580e4 Bug 885186 - Optimize x86/x64 register moves using xchg, xor swap, and push/pop. r=jandem 2013-06-26 10:32:55 -07:00
Masatoshi Kimura
2b3b31ec7e Bug 839998 - Replace thisDuringConstruction() with MOZ_THIS_IN_INITIALIZER_LIST(). r=waldo 2013-06-27 00:15:53 +09:00
Dan Gohman
56c1c9b784 Bug 885183 - Use Push and Pop in more places instead of manually adjusting the stack pointer and loading and storing. r=sstangl 2013-06-26 07:15:14 -07:00
Ryan VanderMeulen
a50162f1d7 Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Andy Wingo
46f2a60446 Bug 885281 - Factor out TokenMatcher::matchContextualKeyword. r=Waldo 2013-06-26 11:47:50 +02:00
Brian O'Keefe
8b810c4a1a Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Andy Wingo
7f4d63c6b8 Bug 648949 - Remove HAS_JS_GENERATORS #define. r=Waldo, r=jorendorff 2013-06-26 12:34:47 +02:00
Jan de Mooij
9c80385e74 Bug 885648 - Add barriers for generator stack value. r=terrence 2013-06-26 15:16:48 +02:00
Jan de Mooij
f09265969f Bug 882416 - Fix Function constructor to override the noScriptRval flag. r=luke 2013-06-26 15:16:42 +02:00
Nicholas Nethercote
3cd6869d28 Bug 884124 (part 8) - Add a RegExpStaticObject class. r=jwalden.
--HG--
extra : rebase_source : 9a0b0a59dc67cbab9ab1156607a984d303a850c3
2013-06-20 20:18:04 -07:00
Nicholas Nethercote
0de29d1125 Bug 884124 (part 7) - Move some methods from JSObject to ArrayObject. r=jwalden.
--HG--
extra : rebase_source : bbe97ebfd1ef026f8a3ee21ce1b75f8b4ed40311
2013-06-19 01:39:47 -07:00
Nicholas Nethercote
82d0cc84f8 Bug 884124 (part 6) - Add an ArrayObject class. r=jwalden.
--HG--
extra : rebase_source : 17a9703165cb665326ff94bc574450ba59ede7f7
2013-06-18 23:55:38 -07:00
Nicholas Nethercote
532112ee66 Bug 884124 (part 5) - Add a DateObject class. r=jwalden.
--HG--
extra : rebase_source : bc39dcc8e2f8f2fcc71389a3ea199e264c445bc8
2013-06-20 20:17:15 -07:00
Nicholas Nethercote
fd361fd154 Bug 884124 (part 4) - Add an ErrorObject class. r=jwalden.
--HG--
extra : rebase_source : 9054445c5a435a1e49d1217247c5a32afef3826a
2013-06-20 20:17:14 -07:00
Nicholas Nethercote
f781f45519 Bug 886205 (part 6) - Break jsscriptinlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : 0390ebedf2b132f296e272d25d81af71791dca30
2013-06-25 17:25:18 -07:00
Nicholas Nethercote
4e3b816af9 Bug 886205 (part 5) - Break vm/Shape-inl.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : e63f73b728b071b98a318beba5d60bf9a108a840
2013-06-25 00:36:21 -07:00
Nicholas Nethercote
0742051e76 Bug 886205 (part 4) - Move some function definitions from jsfuninlines.h to jsfun.h. r=terrence.
--HG--
extra : rebase_source : 1bd4bf6c2c4db1392d43908a438df3fde48e29b2
2013-06-24 23:52:04 -07:00
Nicholas Nethercote
d1ea635455 Bug 886205 (part 3) - Move some function definitions from jsobjinlines.h to jsobj.h. r=terrence.
--HG--
extra : rebase_source : c5712dc0d1cb46d2bb653e33bc389f98770920b3
2013-06-24 21:26:48 -07:00
Shu-yu Guo
e455b95db9 Bug 886632 - Rename ParallelArrayAnalysis to ParallelSafetyAnalysis; move it before GVN; remove its dependency on JSContext. (r=nmatsakis)
--HG--
rename : js/src/ion/ParallelArrayAnalysis.cpp => js/src/ion/ParallelSafetyAnalysis.cpp
rename : js/src/ion/ParallelArrayAnalysis.h => js/src/ion/ParallelSafetyAnalysis.h
2013-06-25 18:28:22 -07:00
Shu-yu Guo
2f28a12e5f Bug 887002 - Don't track PC-sensitive type for rest arrays. (r=bhackett) 2013-06-25 18:28:22 -07:00
Shu-yu Guo
efeaeaf30c Bug 884369 - Fix callsite cloning in poly inline dispatch + rooting in IC. (r=sstangl) 2013-06-25 18:28:21 -07:00
Guilherme Gonçalves
59757598fc Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug 2013-06-25 20:08:58 -04:00
Terrence Cole
3efaff8e99 Bug 886551 - Re-disable pre-barriers during minor GCs; r=bhackett
--HG--
extra : rebase_source : 7bbf374092b102b682179a41d72ab62017e24b04
2013-06-25 15:35:56 -07:00
Jason Orendorff
fab193dfba Bug 844805, part 3 - Remove two calls to FoldConstants from the parser. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
7c90f23b63 Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
bf19c644d1 Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
2101567ebb Add passing test for bug 826124 which went away with JM. no_r=me. 2013-06-25 17:39:59 -05:00
Jason Orendorff
015a216e4f Bug 885463 - Warn about 'yield' without operand. r=Waldo. 2013-06-25 17:39:59 -05:00
Dan Minor (dminor@mozilla.com)
75f718a351 Bug 811404 - Stage cpptests as part of package-tests. r=ted 2013-06-24 13:45:32 -04:00
Terrence Cole
7c14d8cf98 Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
--HG--
extra : rebase_source : 98a04e315c9a372864d37447a102960737457aa1
2013-06-04 16:14:14 -07:00
Terrence Cole
f05eb3a4f7 Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 0d614298d3e9879a0ac5f95561329dc3a80d693b
2013-06-14 13:48:39 -07:00
Luke Wagner
730f58e564 Bug 886285 - OdinMonkey: -0 should have type double (r=bbouvier)
--HG--
extra : rebase_source : f5f74cabcea1edf568b75fb01debf2795b813213
2013-06-24 15:23:35 -07:00
Terrence Cole
3770ebc0f1 Bug 886575 - Update TypedArray's data slot when doing fallback marking for minor GC; r=sfink
--HG--
extra : rebase_source : 33d255e5e4c2aa647125faa8e6098e2111c83a33
2013-06-24 17:33:27 -07:00
Steve Fink
12acfa2b71 Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence 2013-05-03 13:53:15 -07:00
Andrew McCreight
ddcec6be65 Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley 2013-06-25 08:42:40 -07:00
Hannes Verschore
a498fdb818 Bug 886266 - Fix issues with enabling/disabling non-active activations, r=jandem 2013-06-25 16:58:52 +02:00
Jan de Mooij
6d81301997 Bug 885660 - Fix Ion bailouts to overwrite arguments on the stack at the end of the bailout. r=djvj 2013-06-25 14:15:08 +02:00
Emanuel Hoogeveen
c1374919d0 Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.
--HG--
extra : rebase_source : 0d833ecc9879f5d9fd0a28f9b4eca7793d01aa40
2013-06-24 21:32:05 -07:00
Hannes Verschore
6877977bcd Bug 886241 - IonMonkey: Enable inlined arguments_get_elem for constant index, r=djvj 2013-06-25 09:57:17 +02:00
Hannes Verschore
cca4f9757d Bug 884989: OdinMonkey: Check argument types before enabling ffi fastpath to IM, r=luke 2013-06-25 09:55:33 +02:00
Nicholas Nethercote
1727aad1db Bug 886205 (part 2) - Move some function definitions from vm/ObjectImpl-inl.h to vm/ObjectImpl.h. r=terrence.
--HG--
extra : rebase_source : c12d632b99542002954f02b7004cbbcfdee7f6c5
2013-06-24 16:03:02 -07:00
Nicholas Nethercote
71f4105f11 Bug 886205 (part 1) - Move some function definitions from gc/Barrier-inl.h to gc/Barrier.h. r=terrence.
--HG--
extra : rebase_source : d6eeb4f6273c36069a8bbb28033737c2aec40ba0
2013-06-24 15:55:52 -07:00
Catalin Iacob
6f4758d23e Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Catalin Iacob
d1755d1c96 Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Phil Ringnalda
0d8932f883 Back out 1aa1a42a471f:bf03279e2b50 (bug 885169) for b2g/Android bustage on a CLOSED TREE
--HG--
extra : rebase_source : f3931316d2daa132bbe088a06877a5190b60bbd9
2013-06-24 18:00:46 -07:00
Phil Ringnalda
5ae7b08b00 Merge m-c to m-i 2013-06-24 16:51:59 -07:00
Alex Keybl
821f644108 Merging in version bump NO BUG 2013-06-24 11:37:32 -07:00
Nicolas B. Pierron
9d5fdcde72 Bug 829841 - Add an option to enable eager compilation in the browser. r=dvander 2013-06-24 05:13:05 -07:00
Dan Gohman
9af18d7ba0 Bug 885176 - Style nits: add braces to if statements with multi-line conditions. r=sstangl 2013-06-24 16:34:04 -07:00
Dan Gohman
d9c1d46f41 Bug 875912 - Skip a bitwise or of zero. r=dvander 2013-06-24 16:29:03 -07:00
Dan Gohman
19710c8d1d Bug 883570 - Improve printing for control and compare instructions. r=dvander 2013-06-24 16:20:12 -07:00
Dan Gohman
fcd85de5e9 Bug 883570 - Basic dumping utilities for MBasicBlock and MIRGraph r=dvander 2013-06-24 16:19:59 -07:00
Dan Gohman
633b6844ca Bug 885169 - Reverse the default register allocation order so that low registers like eax on x86/x64 are preferred over high registers. r=h4writer 2013-06-24 15:58:00 -07:00
Dan Gohman
4a4be1c6e4 Bug 885169 - Add an explicit backwards-traversing register set iterator, so that code which needs to iterate in a specific order can ask for it explicitly. r=h4writer 2013-06-24 15:57:57 -07:00
Brian Hackett
84f642e1d2 Bug 883154 - Add runtime wide cache for compiled lazy scripts, r=billm. 2013-06-23 20:37:42 -06:00
Ehsan Akhgari
2144715779 Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc 2013-06-23 19:23:02 -04:00
Till Schneidereit
aa7feeb532 Bug 886094 - Make js::BooleanGetPrimitiveValueSlow assert isProxy instead of the narrower isCrossCompartmentWrapper. rs=Ms2ger 2013-06-23 15:05:26 +02:00
Ms2ger
f63886acfe Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps 2013-06-23 09:16:19 +02:00
Ms2ger
616079d107 Bug 884951 - Use XPCWrappedNative::Get more; r=bholley 2013-06-23 09:15:55 +02:00
Ms2ger
b7bef21f7f Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00
Ms2ger
507decd2c6 Bug 884947 - Remove superfluous null check in XPCConvert::NativeInterface2JSObject; r=bholley 2013-06-23 09:14:02 +02:00
Jeff Walden
bf09512675 Bug 496923 - Import the ch14 tests from test262. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 7146eb81941b66910c45fcc2491c2c2be28a597c
2013-06-19 12:25:51 -07:00
Jan de Mooij
fa3bea4976 Bug 866878 - Support try-finally in the baseline compiler. r=djvj
--HG--
extra : rebase_source : c5bd88422ce39de94888fad060259ef2590acb5a
2013-06-17 14:05:36 +02:00
Jeff Walden
afc11c4490 Bug 496923 - Update the test262 import script to include ch14 tests. r=terrence
--HG--
extra : rebase_source : cd1c49ec76f361319928a65be659c5974eea966f
2013-06-11 12:03:28 -07:00
Jeff Walden
6b8b3aea9e Bug 496923 - Import the ch08 tests from test262. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 5ddf0be31f2fd59dd37f06f9b9c23c90d8d66d35
2013-06-19 12:25:03 -07:00
Jeff Walden
cb49ec592f Bug 496923 - Update the test262 import script to include ch08 tests. r=terrence
--HG--
extra : rebase_source : a8920a71dbe2f919700bf72125ec8e06d4d4ced5
2013-06-11 11:56:59 -07:00
Kannan Vijayan
c23ef0bb02 Bug 883973 - Disable heavyweight function inlining. r=dvander 2013-06-24 15:14:06 -04:00
Brian Hackett
d474faa826 Bug 884053 - Fix incorrect use of nonLazyScript(), r=luke. 2013-06-24 12:07:58 -06:00
Brian Hackett
76bebabd28 Bug 882933 - Copy treatAsRunOnce bit when cloning scripts, don't clone scripts unnecessarily for arrow lambdas, r=luke. 2013-06-24 11:24:35 -06:00
Brian Hackett
35476f3330 Bug 881102 - Fix object metadata jit-test. 2013-06-24 11:18:50 -06:00
Gregory Szorc
fb4ee58c3e Bug 418593 - Cancel GNU make's built-in RCS/% rule; r=khuey 2013-06-24 10:14:12 -07:00
Gregory Szorc
091e4ed082 Bug 885906 - Remove .sh and .pl catch anything implicit rules; r=khuey 2013-06-24 10:13:33 -07:00
Bobby Holley
c50e85f8d8 Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor 2013-06-24 10:02:08 -07:00
Brian Hackett
ae72cd6422 Bug 872331 - Box null inputs to MToDouble when necessary, r=jandem. 2013-06-24 11:01:29 -06:00
Brian Hackett
cda7291f73 Bug 864099 - Deoptimize 'arguments' declaration inside 'with' statements harder, r=luke. 2013-06-24 10:59:15 -06:00
Brian Hackett
f117e1e4b6 Bug 881102 - Propagate exceptions in object metadata callback, r=luke. 2013-06-24 10:55:28 -06:00
Brian Hackett
c11255dff3 Bug 884920 - Remove TokenStream::lastFunctionKeyword, r=luke. 2013-06-24 10:47:11 -06:00
Jan de Mooij
356866d0f4 Bug 885976 - Make ScriptFrameIter::numFrameSlots() a bit more robust. r=luke 2013-06-24 18:44:22 +02:00
Terrence Cole
6638215d2e Bug 885607 - Make AsmJSModule's Global and ExportedFunction use RelocatablePtr; r=luke
--HG--
extra : rebase_source : bf0abf52aa28da2929264c42ec2d66dd0abea4b7
2013-06-21 19:27:16 -07:00
Terrence Cole
9a27dbd821 Bug 885607 - Store the correct IonCode in the store buffer; r=bhackett
--HG--
extra : rebase_source : b2bdcdfde7d76bc4c341db94e680784a238a3f14
2013-06-21 19:25:17 -07:00
Hannes Verschore
a19fe7abc0 No bug: Add testcases, r=tests 2013-06-24 17:50:59 +02:00
Terrence Cole
cd711afb30 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : e183246d7a2f381e015e7d860336330a726cb9f8
2013-02-11 13:59:10 -08:00
Terrence Cole
35caf38deb Bug 884956 - Convert jsmath.cpp to CallArgs; r=Waldo 2013-06-21 18:18:52 -07:00
Luke Wagner
41dd464fdc Fix visibility warning (no bug, r=themaid)
--HG--
extra : rebase_source : 311a6406b1d2739389276589f23548c6fda89c98
2013-06-21 18:09:07 -07:00
Phil Ringnalda
37782d5f54 Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o 2013-06-21 18:53:24 -07:00
Terrence Cole
21895c51d6 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : 575a7485a5c6ac51f5c0cadc91616302326ce770
2013-02-11 13:59:10 -08:00
Luke Wagner
de5b5ee9a4 Bug 883175 - OdinMonkey: restrict validation rules to force immediate coercion of calls (r=sstangl)
--HG--
extra : rebase_source : 69fe22b2511fa713d13bebaac0926d89f16e161c
2013-06-20 11:32:52 -07:00
Luke Wagner
edac671d37 Bug 878433 - OdinMonkey: (signed % signed) should be intish, not int (r=bbouvier)
--HG--
extra : rebase_source : 0f0b0c896be9b59e119952122f1967720abab635
2013-06-20 20:11:01 -07:00
Jan de Mooij
c8c7f09f04 Bug 881902 follow-up - Mark StackFrame callee and |this|, should fix GGC build. r=terrence on IRC 2013-06-22 01:58:36 +02:00
Luke Wagner
e3e8831709 Silence used-but-not-defined warnings (no bug, r=themaid)
--HG--
extra : rebase_source : ba10f39fd67711ef404ed09c0d0a016c01b5d832
2013-06-21 16:52:11 -07:00
Steve Fink
d68e23b9ae Bug 885770 - script filename can be NULL in shell load, r=njn
--HG--
extra : rebase_source : 25392549ef586f651e03f5ce86c0ebac376f8c1e
2013-06-21 16:49:41 -07:00
Jason Orendorff
9b9d179940 Fix another busted test for bug 885067 on a CLOSED TREE. no_r=orange, egg=face. 2013-06-21 12:20:32 -05:00
Jason Orendorff
ceba430ac2 Fix very stupid test for bug 885067 that I pushed in rev 60d580712ec0. Clerical error on my part. no_r=orange. 2013-06-21 11:43:09 -05:00
Jason Orendorff
e64c4e8fd7 Bug 883434 - Give TokenPos a real constructor. r=ejpbruel.
--HG--
extra : rebase_source : 4820e91d38810d03dff3c0bddaea104f53e7c12c
2013-06-21 08:18:01 -05:00
Jason Orendorff
c94220111d Bug 883333, part 15 - Add StatementList operations to the ParseHandler protocol. r=Waldo.
--HG--
extra : rebase_source : d5e801fcd5c2f53bcc670534c53502c4219d176d
2013-06-21 08:18:01 -05:00
Jason Orendorff
5df8885b33 Bug 883333, part 14 - Move try statement parse node creation into the ParseHandler protocol. r=Waldo.
--HG--
extra : rebase_source : 073de5e62343593de0acd619900a62b20a870d67
2013-06-21 08:18:00 -05:00
Jason Orendorff
d033d7075a Bug 883333, part 13 - Squeeze out some whitespace. r=Waldo.
--HG--
extra : rebase_source : db2125c3c3b8b390b4b6f6fb7b768145a14aa118
2013-06-21 08:18:00 -05:00
Jason Orendorff
27931d088d Bug 883333, part 12 - Factor block parsing out of Parser::statement. r=Waldo.
--HG--
extra : rebase_source : 1af9d3df561cb5d9bc2c16c77451d070f48bccf4
2013-06-21 08:18:00 -05:00
Jason Orendorff
0a53f84be3 Bug 883333, part 11 - Refactor debugger statement parsing. r=Waldo.
--HG--
extra : rebase_source : f39ad2d7cadc43d2706556933fdc5311bd262bb2
2013-06-21 08:18:00 -05:00
Jason Orendorff
75aaa9d753 Bug 883333, part 10 - Refactor throw statement parsing. r=Waldo.
--HG--
extra : rebase_source : 0ace9a0daabe0df4151dcf2a0ade7890aee6a4c1
2013-06-21 08:18:00 -05:00
Jason Orendorff
abac2332b1 Bug 883333, part 9 - Refactor with statement parsing. r=Waldo.
--HG--
extra : rebase_source : 1c4235922067f39dc8bce42099a1f330e7b444ab
2013-06-21 08:17:59 -05:00
Jason Orendorff
c503a17b82 Bug 883333, part 8 - Refactor return statement parsing. r=Waldo.
--HG--
extra : rebase_source : 16d37a715e01e732126d303c3ef2cfb84f7c1ad3
2013-06-21 08:17:59 -05:00
Jason Orendorff
816c2594e3 Bug 883333, part 7 - Refactor break and continue statement parsing. r=Waldo.
--HG--
extra : rebase_source : ec0914d23d10e5818fe1700e495c6c7e100ec72a
2013-06-21 08:17:59 -05:00
Jason Orendorff
8918d2d7a1 Bug 883333, part 6 - Further forStatement cleanup. r=Waldo.
--HG--
extra : rebase_source : 214f8fd2cb253e66462d5fd66dd86353acfdc94f
2013-06-21 08:17:59 -05:00
Jason Orendorff
15e7bad28b Bug 883333, part 5 - Refactor for-loop and switch statement parsing. r=Waldo.
--HG--
extra : rebase_source : dac8df05c474a7894ca90e7839feb92a030508da
2013-06-21 08:17:58 -05:00
Jason Orendorff
52468cf956 Bug 883333, part 4 - Refactor while and do-while statement parsing. r=Waldo.
--HG--
extra : rebase_source : 26dd5b2425fdc9216c47d679877490f8d1432bd4
2013-06-21 08:17:58 -05:00
Jason Orendorff
f41a87c178 Bug 883333, part 3 - Refactor if statement parsing. r=Waldo.
--HG--
extra : rebase_source : 05270363351db33936c9d25675ce4903f3a0b5bd
2013-06-21 08:17:58 -05:00
Jason Orendorff
c5dfd2db32 Bug 883333, part 2 - Rearrange statement parsers to the order they appear in the ES6 draft. r=Waldo.
--HG--
extra : rebase_source : cb0f15ae7d085a95879e26a52102ac1d1ed16c60
2013-06-21 08:17:58 -05:00
Jason Orendorff
7926f59d90 Bug 883333, part 1 - Add ParseHandler protocol methods for EmptyStatement, ExpressionStatement, ReturnStatement, and ThrowStatement. r=Waldo.
The changes to ExpressionStatement cause the position information on expression statements to include the semicolon, if any, which made a slight change to FullParseHandler::isStringExprStatement necessary.

Change Parser::letBlock(LetStatement) to parse a full statement, even if it turns out to be an ExpressionStatement where the expression is a LetExpression, rather than a 'let (V) STMT' block statement.

Remove remaining traces of TOK_LEXICALSCOPE -- there was never any such token.

--HG--
extra : rebase_source : 16c0f6aaafd4b9c51bf7221da79fe74affe5b464
2013-06-21 08:17:57 -05:00
Jason Orendorff
0f41f76fdb Bug 852762 - Arrow functions are not automatically strict. Also fixes bug 885067. r=ejpbruel.
--HG--
extra : rebase_source : efecf75eaa57839d9096b9da307784e7b2e16e31
2013-06-21 08:17:49 -05:00