Commit Graph

36944 Commits

Author SHA1 Message Date
Ryan VanderMeulen
fdd6d78d74 Backed out changeset d94b6a6469b4 (bug 1092947) for jsreftest crashes. 2014-11-14 19:05:14 -05:00
Nick Fitzgerald
fc491cb593 Bug 911065 - Fix source notes for for/of loops. r=jorendorff 2014-11-13 13:58:00 -05:00
Hannes Verschore
f7059d29c9 Bug 1092947: IonMonkey: Improve ion entry sequence, r=djvj 2014-11-15 00:04:26 +01:00
Dan Gohman
91393c6e5d Bug 1093356 - IonMonkey: Insert beta nodes for strict eq and ne operators too r=nbp,h4writer 2014-11-14 09:31:45 -08:00
Kannan Vijayan
20cbe6f413 Bug 1081374 - Ensure baseline scripts are released on all compile error paths. r=jandem 2014-11-14 12:21:41 -05:00
Lars T Hansen
8ea69bae41 Bug 1099202 - compile fixes for 'none' platform. r=bbouvier 2014-11-14 17:51:11 +01:00
Tom Schuster
5775dbcbf7 Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust 2014-11-14 16:21:12 +01:00
Jon Coppeard
5d51516d86 Bug 650161 - Fix leak of moved expando objects r=terrence 2014-11-14 09:22:26 +00:00
Chris Peterson
7134626c6a Bug 1095990 - Part 2: Treat -Wnon-literal-null-conversion warnings as errors to match C++14's fix for C++11 core defect 903. r=glandium 2014-11-08 11:33:18 -08:00
Steve Fink
9c3b7ca95a Bug 1053999 - Switch chrome stack check to use StackForSystemCode, r=bholley
--HG--
extra : rebase_source : 89fe8ac209cec4e626c6c92fa6cee35c8addc395
2014-11-13 12:23:17 -08:00
Steve Fink
ba8413b907 Bug 1053999 - Conservative stack check should assume untrusted code, r=bholley
--HG--
extra : rebase_source : f363a8bc1c2f78e9ab47538cdcf8669275a73cb0
2014-11-13 12:23:11 -08:00
Nicholas Nethercote
56034c2859 Bug 1098618 - Use a smaller initial IdSet size in jsiter.cpp:Snapshot(). r=sfink.
--HG--
extra : rebase_source : b506099d2a57f0c0199e2bd2713309630ebe03d3
2014-11-13 18:06:24 -08:00
Ryan VanderMeulen
0104f51290 Backed out changesets 06c511b6093e, dbec0bed9bf5, bfedb105396e (bug 1088831) for causing various assertions on a CLOSED TREE. 2014-11-13 21:11:24 -05:00
Terrence Cole
b104493a0d Backed out changeset ed264e327a93 (Bug 1074961) for build bustage on Windows on a CLOSED TREE.
--HG--
extra : rebase_source : 1c5a06b21831fc62090244b0355988578bf6017c
2014-11-13 16:21:56 -08:00
Steve Fink
df33ea76fe Bug 1088831 - Track mutator vs GC time in specified intervals, r=jonco
--HG--
extra : rebase_source : 9a33a646c120df0fb22399c6ea83c0a041bad9f0
2014-11-13 12:23:26 -08:00
Steve Fink
456449f25a Bug 1088831 - Account for the storebuffer compaction time, r=jonco
--HG--
extra : rebase_source : f193ff3774353572c48814f8fd2669d91feb4745
2014-11-13 12:23:26 -08:00
Steve Fink
5b2a78928a Bug 1088831 - Count storebuffer compactions, r=jonco
--HG--
extra : rebase_source : c60ccc7f85d8dc2c1cccdfc8b133df3a81f0dc95
2014-11-13 12:23:26 -08:00
Tooru Fujisawa
333a5bac72 Bug 1092537 - Handle optional iterable argument in WeakMap constructor. r=evilpie 2014-11-04 00:23:38 +09:00
Terrence Cole
136a17ef64 Bug 1074961 - Part 13: Do not iterate the chunk list concurrent with mutation; r=sfink 2014-11-06 14:03:10 -08:00
Shu-yu Guo
7bbb3c8810 Bug 1032869 - Part 5: Add JSOP_DEBUGAFTERYIELD to fix up resumed generator BaselineFrames. (r=jandem) 2014-11-13 14:39:41 -08:00
Shu-yu Guo
8c9139fd69 Bug 1032869 - Part 4: Add an auto-updated DebugModeOSRVolatileJitFrameIterator. (r=jandem) 2014-11-13 14:39:41 -08:00
Shu-yu Guo
f1b25ae39e Bug 1032869 - Part 3: Don't consider onExceptionUnwind an all-execution-observing hook. (r=jandem) 2014-11-13 14:39:40 -08:00
Shu-yu Guo
9c200ba6df Bug 1063330 - Remove the JS shell's evalInFrame. (r=jimb) 2014-11-13 14:39:40 -08:00
Shu-yu Guo
e3301f17ef Bug 1063328 - Fix on-stack live iterator handling when bailing out in-place due to debug mode OSR. (r=jandem) 2014-11-13 14:39:40 -08:00
Shu-yu Guo
e77f6bd3a2 Bug 1062629 - Off-thread compartment debug mode should match main thread compartment debug mode. (r=jimb)
--HG--
rename : js/src/jit-test/tests/debug/onNewScript-off-main-thread.js => js/src/jit-test/tests/debug/onNewScript-off-main-thread-01.js
2014-11-13 14:39:40 -08:00
Shu-yu Guo
76c1b25fd4 Bug 1032869 - Part 2: Move debuggee-ness to frames and selectively deoptimize when Debugger needs to observe execution. (r=jimb) 2014-11-13 14:39:39 -08:00
Shu-yu Guo
7ce4ce691a Bug 1032869 - Part 1: Rename isDebuggerFrame to isDebuggerEvalFrame. (r=jimb) 2014-11-13 14:39:39 -08:00
Shu-yu Guo
034296aa40 Bug 1097871 - Fix gc test that doesn't account for the JS_GC_ZEAL env var. (r=terrence) 2014-11-13 14:39:39 -08:00
Jan de Mooij
b9f33cfdb6 Bug 1093573 part 15 - Add and optimize IsSuspendedStarGenerator. r=wingo 2014-11-13 21:10:05 +01:00
Jan de Mooij
7164fd838c Bug 1093573 part 14 - Remove newborn generator state. r=wingo
--HG--
extra : rebase_source : 63c0f3d2708867c891ed5c70aa9566d282eeabcf
2014-11-13 17:39:53 +01:00
Jan de Mooij
8a10b04489 Bug 1093573 part 13 - Handle closing legacy generators correctly. r=wingo,shu
--HG--
extra : rebase_source : d561bc9b8893e8cdff0941530a00824e47d097fc
2014-11-13 17:39:51 +01:00
Jan de Mooij
1231e238d6 Bug 1093573 part 12 - Inline INITIALYIELD and YIELD in Baseline. r=wingo
--HG--
extra : rebase_source : 9efa54ab41b250ad659443bd5409c179af478c68
2014-11-13 17:39:49 +01:00
Brian Hackett
aa15719b2d Bug 1096023 - Fix code generation for ClassHook caches when the SPS profiler is active, r=jandem. 2014-11-13 09:30:28 -07:00
Brian Hackett
edfc370287 Bug 1097585 - Don't generate ClassHook caches for calling or constructing proxies, r=jandem. 2014-11-13 09:27:17 -07:00
Jan de Mooij
f12bdba2f9 Bug 1097890 - Inline JSOP_NEWOBJECT in Baseline. r=bhackett 2014-11-13 16:41:53 +01:00
Luke Wagner
acfb0853f0 Bug 1091912 - stop using mprotect to halt Ion/asm.js execution (r=bhackett)
--HG--
extra : rebase_source : 3642ce948e577bca54008d3c55206184b107d023
2014-11-11 08:36:52 -06:00
Jon Coppeard
837fc83845 (no bug) Update count of GC reasons in comment DONTBUILD 2014-11-13 13:43:17 +00:00
Mike Hommey
0e8009ebb1 Bug 1096651 - Avoid using random bits when determining SSE3/SSE4 availability for the JIT. r=luke 2014-11-13 09:23:40 +09:00
Jim Blandy
ecf69cd339 Bug 1083913: Restrict source lines included in error messages to the source text actually available. r=shu 2014-11-12 14:51:42 -08:00
Jim Blandy
a9b1890685 Bug 1083913: Column spans are restricted to 31-bit, not 24-bit, signed values. r=shu
This also cleans up the column span / offset conversions, and fixes some comments.
2014-11-12 14:51:41 -08:00
Jim Blandy
67df61c792 Bug 1083913: Add a 'columnNumber' parameter to the JS shell's 'evaluate' and 'offThreadCompileScript' functions. r=shu 2014-11-12 14:51:41 -08:00
Jim Blandy
68c2462b0b Bug 1083913: Add a no-op js::frontend::Parser::checkOptions() method, and ensure that it's called everywhere. r=shu 2014-11-12 14:51:41 -08:00
Jim Blandy
0ea6c19282 Bug 1083913: Make TokenStream::linebase an offset, not a pointer into nothingness. r=shu 2014-11-12 14:51:40 -08:00
Jim Blandy
1afffe5981 Bug 1083913: Make js::TokenStream::TokenBuf store the starting offset of its buffer explicitly, not implicitly as a bias on base_. r=shu 2014-11-12 14:51:40 -08:00
Jim Blandy
48c3302e79 Bug 1083913: Replace TokenBuf::base and TokenStream::rawBase with better abstractions. r=shu 2014-11-12 14:51:40 -08:00
Kannan Vijayan
f63704b861 Bug 1080462 - Fix up leak of native2bytecode mapping information. r=h4writer 2014-11-12 17:38:22 -05:00
Boris Zbarsky
521010397f Bug 1095660 part 4. Add overloads of JS_ExecuteScript and JS::Evaluate that take an explicit scope chain argument. r=waldo 2014-11-12 17:04:29 -05:00
Boris Zbarsky
1ff585e373 Bug 1095660 part 3. Give With objects defineProperty/Element/Generic class hooks. r=luke 2014-11-12 17:04:28 -05:00
Boris Zbarsky
1958ae53e5 Bug 1095660 part 2. Change API-provided scope chains to flag their DynamicWithObjects as being special and adjust some asserts to allow those With objects as the scope chain for toplevel scripts. r=luke 2014-11-12 17:04:28 -05:00
Boris Zbarsky
9545bb2f5d Bug 1095660 part 1. Remove the pointless JS_ExecuteScriptVersion API. r=waldo,bholley 2014-11-12 17:04:28 -05:00
Kannan Vijayan
d1a0a52f3e Bug 1081850 - Check for resolve hooks when optimizing no-such-prop operations in baseline. r=jandem 2014-11-12 16:22:44 -05:00
Luke Wagner
961277974f Bug 1095740 - OdinMonkey: refine rules for 'const' (r=bbouvier) 2014-11-12 14:45:31 -06:00
Dan Gohman
f635cbd2c0 Bug 1096684 - IonMonkey: Optimize with SSE3 movsldup and movshdup r=bbouvier 2014-11-12 12:38:32 -08:00
Dan Gohman
7b34f3cf97 Bug 1096684 - IonMonkey: Optimize with SSE4.1 pextrd r=bbouvier 2014-11-12 12:38:32 -08:00
Dan Gohman
7f0e9b073c Bug 1096684 - IonMonkey: Optimize with SSE4.1 insertps and blendps r=bbouvier 2014-11-12 12:38:32 -08:00
Dan Gohman
79312354ba Bug 1096684 - IonMonkey: extraName() for SIMD insert and extract element r=bbouvier 2014-11-12 12:38:31 -08:00
Dan Gohman
e7494a84d0 Bug 892702 - IonMonkey: Add unit tests for range analysis r=nbp 2014-11-12 12:38:31 -08:00
Ryan VanderMeulen
1011becefe Backed out changeset 0dae8ac74ab4 (bug 1080462) for crashes during packaging. 2014-11-12 15:14:56 -05:00
Kannan Vijayan
76406b50a1 Bug 1080462 - Fix up leak of native2bytecode mapping information. r=h4writer 2014-11-12 14:42:42 -05:00
Terrence Cole
4cb7822344 Bug 1093307 - Part 2: Make OOM flushing paths more straightforward; r=jonco 2014-11-06 14:03:05 -08:00
Jan de Mooij
e19b28830a Bug 1093573 part 11 - Remove bytecode offset slot from generators. r=wingo 2014-11-12 12:12:41 +01:00
Jan de Mooij
7ff195ac9c Bug 1093573 part 10 - Baseline-compile JSOP_RESUME. r=shu,wingo 2014-11-12 12:12:39 +01:00
Jan de Mooij
41c76776d2 Bug 1093573 part 9 - Add InterpretGeneratorResume. r=wingo 2014-11-12 12:12:36 +01:00
Alexander J. Vincent
1255b6cbe8 Bug 1092477 - Let the subscript Loader report any URL it fails on, when it can. r=bholley 2014-11-08 17:08:09 -08:00
Jason Orendorff
d71c5ad126 Bug 1094062 - Delete js/public/PropertyKey.h. r=jandem.
--HG--
extra : rebase_source : 4ff841a634f08f611529d18878074d6dc73d0fd3
2014-11-05 00:56:36 -06:00
Jason Orendorff
b83952dfbc Bug 1066322 - Enable ES6 symbols in all builds. r=jandem.
--HG--
extra : rebase_source : 49654e9105657b17862e3fed97ec4878d9373447
2014-11-05 01:38:49 -06:00
Jason Orendorff
65758781ae Bug 1095973, epilogue - Tweaks to PurgeProtoChain/PurgeScopeChain and a jit-test for the invariant enforced by PurgeProtoChain. r=efaust.
--HG--
extra : rebase_source : 6f0e1a4d7573fdcdc45962a63d30bf6ee480d3be
2014-11-10 11:19:53 -06:00
Jason Orendorff
1832d8c279 Bug 1095973 - Fix crash @PurgeProtoChain introduced by 1090537. r=efaust.
--HG--
extra : rebase_source : a2e90c7ffd69dddee190a4de927fe68cb52482dd
2014-11-10 16:53:04 -06:00
Luke Wagner
4f56ee7daf Bug 1087178 - OdinMonkey: explain why 'not stored in cache' (r=bbouvier,janv)
--HG--
extra : rebase_source : d37893913a09d5a5b339e4ae4ee42f873d449d1e
2014-10-22 17:28:07 -05:00
Luke Wagner
f3c6de2193 Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett)
--HG--
extra : rebase_source : 44ac5dbc77174414f4596aa7c318fdaa23b8e292
2014-10-30 17:35:35 -05:00
Ryan VanderMeulen
a8b4417549 Merge fx-team to m-c. a=merge 2014-11-11 16:43:46 -05:00
Ryan VanderMeulen
bd7b8501c3 Backed out changeset 583284c299fb (bug 1091916) for causing intermittent "too much recursion" jit-test failures on Win32 and OSX 10.6.
CLOSED TREE
2014-11-11 14:53:11 -05:00
Ryan VanderMeulen
95d5c8b95a Backed out changeset 51572056e797 (bug 1091912) for frequent Android 4.0 crashes.
CLOSED TREE
2014-11-11 14:16:40 -05:00
Boris Zbarsky
455764ceb3 Bug 1095870. Don't generate baseline set IC stubs for primitive 'this' values, since all the stubs only work on objects. r=jandem 2014-11-11 12:50:43 -05:00
Paolo Amadini
f119700716 Bug 1095443 - Ensure processNextEvent never blocks after processing a Promise microtask. r=bz 2014-11-11 13:47:28 +00:00
Jan de Mooij
aceb051a8d Bug 1093573 part 8 - Add JitFrame_Unwound_BaselineJS. r=nbp 2014-11-11 17:50:44 +01:00
Jan de Mooij
4c046656c2 Bug 1093573 part 7 - Allow OSR for generator scripts. r=wingo 2014-11-11 17:50:42 +01:00
Luke Wagner
52334af117 Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett) 2014-10-30 17:35:35 -05:00
Steve Fink
ad212a2094 Bug 1074961 - Part 12: Simplify the locking in releaseArena; r=sfink
--HG--
extra : amend_source : 45ad5e52ee44ca41216ee15f9c6142c37a5cd106
2014-11-10 14:55:29 -08:00
Wes Kocher
f3e280bba4 Backed out changeset 6a96e15c810c (bug 1093307) for ggc bustage on a CLOSED TREE 2014-11-10 14:40:59 -08:00
Wes Kocher
8f5483146c Backed out changeset fdcf11277625 (bug 1074961) for ggc bustage on a CLOSED TREE 2014-11-10 14:37:25 -08:00
Terrence Cole
1340af8090 Bug 1074961 - Part 12: Simplify the locking in releaseArena; r=sfink
--HG--
extra : rebase_source : 3b1f8e728a31948a1bcb04aa3a46a5ea2b216aa4
2014-11-06 14:03:09 -08:00
Terrence Cole
6f5d4a82de Bug 1093307 - Part 2: Make OOM flushing paths more straightforward; r=jonco
--HG--
extra : rebase_source : 4634215f64ea96c2057f4ff609119b2a6cad008f
2014-11-06 14:03:05 -08:00
Nathan Froyd
d27be95ebc Bug 1095633 - part 2 - remove HAVE_CPP_TROUBLE_COMPARING_TO_ZERO bits from the build system; r=mshal 2014-11-07 14:08:13 -05:00
Nicolas B. Pierron
6a9d0a08b3 Bug 1095284 - Fix test case, check that ParallelJS is enabled. r=shu 2014-11-10 14:04:00 +01:00
Emanuel Hoogeveen
7f9f5f7dab Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm 2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
95949b525e Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=billm 2014-11-04 08:17:00 +01:00
Emanuel Hoogeveen
de36acb97c Bug 1084651 - Part 4a: Adjust some tests to preserve previous behavior. r=billm 2014-10-21 11:50:00 +02:00
Emanuel Hoogeveen
4dfc42b7c5 Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=billm 2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
6941fb3fd3 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=billm r=mccr8 2014-10-22 14:13:00 +02:00
Emanuel Hoogeveen
9231874cdc Bug 1084651 - Part 1: Thread SliceBudget through several functions to choose the budget type at the source. r=billm 2014-11-07 13:05:00 +01:00
Steve Singer
61bc51b889 Bug 1096052 - Add unboxNonDouble to the None MacroAssembler. r=bhackett 2014-11-09 18:08:00 +01:00
Nick Fitzgerald
d44fae4043 Bug 1083456 - Part 1: Add JS_TraceIncomingCCWs. r=terrence 2014-11-07 11:56:00 +01:00
Luke Wagner
96d39317f9 Bug 1091912 - stop using mprotect to halt Ion/asm.js execution (r=bhackett)
--HG--
extra : rebase_source : 2b5b2958d5a1782680800132ab01bf407640a92b
2014-11-11 08:36:52 -06:00
Jan de Mooij
ef1484fbf9 Bug 1093573 part 6 - Baseline-compile yield instructions. r=wingo 2014-11-11 15:12:28 +01:00
Jan de Mooij
0bcbf8447a Bug 1093573 part 5 - Baseline-compile JSOP_GENERATOR. r=wingo 2014-11-11 15:12:26 +01:00
Jan de Mooij
55c3153de9 Bug 1093573 part 4 - Add yield index to YIELD ops. r=wingo 2014-11-11 15:12:24 +01:00
Jan de Mooij
8dde2de579 Bug 1094255 - Optimize GetElements on NodeLists to make fun.apply(x, nodeList) faster. r=bz,evilpie 2014-11-11 11:56:44 +01:00
Jason Orendorff
e1fae76663 Bug 1090537, part 12 - Change SetNonexistentProperty to use only receiver, not obj. No change in behavior. r=efaust.
(The behavior doesn't change because Unqualified is only passed from two call sites, and in both places, the same object is passed for both receiver and obj.)

--HG--
extra : rebase_source : 9e71c3aca2d35829c9be8386e4855ad050e12a13
extra : amend_source : 3f95d45b5d630f4a2d45869c84520b28dc936792
2014-10-25 11:24:55 -05:00
Jason Orendorff
fbc4057168 Bug 1090537, part 11 - Delete a special case for arrays in SetNonexistentProperty that is (a) unreachable; (b) redundant with a check in DefinePropertyOrElement. r=efaust.
The code being deleted would be ineffective even if we did have Reflect.set, but Reflect.set does enable a very near miss (where receiver, not obj, is an array), so we leave a sleeper test for that case.

--HG--
extra : rebase_source : ea38558aaa9e52ebb999cf1eea53abfde5608161
2014-10-28 12:49:17 -05:00
Jason Orendorff
f678c3bb6c Bug 1090537, part 10 - Factor out SetNonexistentProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : f9bbad80dcb455bfccb5ad9cead6dcb7b53d71d3
2014-11-07 13:02:49 -06:00
Jason Orendorff
eee003c854 Bug 1090537, part 9 - Just move SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 8accf39f3c7e3d9d4121244213173aa5581f57d3
2014-11-07 13:00:50 -06:00
Jason Orendorff
71f2ace8eb Bug 1090537, part 8 - In SetPropertyHelper, if defining a new data property, define it on receiver, not obj. r=efaust.
Most of the diff is just renaming an argument. The only new code is necessary because unlike obj, receiver can be non-native.

--HG--
extra : rebase_source : 115769a212724dddec315663a7a7e71a9abaa992
2014-10-18 16:49:50 -05:00
Jason Orendorff
5ab816f69d Bug 1090537, part 7 - Eliminate useless attrs argument to SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 4eb90cb86d576f9014265b9b00808a099f589915
2014-10-18 16:43:25 -05:00
Jason Orendorff
76d852286b Bug 1090537, part 6 - Factor out a big chunk of SetPropertyHelper into a separate function template, SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 5bd292385b3d2a04f28311305a1cb99b27494193
2014-10-18 16:30:32 -05:00
Jason Orendorff
c42c34a04e Bug 1090537, part 5 - Remove legacy special case in baseops::SetPropertyHelper that cloned the getter and setter of JSPROP_SHADOWABLE properties when shadowed on another native object. r=Waldo.
--HG--
extra : rebase_source : c1478c335a9f5a1484b87ce9c566f1f8c4d9f20d
2014-10-15 14:05:29 -05:00
Jason Orendorff
554e5e3e19 Bug 1090537, part 4 - Take NativeSet private. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 1c802d28c3f828412624cdcc689fa4a76ee3e59c
2014-10-15 12:08:37 -05:00
Jason Orendorff
b7988df161 Bug 1090537, part 3 - Pass receiver argument through from JSObject::setGeneric and setElement to Proxy::set. r=efaust.
ES6 specifies [[Set]] as an operation taking both a "this" object and a "receiver" parameter. Both JSObject::setGeneric and Proxy::set support the receiver parameter, but ObjectOps::setGeneric does not; in this patch, we add a little workaround for that. The test shows how this is observable using only standard builtins.

The changes in JSObject::setElement are untestable since currently all call sites pass the same value for obj as for receiver.

(This was reviewed as "part 2" but it was necessary to switch parts 2 and 3 and add part 2b.)

--HG--
extra : rebase_source : 617decfa9be34b01a0f923a9717ad2544d913af9
2014-10-15 22:54:57 -05:00
Jason Orendorff
66460e97d2 Bug 1090537, part 2b - In Proxy::set, do not assume that proxy == receiver or that both have the same handler. r=efaust, r=bholley.
--HG--
extra : rebase_source : 0aa0e3e37a2a95f3cfa0399e4380de73a95ab48a
2014-10-28 20:58:36 -05:00
Jason Orendorff
940ab6cec8 Bug 1090537, part 2a - In BaseProxyHandler::set(), do not assume that proxy == receiver or that both have the same handler. r=efaust.
(This was reviewed as "part 3" but it was necessary to switch parts 2 and 3 and add part 2b.)

--HG--
extra : rebase_source : 7ae9ba80620475ff3e001e7b1e041c98194152a6
extra : source : dd32aa64b825cff02ce72df7533cbcc57f782f8f
2014-10-16 08:06:13 -05:00
Jason Orendorff
3e771fa684 Bug 1090537, part 1 - Remove an old hack where Proxy::hasOwn permitted SET access. r=bholley.
The comments being deleted here are incorrect; Proxy::set no longer calls handler->hasOwn().

--HG--
extra : rebase_source : 328433d668e99e99373d77bb1956291fb788fac9
2014-10-17 07:33:57 -05:00
Luke Wagner
780a49b605 Bug 1094570 - OdinMonkey: tidy up TryEnablingIon (r=hannes) 2014-11-05 17:30:30 -06:00
Tom Schuster
107172fa13 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Tom Schuster
93dc15aa0c Bug 993026 - Change resolve hook in browser/XPC. r=bholley 2014-11-08 01:07:12 +01:00
Tom Schuster
e34d3251d3 Bug 993026 - Simplify JS resolve hook. r=jorendorff 2014-11-08 01:07:12 +01:00
Tom Schuster
9d229e017e Bug 993026 - Change XPIDLScriptable NewResolve to simpler Resolve. r=bholley 2014-11-08 01:07:12 +01:00
Tom Schuster
6e143a6b0c Bug 1091900 - Move ForOfIterator to its own file. r=jandem
--HG--
rename : js/src/jsiter.cpp => js/src/vm/ForOfIterator.cpp
2014-11-08 01:07:12 +01:00
Tom Schuster
2a73ddb7b1 Bug 1091900 - Remove iteratorObject hook. r=jorendorff
* * *
Bug 1091900 - Fix build on CLOSED TREE
2014-11-05 20:36:49 +01:00
Tom Schuster
1df697b523 Bug 1094189 - Remove shell resolver function. r=jorendorff 2014-11-05 20:36:48 +01:00
ziyunfei
c6824ff05e Bug 1079120 - Make ToNumber(string) support binary and octal literals. r=till 2014-10-07 02:25:00 -04:00
Boris Zbarsky
391d322f40 Bug 1095308. Remove some compileAndGo checks from frontend::CompileScript. r=luke 2014-11-07 14:10:39 -05:00
Ryan VanderMeulen
46a45c9ea7 Merge m-c to mozilla-inbound. a=merge 2014-11-07 13:44:04 -05:00
Jim Blandy
dc603a0a97 Bug 1060093: Report cloned scripts to Debugger. r=billm 2014-11-07 10:29:21 -08:00
Ryan VanderMeulen
beecc739b3 Merge inbound to m-c. a=merge 2014-11-07 13:24:00 -05:00
Carsten "Tomcat" Book
8a65bd2299 Backed out changeset 9fa06a2e1a98 (bug 1092156) for breaking nightly builds 2014-11-07 16:35:14 +01:00
Carsten "Tomcat" Book
659b5581e6 Backed out changeset f786dcb23eca (bug 1092156) 2014-11-07 16:34:22 +01:00
Carsten "Tomcat" Book
678d99da88 Merge mozilla-central to mozilla-inbound 2014-11-07 15:34:32 +01:00
Carsten "Tomcat" Book
96db62a207 Backed out changeset 206012ab9d08 (bug 1084651) for too much hazard failures 2014-11-07 15:31:23 +01:00
Carsten "Tomcat" Book
d36f80d22b Backed out changeset ebdebc9251be (bug 1084651) 2014-11-07 15:30:49 +01:00
Carsten "Tomcat" Book
01f9ccc33e Backed out changeset b34ff39fc966 (bug 1084651) 2014-11-07 15:30:47 +01:00
Carsten "Tomcat" Book
67396b4a70 Backed out changeset 94197c33cf82 (bug 1084651) 2014-11-07 15:30:45 +01:00
Carsten "Tomcat" Book
fbde18b5db Backed out changeset d1acde27d97e (bug 1084651) 2014-11-07 15:30:39 +01:00
Aleksandar Zlicic
86ef17d881 Bug 1095524 - IonMonkey MIPS: Implement unboxNonDouble methods and ma_sw(Register data, BaseIndex &address). r=rankov 2014-11-07 16:44:38 +01:00
Branislav Rankov
022b2f196b Bug 1094857 - IonMonkey MIPS: Fix HeapReg restore in GenerateAsyncInterruptExit. r=luke 2014-11-06 16:48:53 +01:00
Brian Hackett
76c264c39b Bug 1094827 - Add missing argument to AutoCompartment. 2014-11-07 09:04:47 -07:00
Brian Hackett
9b5b622116 Bug 1094827 - Enter the right compartment before analyzing a script's arguments usage in the debugger, r=jorendorff. 2014-11-07 08:40:36 -07:00
Brian Hackett
26c09c2238 Bug 1092318 - Remove unsized array typed objects, r=nmatsakis. 2014-11-07 08:37:21 -07:00
Emanuel Hoogeveen
9752c431ab Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=wmccloskey 2014-11-04 08:17:00 +01:00
Emanuel Hoogeveen
1238f8fb1c Bug 1084651 - Part 4: Adjust some tests to preserve previous behavior. r=wmccloskey 2014-10-21 11:50:00 +02:00
Emanuel Hoogeveen
e33aeac022 Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=wmccloskey 2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
7fa233b1b9 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8 2014-10-22 14:13:00 +02:00
Emanuel Hoogeveen
c065e6ad18 Bug 1084651 - Part 1: Thread SliceBudget through several functions to choose the budget type at the source. r=billm 2014-11-06 10:11:00 +01:00
Lars T Hansen
7aa3146845 Bug 1095282 - eagerly define Atomics only when the class will be provided. r=jandem 2014-11-07 12:07:06 +01:00
Tooru Fujisawa
2f23e597fb Bug 1092522 - Update XDR_BYTECODE_VERSION pattern and support bug 1066322 documentation in make_opcode_doc.py. r=Waldo 2014-11-06 19:10:00 +01:00
Boris Zbarsky
cec37cb8ce Bug 1089050 part 4. Strengthen the asserts in UpdateExistingSetPropCallStubs now that the stronger asserts should hold. r=jandem 2014-11-06 23:41:45 -05:00
Boris Zbarsky
ecb9fb8707 Bug 1089050 part 3. Remove now-unnecesary old* arguments to TryAttachSetAccessorPropStub and its callees. r=jandem 2014-11-06 23:41:42 -05:00
Boris Zbarsky
3773e1600a Bug 1089050 part 2. Move TryAttachSetPropStub to before we actually perform the set. r=jandem
This way we don't end up guarding on the post-set shape, which may differ from the pre-set shape and thus always fail the guard.
2014-11-06 23:41:39 -05:00
Boris Zbarsky
b7dda4b3d1 Bug 1089050 part 1. Split apart the attachment of property set IC stubs into separate functions for value properties and accessor properties in Baseline r=jandem
The property addition stub needs to know both the before and after state to
detect the property add, and as far as I can tell the slot write stub wants to
know the TI info for after the set, but the accessor stubs just need to know
the before state.  For now we're just splitting up the two codepaths with no
other behavior changes.
2014-11-06 23:41:35 -05:00
Wes Kocher
c1aacfb986 Merge m-c to inbound a=merge 2014-11-06 19:08:13 -08:00
Wes Kocher
7ec75772bd Merge fx-team to m-c a=merge 2014-11-06 18:26:36 -08:00
Boris Zbarsky
0381435644 Bug 1094544. Use [Exposed=System] some more instead of hardcoding binding bits in xpc::InitGlobalObject. r=bholley 2014-11-06 10:54:38 -05:00
Benjamin Bouvier
f3e0074aff Bug 1094261: SIMD: Simplify testSIMD.js; r=luke 2014-11-06 11:59:22 +01:00
Benjamin Bouvier
afb857ac06 Bug 1094261: SIMD: Have lane accessors return Signed and signMask return Signed in asm.js; r=luke 2014-11-06 11:59:17 +01:00
David (v45h) Moreira
0cf858f438 Bug 1050160 - DeadIfUnused should not check for resume points. r=nbp 2014-11-06 11:34:27 +01:00
Eric Faust
d41b2e1f0b Bug 1094616 - |const| destructuring assignments should shadow |arguments|. (r=shu, a=kwierso) 2014-11-06 16:19:13 -08:00
Jan de Mooij
c024a709a0 Bug 1093573 part 3 - Use AbstractFramePtr in GeneratorObject methods. r=wingo
--HG--
extra : rebase_source : a2a1b2276a3ba52414fd7f72d767cbf07565e686
2014-11-06 10:12:57 +01:00
Jan de Mooij
a6c3a80b01 Bug 1093573 part 2 - Remove GENERATOR frame flag. r=wingo
--HG--
extra : rebase_source : 51bc843a9bf27c3e3a6718867d6e7953970b9787
2014-11-06 10:12:57 +01:00
Jan de Mooij
2e7da6e40b Bug 1093573 part 1 - Some generator bytecode changes. r=wingo
--HG--
extra : rebase_source : d5d35bc7f367f3a3427bf22a8bdd83b1ea76be16
2014-11-06 10:12:56 +01:00
Victor Carlquist
7d31a9ccb5 Bug 1086530 - Huge regression with using split after landing of bug 1054330. r=kvijayan 2014-10-31 10:15:51 -02:00
Carsten "Tomcat" Book
531932eb59 Backed out changeset f7f7a0315041 (bug 1094189) for possible breaking ggc tests on a CLOSED TREE 2014-11-06 09:13:58 +01:00
Carsten "Tomcat" Book
fac6a9db7c Backed out changeset dc265cc31095 (bug 1091900) 2014-11-06 09:11:18 +01:00
Chris Peterson
47ea965ab4 Bug 1090016 - Part 2: Replace SpiderMonkey's --enable-sm-fail-on-warnings flag with explicit moz.build FAIL_ON_WARNINGS. r=ted
--HG--
extra : rebase_source : c24f7795fc39e0c1954f21f862ce0cd8f5f2729d
2014-11-03 18:46:10 -08:00
Wes Kocher
9bef29be7b Backed out changeset f28d2350eb43 (bug 1092318) for jsreftest permafails 2014-11-05 20:43:33 -08:00
Bill McCloskey
3f3dd80fb9 Bug 1091964 - Avoid spurious rooting hazard on a CLOSED TREE 2014-11-05 17:52:38 -08:00
Brian Hackett
5097ed7010 Bug 1092318 - Remove unsized array typed objects, r=nmatsakis. 2014-11-05 17:58:35 -07:00
Eric Faust
d587d0d74b Bug 1094265 - |for (const x in []);| should be a SyntaxError. (r=till) 2014-11-05 16:23:20 -08:00
Bill McCloskey
5d020c5bc3 Bug 1092156 - Add missing comments DONTBUILD (r=bholley) 2014-11-05 17:22:20 -08:00
Paolo Amadini
d41231d528 Bug 1094248 - Process remaining Promise microtasks before blocking inside a nested event loop in the main thread. r=bz 2014-11-06 14:00:06 +00:00
Bill McCloskey
a57b42cc2f Bug 1092156 - [e10s] Don't use compartment-per-addon if window already associated with add-on (r=bholley) 2014-11-05 17:10:37 -08:00
Bill McCloskey
a4186ac75a Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap) 2014-11-04 17:40:08 -08:00
Bill McCloskey
169b2f071b Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap) 2014-11-04 17:39:34 -08:00
Bill McCloskey
204e02f724 Bug 1092446 - [e10s] Allow unprivileged scopes to call content-to-chrome CPOWs (r=bholley) 2014-11-04 17:38:19 -08:00
Tom Schuster
5e10b64908 Bug 1091900 - Remove iteratorObject hook. r=jorendorff 2014-11-05 20:36:49 +01:00
Tom Schuster
eb58198ec8 Bug 1094189 - Remove shell resolver function. r=jorendorff 2014-11-05 20:36:48 +01:00
Terrence Cole
fabf389f69 Bug 1093307 - Part 1: Shrinking GC's already sweep on the foreground so remove the flag; r=jonco
--HG--
extra : rebase_source : 521266ba686047388ddb1832d6a4f83f0bcf3410
2014-11-04 10:53:27 -08:00
Terrence Cole
1093676472 Bug 1074961 - Part 10: move foreground sweeping of background things closer to background sweeping; r=jonco
--HG--
extra : rebase_source : fed8085405ca3ed46ceb3f53a1aec63c2cd9a421
2014-11-04 09:34:00 -08:00
Terrence Cole
4b5dc62bd0 Bug 1093307 - Part 0: Cancel background allocation before flushing empty chunks when we OOM; r=jonco
--HG--
extra : rebase_source : 6859fba8d90df935cc109d67268650b9c251c372
2014-11-03 15:29:05 -08:00
Eric Rahm
7608471d1f Bug 1085746 - Fix unaligned TypedArrayBuffer access on ARM. r=mjrosenb 2014-11-05 10:37:51 -08:00
Dan Gohman
4ef9bab1d2 Bug 1094052 - Fix #include order r=me 2014-11-05 10:29:19 -08:00
Dan Gohman
14300a5f45 Bug 1093356 - IonMonkey: When x < 0, x is not negative zero r=nbp,h4writer 2014-11-05 07:07:43 -08:00
Dan Gohman
24d520803a Bug 1094052 - IonMonkey: Fix range analysis for Math.sign(-0) r=nbp,h4writer 2014-11-05 08:38:40 -08:00
Hannes Verschore
8cc662fb01 Bug 914255: Fix assert on CLOSED TREE, r=bhackett 2014-11-05 17:48:14 +01:00
Brian Hackett
766a85546c Bug 1092238 - Optimize reads from reference members of TypedObjects, r=nmatsakis. 2014-11-05 09:24:56 -07:00
Hannes Verschore
9005d324a9 Bug 914255 - Reduce the number of objects tracked in a TypeSet, r=bhackett 2014-11-05 16:46:21 +01:00
Carsten "Tomcat" Book
3bb9fc90ba Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE
Backed out changeset dd2b3e78b425 (bug 1084651)
Backed out changeset 2711fbd91819 (bug 1084651)
Backed out changeset 59a163addd79 (bug 1084651)
Backed out changeset d36f6dbbf925 (bug 1084651)
Backed out changeset 78102b62a4a0 (bug 1084651)
Backed out changeset 06387a2343a0 (bug 1084651)
Backed out changeset 2f8e7c39573e (bug 1084651)
2014-11-05 15:20:25 +01:00
Shu-yu Guo
0a14cd0584 Bug 1092833 - Deal with uninitialized slots in MacroAssembler::initGCSlots. r=terrence 2014-11-05 08:12:44 -05:00
Carsten "Tomcat" Book
725e52000a Backed out changeset 2e9f81c5d00c (bug 1052839) for ggc bustage 2014-11-05 14:03:58 +01:00
Emanuel Hoogeveen
774adccd1e Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm 2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
9c1b571d62 Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=wmccloskey 2014-11-04 08:17:00 +01:00
Emanuel Hoogeveen
29b2140ed2 Bug 1084651 - Part 4a: Adjust some tests to preserve previous behavior. r=wmccloskey 2014-10-21 11:50:00 +02:00
Emanuel Hoogeveen
83b0fcf251 Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=wmccloskey 2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
69f8cfc1a9 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8 2014-10-22 14:13:00 +02:00
Emanuel Hoogeveen
8c558ad026 Bug 1084651 - Part 1: Thread SliceBudget through several functions to choose the budget type at the source. r=billm 2014-11-05 00:33:00 +01:00
Carsten "Tomcat" Book
f94c96cce1 Backed out changeset 2dbf8f6bd2aa (bug 1092446) for suspicion of adding a hazard 2014-11-05 10:04:08 +01:00
Carsten "Tomcat" Book
efe4af0c06 Backed out changeset 5992aea01aff (bug 1091964) 2014-11-05 10:03:06 +01:00
Carsten "Tomcat" Book
dbe7dbf0fe Backed out changeset 38ca6211d1d4 (bug 1091970) 2014-11-05 10:02:59 +01:00
Jan Beich
c47ea57634 Bug 1041795 - Disable system libs when generating DTrace probes. f=sfink f=ginn.chen 2014-11-04 02:01:00 +01:00
Wes Kocher
4a1f58b330 Backed out changeset 5e6d8b6023e3 (bug 1092833) under suspicion of ggc bustage on a CLOSED TREE 2014-11-04 20:24:50 -08:00
Brian Hackett
d08dfee91d Bug 1089665 - Fixup dictionary objects earlier after swapping them, r=billm. 2014-11-04 18:44:03 -07:00
Bill McCloskey
d673d4c30d Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap) 2014-11-04 17:40:08 -08:00
Bill McCloskey
7260811c53 Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap) 2014-11-04 17:39:34 -08:00
Bill McCloskey
edd6c20e5b Bug 1092446 - [e10s] Allow unprivileged scopes to call content-to-chrome CPOWs (r=bholley) 2014-11-04 17:38:19 -08:00
Brian Hackett
7e118c77aa Bug 1091329 - Optimize writes to reference members of TypedObjects, r=nmatsakis,jandem. 2014-11-04 18:21:47 -07:00
Shu-yu Guo
986a44f67e Bug 1092833 - Deal with uninitialized slots in MacroAssembler::initGCSlots. (r=terrence) 2014-11-04 16:52:38 -08:00
Wes Kocher
63b2f47449 Backed out 3 changesets (bug 1088831) for mochitest-2 failures 2014-11-04 16:39:12 -08:00
Hannes Verschore
dfaece64ac Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till,jonco 2014-11-04 23:31:28 +01:00
Brian Hackett
adfa6449dc Bug 1091015 - Inline allocation of Typed Objects in IonMonkey, r=nmatsakis,jandem. 2014-11-04 15:19:46 -07:00
Eric Faust
3859ec66a3 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Eric Faust
1ba600aa1f Bug 611388 - Part 0: Sanify how const is handled by Reflect.parse. (r=shu) 2014-10-30 17:27:01 -07:00
Steve Fink
3fde6a2537 Bug 1088831 - Track mutator vs GC time in specified intervals, r=jonco
--HG--
extra : rebase_source : 44313ac31315dbebde12bd76ade8f0cfb4d7ce5a
2014-11-04 13:23:13 -08:00
Steve Fink
9a6efa67bc Bug 1088831 - Account for the storebuffer compaction time, r=jonco
--HG--
extra : rebase_source : c6dc383197f0abd01eb9bdaf49fb2ac9d370a1b4
2014-11-04 13:23:10 -08:00
Steve Fink
801d787cea Bug 1088831 - Count storebuffer compactions, r=jonco
--HG--
extra : rebase_source : e9bb802708fe5813377ce09f487a6304a8c265d7
2014-11-04 08:34:56 -08:00
Dan Gohman
60608d8311 Bug 1093356 - Refine the range of constants outside the int32 range r=nbp,h4writer 2014-11-04 10:26:31 -08:00
Dan Gohman
6a4c5eb7e8 Bug 1073928 - IonMonkey: Represent negative zero explicitly in range analysis r=nbp,h4writer 2014-11-04 10:26:30 -08:00
Terrence Cole
d2bb6716fe Bug 1074961 - Part 9: Move freeLifoAlloc to the GCRuntime; r=jonco 2014-11-03 15:29:03 -08:00
Benjamin Bouvier
377fa111ab Bug 1092110: Make a few functions and members debug only; r=dougc 2014-11-04 15:30:45 +01:00
Benjamin Bouvier
f161e117a1 Bug 1092110: Kill partialNunboxes_; r=bhackett 2014-11-04 15:30:38 +01:00
Benjamin Bouvier
4d428bffc9 Bug 1092110: Fix a signed/unsigned comparison in JitcodeMap; r=dougc 2014-11-04 15:30:30 +01:00
Jan de Mooij
b5df9f2ef4 Bug 1090491 part 5 - Don't allocate block slots when all locals are aliased. r=wingo 2014-11-04 14:44:40 +01:00
Jan de Mooij
b7a44fcaed Bug 1090491 part 4 - Refactor InterpreterFrame::markValues to be more like the BaselineFrame code. r=wingo 2014-11-04 14:44:38 +01:00
Nicolas B. Pierron
b7346ed4ab Bug 1087468 - IonMonkey: Inline functions with loops based on their arguments. r=h4writer 2014-11-04 11:16:06 +01:00
Carsten "Tomcat" Book
23829bc0c6 Backed out changeset 88041cfff520 (bug 1052839) for rootanalysis test failures 2014-11-04 10:53:25 +01:00
Hannes Verschore
5d7e5176bc Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till 2014-11-04 09:43:00 +01:00
Terrence Cole
2a07984d71 Bug 1083464 - Use a more standard mechanism to export GC symbols to embedders. r=ted,r=jorendorff 2014-10-27 13:29:44 -07:00
Phil Ringnalda
002b557572 Back out 3 changesets (bug 1088831)
CLOSED TREE

Backed out changeset 5156cefdad51 (bug 1088831)
Backed out changeset 15e064492127 (bug 1088831)
Backed out changeset 70a7f15c30fb (bug 1088831)
2014-11-03 19:34:35 -08:00
Steve Fink
545d8bd6b1 Bug 1088831 - Track mutator vs GC time in specified intervals, r=jonco
--HG--
extra : rebase_source : 88250aa66bf166253bd9ce234f0739497027e067
2014-11-03 17:21:20 -08:00
Steve Fink
ae8ec543b7 Bug 1088831 - Account for the storebuffer compaction time, r=jonco
--HG--
extra : rebase_source : d00a34bf03779e5725b18c92b6c749cc79bf0bd2
2014-11-03 14:15:37 -08:00
Steve Fink
b9fa312e52 Bug 1088831 - Count storebuffer compactions, r=jonco
--HG--
extra : rebase_source : 01b960893a86d5a5b215ae6d9e642f4d5140b1b7
2014-11-03 14:15:24 -08:00
Steve Fink
41117b423f Bug 1088249 - Report OOMs from the js_alloc*CanGC functions, r=luke
--HG--
extra : rebase_source : 47f348d2d448ee51fb6e1f6929fd6b35e14b1e60
2014-11-03 13:59:31 -08:00
Jim Blandy
eccc285f1d Bug 1091882: Simplify some uses of mozilla::PointerRangeSize, and clarify comment. r=waldo 2014-11-03 15:55:59 -08:00
Terrence Cole
b7a77355f7 Bug 1074961 - Part 11: Use a ChunkPool to manage available Chunks list; r=sfink 2014-10-29 14:17:45 -07:00
Ryan VanderMeulen
ee9d051802 Backed out changeset 062226e8a2d2 (bug 1091015) for SM test failures. 2014-11-03 14:12:32 -05:00
Brian Hackett
206d94479c Bug 1091015 - Inline allocation of Typed Objects in IonMonkey, r=nmatsakis,jandem. 2014-11-03 11:36:51 -07:00
Brian Hackett
73d1e0f543 Bug 1091459 - Only interrupt JS execution after running long enough that the slow script dialog might need to be shown, r=bholley. 2014-11-03 10:51:22 -07:00
Ryan VanderMeulen
0cefc16c12 Backed out changeset 82771cd90649 (bug 1087468) for SM(ggc) permafail. 2014-11-03 12:27:43 -05:00
Bill McCloskey
08104d1b77 Bug 1073631 - Add mising waivier outerizing for CPOWs (r=bholley) 2014-11-03 07:10:27 -08:00
Peter Meuel
0b4a553407 Bug 1062888 - IonMonkey: Implement RToDouble Recover Instruction. r=nbp 2014-11-03 15:39:11 +01:00
Brian Hackett
03ab588724 Bug 1091725 - Fix barrier computation for MNewDerivedTypedObject, r=nmatsakis. 2014-11-03 07:16:58 -07:00
Nicolas B. Pierron
f5979eb6d9 Bug 1087468 - IonMonkey: Inline functions with loops based on their arguments. r=h4writer 2014-11-03 14:35:44 +01:00
Benjamin Bouvier
aef716e1d5 Bug 1089769: Emitted at uses instructions should be added to the MIR graph in redefine; r=nbp 2014-11-03 14:06:26 +01:00
Mukilan Thiyagarajan
14a8f4008e Bug 1023154 - IonMonkey: Improve codegeneration of MIsObject followed by a branch. r=h4writer 2014-11-03 10:38:48 +01:00
Jon Coppeard
de8a68615e Bug 1092230 - Tidy member definitions in GCRuntime r=terrence 2014-11-03 08:59:00 +00:00
Johannes Schulte
3d3db0eaa4 Bug 1073766 - Guard on the global's shape, when optimizing on its proto-chain. r=bhackett 2014-10-24 12:36:01 +02:00
Chris Peterson
855986060a Bug 1090088 - Part 2: Add -Werror=parentheses and -Werror=switch behind --enable-warnings-as-errors check. r=glandium 2014-10-26 21:22:27 -07:00
Chris Peterson
106d4966db Bug 1090088 - Part 1: Only enable tree-wide -Werror=* warnings-as-errors with --enable-warnings-as-errors opt-in. r=glandium 2014-10-26 21:22:27 -07:00
Chris Peterson
e37122fe5b Bug 1090016 - Part 4: Fix last gcc/clang warning in js/src/shell and mark as FAIL_ON_WARNINGS (for gcc/clang). r=njn 2014-10-27 21:25:02 -07:00
Chris Peterson
225eb6acaf Bug 1090016 - Part 3: Update SpiderMonkey's "warnaserr" shell build configs to use --enable-warnings-as-errors instead of --enable-sm-fail-on-warnings. r=sfink 2014-10-28 00:22:24 -07:00
Shu-yu Guo
e2b8496ba0 Bug 1092032 - Bias magic uint32s in ArgumentObject forwarded slots by the maximum JSWhyMagic value to distinguish them from the JSWhyMagic-based magic values. (r=luke) 2014-10-31 16:46:26 -07:00
Ryan VanderMeulen
576ce24449 Merge m-c to inbound. a=merge
CLOSED TREE
2014-10-31 19:13:48 -04:00
Ryan VanderMeulen
e9bc83a22c Backed out changeset 10616214c160 (bug 1091916) for Android x86 S4 permafail. 2014-10-31 18:58:42 -04:00
Brian Hackett
2b6821ce15 Bug 1062830 - Fix bogus assert, r=billm. 2014-10-31 13:55:17 -07:00
Luke Wagner
aa492cecaf Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett)
--HG--
extra : rebase_source : 4acdf2009f9f490f636b29ab1c3eeb3de3a12f75
2014-10-30 17:35:35 -05:00
Nicolas B. Pierron
01af6d1a80 Bug 1091793 - Remove MNop for AsmJS like testing code. r=jandem
CLOSED TREE
2014-10-31 17:16:10 +01:00
Nicolas B. Pierron
a953086364 Bug 1091793 - IonMonkey: Remove useless NOPs. r=sunfish 2014-10-31 16:08:52 +01:00
Brian Hackett
df848d8464 Bug 1084280 - Use a local RegExpStack when running the RegExp interpreter, r=jandem. 2014-10-31 08:04:26 -07:00
Lars T Hansen
599d930abf Bug 1068684 - Remove test for length restriction. r=jandem 2014-10-31 15:03:35 +01:00
Jan de Mooij
93cb495aa4 Bug 1091757 - Fix ReportUninitializedLexical to not call frameIndex() for aliased locals. r=shu 2014-10-31 14:29:11 +01:00
Lars T Hansen
bd606abc60 Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-31 13:37:11 +01:00
Hannes Verschore
7bdb656ede Bug 1090424: IonMonkey: Improve range on when to fold MCompare, r=sunfish 2014-10-31 13:21:12 +01:00
Carsten "Tomcat" Book
35ba0aa3f1 Backed out changeset b6d6ee031d40 (bug 611388) 2014-10-31 13:12:25 +01:00
Carsten "Tomcat" Book
74eaea3f51 Backed out changeset 77052db08766 (bug 611388) 2014-10-31 13:12:18 +01:00
Nicolas B. Pierron
cefd233bbc no bug - Restore assertion of js::Lambda. r=jandem
Fix merge issue from April 2012.
2014-10-31 18:40:44 +01:00
Jan de Mooij
a170192f96 Bug 1090583 part 1 - Fix getSingletonPrototype to work with non-singletons. r=bhackett
--HG--
extra : rebase_source : c6b2663b87a36e7ddde82474a1b48fc46178af99
2014-10-31 10:40:27 +01:00
Jan de Mooij
88da22fee7 Bug 1090491 part 3 - Remove unused unalisedVar() methods, fix a comment. r=shu
--HG--
extra : rebase_source : eeb0a4099eae3f63ef967e4ba496c398ea469f78
2014-10-31 10:40:24 +01:00
Jan de Mooij
519c6ec233 Bug 1090491 part 2 - Remove loop in ClonedBlockObject::create that's no longer necessary. r=shu
--HG--
extra : rebase_source : 45e9744f4e232028707b4f940b7cd28287cf8348
2014-10-31 10:40:21 +01:00
Aleksandar Zlicic
8518156797 Bug 1091828 - Fix MacroAssemblerMIPS::ma_callIonHalfPush(Label *label). r=rankov 2014-10-30 21:06:56 +01:00
Aleksandar Zlicic
391d32b947 Bug 1090952 - Implement missing functions for nursery pointers for MIPS (movePtr(ImmMaybeNurseryPtr imm, Register dest) and branchPtr(Condition cond, Address addr, ImmMaybeNurseryPtr ptr, Label *label)). r=rankov 2014-10-29 15:02:23 +01:00
Aleksandar Zlicic
7e4ac22963 Bug 1090957 - Implement atomicFetch and compareExchange methods for MIPS. r=rankov 2014-10-30 16:50:29 +01:00
Tooru Fujisawa
3a69deaa23 Bug 1089038 - Do not call peekToken after matchToken failed. r=Waldo 2014-10-30 02:21:00 +01:00
Jon Coppeard
d5457e8257 Bug 650161 - Keep relocated arenas decommitted until next GC in debug builds r=terrence 2014-10-31 08:45:17 +00:00
Jon Coppeard
d819307b38 Bug 650161 - Fix test failures caused by inline typed object changes r=bhackett 2014-10-31 08:45:17 +00:00
Jon Coppeard
91e9906711 Bug 650161 - Fix sandbox object moved hook to work on partly initialized object r=bholley 2014-10-31 08:45:17 +00:00
Eric Faust
414e1b662c Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Eric Faust
7bc13131b4 Bug 611388 - Part 0: Sanify how const is handled by Reflect.parse. (r=shu) 2014-10-30 17:27:01 -07:00
Shu-yu Guo
13de6f7313 Bug 1082875 - Make BytecodeSite a TempObject to save on duplicates. (r=djvj) 2014-10-30 17:23:04 -07:00
Boris Zbarsky
dae9bf4afb Bug 1089026 part 5. Eliminate the ability to provide a non-global parent object to JS::CompileFunction and company except via the scopeChain API. r=waldo 2014-10-30 19:40:29 -04:00
Boris Zbarsky
3874dcc6b3 Bug 1089026 part 4. Change the CompileFunction calls in the component loader and subscript loader to pass in their desired scope chains. r=bholley 2014-10-30 19:40:29 -04:00
Boris Zbarsky
f152329ec4 Bug 1089026 part 3. Add a friend API for getting the scope object for a function, if it has one. r=shu 2014-10-30 19:40:28 -04:00
Boris Zbarsky
18c532b76f Bug 1089026 part 2. Refactor the CompileFunction code to allow cleanly separating whether we're passing in an object to define the function on or a scope chain. This change should not cause any behavior changes. r=shu 2014-10-30 19:40:28 -04:00
Boris Zbarsky
130330d745 Bug 1089026 part 1. Eliminate the "parent" argument to JS_CloneFunctionObject to make callers use the scopeChain version if they want something other than the global. r=shu,peterv 2014-10-30 19:40:28 -04:00
Boris Zbarsky
63eac848fe Bug 1088228 part 4. Add a version of JS_CloneFunctionObject that allows passing in a scope chain. r=shu 2014-10-30 17:40:15 -04:00
Wes Kocher
554446ac26 Backed out 6 changesets (bug 1088228) for static analysis bustage
Backed out changeset 13ecff800114 (bug 1088228)
Backed out changeset de692c3335f2 (bug 1088228)
Backed out changeset 2d449a2b4e1c (bug 1088228)
Backed out changeset 49ac8f33ab70 (bug 1088228)
Backed out changeset 920d50e84a17 (bug 1088228)
Backed out changeset 55f4818378e4 (bug 1088228)
2014-10-30 16:24:02 -07:00
Boris Zbarsky
944348c1cc Bug 1088228 part 4. Add a version of JS_CloneFunctionObject that allows passing in a scope chain. r=shu 2014-10-30 17:40:15 -04:00
Boris Zbarsky
2dbcd11dc1 Bug 1091795. Unregress octane-box2d by not treating some cases when we can't generate a baseline stub as unoptimizable accesses. r=jandem
In particular, if the access is unoptimizable for temporary reason, like a
scripted accessor not having jitcode compiled yet or an accessor being in the
nursery, we don't want to permanently mark the access spot unoptimizable.  At
some point the accessor will gain jitcode or be tenured and then we can
optimize the access.
2014-10-30 17:36:08 -04:00
Jason Orendorff
fde78d2809 Fix some failing tests for bug 918828. no_r=me, testonly, a=RyanVM on a CLOSED TREE.
--HG--
extra : rebase_source : 68ce3c64b1a2c8eaf1f26d7f4b4914753a49572f
2014-10-30 14:24:46 -05:00
Jason Orendorff
f5eb740f5b Bug 1089758 - EmitElemOpBase's automagical JSOP_SWAP is too magical. r=Waldo.
--HG--
extra : rebase_source : a4c052ff028b81556978398c401f3ace74d8c822
2014-10-27 14:50:58 -05:00
Jason Orendorff
104c962e51 Bug 918828, part 3 - Implement JSOP_SYMBOL in the baseline compiler. r=nbp.
--HG--
extra : rebase_source : 387d627e74cf447014805b901e42ee201f513ea0
2014-07-01 21:28:11 -05:00
Jason Orendorff
e0798e184d Bug 918828, part 2 - Update decompiler for JSOP_SYMBOL. This improves error messages when @@iterator is called implicitly. r=Waldo.
--HG--
extra : rebase_source : e0e00a4d203f3a2c8a4d7cfa0a53d389e16fec53
2014-07-01 21:18:12 -05:00
Jason Orendorff
26dfad38c3 Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Luke Wagner
a34ea65f1e Bug 1088655 - OdinMonkey: remove dead conjunct in parser (r=bbouvier) 2014-10-30 09:30:58 -05:00
Luke Wagner
ec3cc7c74f Bug 1088655 - OdinMonkey: fix bug in JS_NO_SIGNALS x64 lowering and tidy up a bit (r=bbouvier)
--HG--
extra : rebase_source : 7b30581ef3702db49f3d623a00309db3ae51f5aa
2014-10-30 09:30:45 -05:00
Luke Wagner
bb8ad960dd Bug 1088655 - OdinMonkey: tidy up LookupAsmJSModuleInCache (r=bbouvier)
--HG--
extra : rebase_source : a6001150478bee174d1c50158b16499f808dd4e0
2014-10-29 13:20:01 -05:00
Brian Hackett
6f9cd05f58 Bug 1091010 - Optimize accesses to TypedObject.length, r=nmatsakis. 2014-10-30 08:45:28 -07:00
Carsten "Tomcat" Book
b1c56c09ca Backed out changeset 17bae3d258dd (bug 1068684) for ASAN Bustage on a CLOSED TREE 2014-10-30 15:58:56 +01:00
Nicolas B. Pierron
31a717a596 Bug 1090037 - Ensure that dominators are defined enough before moving instructions. r=sunfish,h4writer 2014-10-30 15:22:57 +01:00
Lars T Hansen
33f6270a1e Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-30 14:58:20 +01:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
2a17803c46 Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Shu-yu Guo
1a323db19a Bug 1090764 - Fix typo in AbstractFramePtr::numFormalArgs. (r=efaust) 2014-10-29 19:41:43 -07:00
Shu-yu Guo
32b83400a8 Bug 1089761 - Fix initializing lexicals to throw on touch on CallObject. (r=jandem,Waldo) 2014-10-29 19:41:42 -07:00