Граф коммитов

50569 Коммитов

Автор SHA1 Сообщение Дата
David Major faab46edc3 Bug 1193459 review follow-up: Copy the comment from TraceKind.h. DONTBUILD CLOSED TREE
--HG--
extra : amend_source : 8dfc5ad94bd1784c6be9ac8ae863eedfcbe04e83
2015-08-12 15:31:33 -04:00
David Major 64e642cb39 Bug 1193459: Fix JS_DEPENDENT_TEMPLATE_HINT for clang-cl. r=jimb
--HG--
extra : rebase_source : 47c8c4d88946dfcbd5484b5ea7ebcb66c2c27537
2015-08-12 13:25:40 -04:00
Jim Blandy ec09437edc Bug 1189059: Replace setObjectMetadataCallback with enableObjectMetadataCallback, fix callers. r=fitzgen
--HG--
extra : rebase_source : e510e16c42641082d94024f679ff5fa06374b96f
2015-07-29 13:41:26 -07:00
Steve Singer 455c60a5ea Bug 1192689 - Add in classes to LIR-none. r=nbp 2015-08-11 20:15:00 -04:00
Tooru Fujisawa 439e92a042 Bug 1089045 - Part 3: Add parser test for ES6 class. r=Waldo 2015-08-07 04:20:49 +09:00
Tooru Fujisawa 209ff6adf2 Bug 1089045 - Part 2: Tests for modifiers. r=Waldo 2015-08-07 04:20:40 +09:00
Tooru Fujisawa 1a824ac6cd Bug 1089045 - Part 1: Supply consistent modifiers to TokenStream. r=Waldo 2015-08-07 04:11:59 +09:00
Tooru Fujisawa e28279f545 Bug 1192572 - Add id to each opcode section in SpiderMonkey Bytecode documentation. r=Waldo 2015-08-09 09:17:15 +09:00
Benjamin Bouvier 3a39ae3f5f Bug 1191756: Prevent one OOM in jsop_if; r=jonco
Also fixes the test for bug 1193043.

--HG--
extra : commitid : 7zlrT0yPI2f
extra : rebase_source : 22363ccc2bfda5dd59470dcf6a30f126ae02dd57
2015-08-11 18:32:16 +02:00
Jon Coppeard 94ee08d336 Bug 1191758 - Rework JS::FormatStackDump() to fix OOM handling r=terrence 2015-08-12 10:36:40 +01:00
Heiher 078ef8db22 Bug 1182936 part 2 - IonMonkey: MIPS32: Move mips macros to mips32. r=nbp 2015-08-12 11:22:01 +02:00
Heiher 146726c9d6 Bug 1182936 part 1 - IonMonkey: MIPS32: Rename mips to mips32. r=nbp
rename: js/src/jit/mips/Architecture-mips.cpp -> js/src/jit/mips32/Architecture-mips32.cpp
rename: js/src/jit/mips/Architecture-mips.h -> js/src/jit/mips32/Architecture-mips32.h
rename: js/src/jit/mips/Assembler-mips.cpp -> js/src/jit/mips32/Assembler-mips32.cpp
rename: js/src/jit/mips/Assembler-mips.h -> js/src/jit/mips32/Assembler-mips32.h
rename: js/src/jit/mips/AtomicOperations-mips.h -> js/src/jit/mips32/AtomicOperations-mips32.h
rename: js/src/jit/mips/Bailouts-mips.cpp -> js/src/jit/mips32/Bailouts-mips32.cpp
rename: js/src/jit/mips/Bailouts-mips.h -> js/src/jit/mips32/Bailouts-mips32.h
rename: js/src/jit/mips/BaselineCompiler-mips.cpp -> js/src/jit/mips32/BaselineCompiler-mips32.cpp
rename: js/src/jit/mips/BaselineCompiler-mips.h -> js/src/jit/mips32/BaselineCompiler-mips32.h
rename: js/src/jit/mips/BaselineIC-mips.cpp -> js/src/jit/mips32/BaselineIC-mips32.cpp
rename: js/src/jit/mips/CodeGenerator-mips.cpp -> js/src/jit/mips32/CodeGenerator-mips32.cpp
rename: js/src/jit/mips/CodeGenerator-mips.h -> js/src/jit/mips32/CodeGenerator-mips32.h
rename: js/src/jit/mips/LIR-mips.h -> js/src/jit/mips32/LIR-mips32.h
rename: js/src/jit/mips/LOpcodes-mips.h -> js/src/jit/mips32/LOpcodes-mips32.h
rename: js/src/jit/mips/Lowering-mips.cpp -> js/src/jit/mips32/Lowering-mips32.cpp
rename: js/src/jit/mips/Lowering-mips.h -> js/src/jit/mips32/Lowering-mips32.h
rename: js/src/jit/mips/MacroAssembler-mips.cpp -> js/src/jit/mips32/MacroAssembler-mips32.cpp
rename: js/src/jit/mips/MacroAssembler-mips.h -> js/src/jit/mips32/MacroAssembler-mips32.h
rename: js/src/jit/mips/MoveEmitter-mips.cpp -> js/src/jit/mips32/MoveEmitter-mips32.cpp
rename: js/src/jit/mips/MoveEmitter-mips.h -> js/src/jit/mips32/MoveEmitter-mips32.h
rename: js/src/jit/mips/SharedICHelpers-mips.h -> js/src/jit/mips32/SharedICHelpers-mips32.h
rename: js/src/jit/mips/SharedICRegisters-mips.h -> js/src/jit/mips32/SharedICRegisters-mips32.h
rename: js/src/jit/mips/Simulator-mips.cpp -> js/src/jit/mips32/Simulator-mips32.cpp
rename: js/src/jit/mips/Simulator-mips.h -> js/src/jit/mips32/Simulator-mips32.h
rename: js/src/jit/mips/Trampoline-mips.cpp -> js/src/jit/mips32/Trampoline-mips32.cpp
rename: js/src/jsapi-tests/testJitMoveEmitterCycles-mips.cpp -> js/src/jsapi-tests/testJitMoveEmitterCycles-mips32.cpp

--HG--
rename : js/src/jit/mips/Architecture-mips.cpp => js/src/jit/mips32/Architecture-mips32.cpp
rename : js/src/jit/mips/Architecture-mips.h => js/src/jit/mips32/Architecture-mips32.h
rename : js/src/jit/mips/Assembler-mips.cpp => js/src/jit/mips32/Assembler-mips32.cpp
rename : js/src/jit/mips/Assembler-mips.h => js/src/jit/mips32/Assembler-mips32.h
rename : js/src/jit/mips/AtomicOperations-mips.h => js/src/jit/mips32/AtomicOperations-mips32.h
rename : js/src/jit/mips/Bailouts-mips.cpp => js/src/jit/mips32/Bailouts-mips32.cpp
rename : js/src/jit/mips/Bailouts-mips.h => js/src/jit/mips32/Bailouts-mips32.h
rename : js/src/jit/mips/BaselineCompiler-mips.cpp => js/src/jit/mips32/BaselineCompiler-mips32.cpp
rename : js/src/jit/mips/BaselineCompiler-mips.h => js/src/jit/mips32/BaselineCompiler-mips32.h
rename : js/src/jit/mips/BaselineIC-mips.cpp => js/src/jit/mips32/BaselineIC-mips32.cpp
rename : js/src/jit/mips/CodeGenerator-mips.cpp => js/src/jit/mips32/CodeGenerator-mips32.cpp
rename : js/src/jit/mips/CodeGenerator-mips.h => js/src/jit/mips32/CodeGenerator-mips32.h
rename : js/src/jit/mips/LIR-mips.h => js/src/jit/mips32/LIR-mips32.h
rename : js/src/jit/mips/LOpcodes-mips.h => js/src/jit/mips32/LOpcodes-mips32.h
rename : js/src/jit/mips/Lowering-mips.cpp => js/src/jit/mips32/Lowering-mips32.cpp
rename : js/src/jit/mips/Lowering-mips.h => js/src/jit/mips32/Lowering-mips32.h
rename : js/src/jit/mips/MacroAssembler-mips.cpp => js/src/jit/mips32/MacroAssembler-mips32.cpp
rename : js/src/jit/mips/MacroAssembler-mips.h => js/src/jit/mips32/MacroAssembler-mips32.h
rename : js/src/jit/mips/MoveEmitter-mips.cpp => js/src/jit/mips32/MoveEmitter-mips32.cpp
rename : js/src/jit/mips/MoveEmitter-mips.h => js/src/jit/mips32/MoveEmitter-mips32.h
rename : js/src/jit/mips/SharedICHelpers-mips.h => js/src/jit/mips32/SharedICHelpers-mips32.h
rename : js/src/jit/mips/SharedICRegisters-mips.h => js/src/jit/mips32/SharedICRegisters-mips32.h
rename : js/src/jit/mips/Simulator-mips.cpp => js/src/jit/mips32/Simulator-mips32.cpp
rename : js/src/jit/mips/Simulator-mips.h => js/src/jit/mips32/Simulator-mips32.h
rename : js/src/jit/mips/Trampoline-mips.cpp => js/src/jit/mips32/Trampoline-mips32.cpp
rename : js/src/jsapi-tests/testJitMoveEmitterCycles-mips.cpp => js/src/jsapi-tests/testJitMoveEmitterCycles-mips32.cpp
2015-08-12 11:22:00 +02:00
Benjamin Bouvier eba462e7a3 Bug 1193043: Check for oom in ScalarReplacement.cpp; r=nbp
--HG--
extra : commitid : 1ky0iqaAd2w
extra : rebase_source : 42d49bb7f0c19b6f81f3510ef785f955264b9e72
2015-08-12 10:17:42 +02:00
Terrence Cole 8599c008e3 Bug 1191543 - Remove AutoNameVector and replace with Rooted; r=jonco
--HG--
extra : rebase_source : 930e012ad7a2930e6261559cd58e19a34e342323
2015-08-10 09:26:29 -07:00
Terrence Cole de72ab688b Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
* * *
imported patch 2_remove_AutoIdArray_gk

--HG--
extra : rebase_source : f4492f209248c7ae4b74d7d0345c51fa893167da
2015-08-05 11:02:00 -07:00
Muhsin Ali Steiman 83c418c740 Bug 1186723 - Make BytecodeEmitter::emitDupAt take a reasonable offset r=arai 2015-08-11 14:12:06 -07:00
Terrence Cole 275873aa38 Bug 1191117 - Remove RootedGeneric and replace with normal Rooted usage; r=jonco
--HG--
extra : rebase_source : 68b41d7a31da792aa688896828ddfe4c8c154d85
2015-08-04 14:32:27 -07:00
Terrence Cole 1b577f8a20 Bug 1191099 - Replace AutoFunctionVector usage with Rooted; r=jonco
--HG--
extra : rebase_source : e391f78394c02a50b8dd5c2163c0ab84e5f06733
2015-08-04 10:38:24 -07:00
Jan de Mooij eed2b5bfff Bug 1185653 - Fix enumerate hook on unboxed objects to skip non-enumerable properties. r=jorendorff
--HG--
extra : rebase_source : 4f359cb0b34ee5a92afcb983ec765c92eaa1d162
2015-08-11 17:42:56 +02:00
Terrence Cole 2c05aff66d Bug 1193032 - Part 2: Make unlimited SliceBudget initialization explicit; r=ehoogeveen,r=mccr8 2015-08-11 08:42:24 -07:00
Terrence Cole 9bafba602a Bug 1193032 - Part 1: Rename GCRuntime::sliceBudget to defaultTimeBudget; r=jonco 2015-08-11 08:42:23 -07:00
Terrence Cole a3de3de67e Bug 1192306 - Use a function to check if IsShutdownGC rather than open-coding it; r=jonco
--HG--
extra : rebase_source : 477bdb00d90a0ad8a4333821bb94315422b66c97
2015-08-10 14:16:25 -07:00
Terrence Cole d86a2b0456 Bug 1192304 - Common up the checks when entering GC API; r=jonco
--HG--
extra : rebase_source : 54b0d9cd8add99515ac48369cf6d74ea6dbf36a2
2015-08-10 14:14:09 -07:00
Nick Fitzgerald ffb3e2d6f9 Bug 1189490 - Follow ups: Move [Traceable]Fifo to js/src/ds. r=terrence
--HG--
rename : js/public/Fifo.h => js/src/ds/Fifo.h
rename : js/public/TraceableFifo.h => js/src/ds/TraceableFifo.h
extra : rebase_source : dae18a8a39f01ccf5be826e400132a78272fabc2
2015-08-10 13:15:00 -04:00
Nick Fitzgerald d787703a0d Bug 1189490 - Part 2: Stop using mozilla::LinkedList for the allocations and tenure promotions logs and use js::TraceableFifo instead. r=terrence
--HG--
extra : rebase_source : e458cebb44ecb68fa1cb249f9fd27f60c281cf2f
2015-08-10 13:15:00 -04:00
Nick Fitzgerald d55e458f02 Bug 1189490 - Part 1: Add a JS::Traceable version of the FIFO queue for use with GC things. r=terrence
--HG--
extra : rebase_source : 05bb7cb4db061ee6d16ab4cc8531c59b5f8b69e4
2015-08-10 13:15:00 -04:00
Nick Fitzgerald defc2b92f5 Bug 1189490 - Part 0: Add a FIFO queue container type to js/public. r=terrence
--HG--
extra : rebase_source : c27f3855994090535ace6b6b78ba1c42e25a37dd
2015-08-10 13:15:00 -04:00
Kyle Huey 76e3009ab8 Bug 1179909: Refactor stable state handling. r=smaug
This is motivated by three separate but related problems:

1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).

2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).

3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.

The solve this, this patch does the following:

1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
Nathan Froyd 9593f411c6 Bug 1192277 follow-up - delete the macro invocation from js/src/configure.in; r=me 2015-08-11 16:22:33 -04:00
Nathan Froyd d903c2ee7e Bug 1192277 - remove check for LLVM PR 8927; r=glandium
The PR was fixed in early 2011.  clang 3.3, the oldest version of clang
that we build with, was released in mid-2013.  It's safe to say that all
versions of clang now have this fix, and we can delete the check.
2015-08-07 19:35:43 -04:00
Jon Coppeard c6ddd05588 Bug 1192245 - Fix tests that fail with incremental zeal r=terrence 2015-08-11 12:41:14 +01:00
Jon Coppeard 023c437d83 Bug 1191482 - Improve WeakCache sweep code and add assertions r=terence 2015-08-11 12:41:14 +01:00
Shu-yu Guo 7ed7ff522b Bug 1191177 - Kill staticLevel. (r=efaust) 2015-08-11 03:01:25 -07:00
Shu-yu Guo 0d661e6913 Bug 1191177 - Kill UpvarCookie. (r=efaust) 2015-08-11 03:01:24 -07:00
Shu-yu Guo 3845e56a81 Bug 1179063 - Simplify enclosingStaticScope and rename to innermostStaticScope in BCE. (r=efaust) 2015-08-11 03:01:24 -07:00
Shu-yu Guo 6bae267f46 Bug 1179063 - Hook up the static scope chain in the Parser and replace SharedContext walking with scope walking. (r=efaust) 2015-08-11 03:01:24 -07:00
Jon Coppeard 617bf6071c Bug 1189282 - Refactor parser BindData class r=efaust 2015-08-11 09:27:24 +01:00
Jeff Walden 1b62a9d07b Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
--HG--
extra : rebase_source : 803fe39f338b6b32cb0fe2be6cf4056bab57283a
2015-05-01 19:12:52 -07:00
Ryan VanderMeulen a7ea8705c1 Backed out changesets db4294fb662d and de9ae2ccb73b (bug 1181175) for Android test_compartments.js failures.
CLOSED TREE
2015-08-10 15:07:27 -04:00
Terrence Cole b921a75b71 Bug 1189112 - Part 2: simplify rooting of ScriptsAndCountsVector with PersistentRooted; r=nbp
--HG--
extra : rebase_source : 3f80f8fcdcbee534c53171683d211e0ed5e25add
2015-07-29 14:59:49 -07:00
Terrence Cole 49c3cba496 Bug 1189112 - Part 1: Use TraceableVector to simplify tracing of ScriptsAndCountsVector; r=nbp
--HG--
extra : rebase_source : c75db0b631d1bc60938062042b7edfc1737d600c
2015-07-29 14:59:49 -07:00
Terrence Cole cc3fc648da Bug 1188620 - Use PersistentRooted for asyncActivation roots; r=fitzgen
--HG--
extra : rebase_source : 9b568b6b35b9090efaf1f10ba473cfee2db298ab
2015-07-29 10:23:14 -07:00
Nick Fitzgerald 050a672216 Bug 1192456 - Use perfect forwarding for DispatchWrapper rather than explicit move and copy constructors. r=terrence
--HG--
extra : rebase_source : 68ee85bb409b0328eb935ddba00dc64e4f3efa86
2015-08-07 17:47:00 -04:00
Morgan Phillips 026acb1246 Bug 1186724 - Make BytecodeEmitter::emit2 take a uint8_t instead of a jsbtyecode; r=arai
We expect the second operand value to be an arbitrary byte. This alleviates the needs for spurious casting.
2015-08-10 09:19:37 -07:00
David Rajchenbach-Teller 4daefcd581 Bug 1181175 - Telemetry for finding out how often our process is rescheduled to another CPU. r=jandem, r=bsmedberg
--HG--
extra : transplant_source : %94Od-%F4U%88U%0C%DA%28%F3%B6%8D%7F%E7%88%1FTH
2015-07-29 19:01:05 +02:00
David Rajchenbach-Teller d326242e8b Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
--HG--
extra : transplant_source : %8D%A9%CC%17Dj9-%81T%B2%0D%E1%EA%BD%05%C7%DCl%CB
2015-07-07 18:45:54 +02:00
Nathan Froyd 0ed8ed22e8 Bug 967544 - make gServiceInterrupt Atomic; r=Waldo
|volatile| doesn't guarantee inter-thread safety.  Atomic<> does.
2015-08-07 02:59:19 -04:00
Andrea Marchesini 01049623d7 Bug 1188612 - Transferable errors should become NS_DOM_DATA_CLONE_ERR, r=sfink 2015-08-10 16:13:24 +01:00
Brian Hackett 96b97bdbd8 Bug 1190272 - Improve type checks when storing values into unboxed objects in Ion code, r=jandem. 2015-08-09 18:55:49 -06:00
Brian Hackett 8b154eaab1 Bug 1190002 - Don't compile baseline stubs for sets to unboxed arrays when there is no JIT FPU support, r=jandem. 2015-08-09 18:52:08 -06:00
Brian Hackett e333e372e1 Bug 1189980 - Allow changing the object definition during optimized compilation of Array.push, r=jandem. 2015-08-09 18:48:45 -06:00
Bill McCloskey 0eaddb2f65 Back out bug 1181908 (again) for suspicion of causing bug 1191465 and other GC crashes. 2015-08-09 08:42:40 -07:00
Phil Ringnalda 0c554f1795 Back out 4 changesets (bug 1189490) for Linux32 Jit2 failures
Backed out changeset 1ec4867e4e8c (bug 1189490)
Backed out changeset 8bf626d3a647 (bug 1189490)
Backed out changeset 1a1ad27321de (bug 1189490)
Backed out changeset 858b4f682c5a (bug 1189490)
2015-08-08 23:30:50 -07:00
Nick Fitzgerald 6ef8b3add1 Bug 1189490 - Follow ups: Move [Traceable]Fifo to js/src/ds; r=terrence
--HG--
rename : js/public/Fifo.h => js/src/ds/Fifo.h
rename : js/public/TraceableFifo.h => js/src/ds/TraceableFifo.h
2015-08-08 15:19:52 -07:00
Nick Fitzgerald c89311aa13 Bug 1189490 - Part 2: Stop using mozilla::LinkedList for the allocations and tenure promotions logs and use js::TraceableFifo instead; r=terrence 2015-08-08 15:19:52 -07:00
Nick Fitzgerald c2227f165b Bug 1189490 - Part 1: Add a JS::Traceable version of the FIFO queue for use with GC things; r=terrence 2015-08-08 15:19:52 -07:00
Nick Fitzgerald 6e26f2258a Bug 1189490 - Part 0: Add a FIFO queue container type to js/public; r=terrence 2015-08-08 15:19:52 -07:00
Jeff Walden b0237bef1c Bug 1183400 - Fold class nodes by kind. r=shu
--HG--
extra : rebase_source : 1193bddb546dd2ea2c2c039abb38d6ca4f131862
2015-07-13 13:09:54 -07:00
Jeff Walden 6f5f867ec8 Bug 1183400 - Fold try/catch by kind. r=shu
--HG--
extra : rebase_source : 4d286dd51015f4d9a696c53a70b7ac25382a070b
2015-07-13 13:09:54 -07:00
Jeff Walden 22d96b3ca2 Bug 1183400 - Constant-fold yield/yield*/return by kind and not arity. r=shu
--HG--
extra : rebase_source : bac3d18ffe09939831b7f93ab20381cbe948602b
2015-07-09 20:58:14 -07:00
Jeff Walden 82534d8d95 Bug 1183400 - Fold various list nodes not given, nor requiring, special treatment. r=shu
--HG--
extra : rebase_source : 6f775f21c0cbd7b239670e6c9c68241634ef4ace
2015-07-09 20:42:19 -07:00
Shu-yu Guo 5683b4cc23 Bug 1036574 - Revert horrible workaround in baseline IC for magic arg callee. (r=me) 2015-08-07 15:14:04 -07:00
Tom Schuster 604df29811 Bug 1189872 - Make {Map, Set}.prototype an ordinary object. r=Waldo 2015-08-07 21:21:07 +02:00
Nathan Froyd 36e2c2b3a1 Bug 1192278 - empower |make check-jit-test| to specify a subset of tests to run; r=terrence
Calling:

  make check-jit-test JITTEST_TEST_ARGS=basic/

will now run all tests whose name includes "basic/".  Similarly, running:

  make check-jit-test JITTEST_TEST_ARGS=basic/timeout-check.js

will run only basic/timeout-check.js.
2015-08-07 03:21:13 -04:00
Nathan Froyd 309d289411 Bug 1192071 - use llvm-symbolizer when running jit-tests under TSan; r=mshal
Just like ASan, TSan can use llvm-symbolizer, except that it requires a
slightly different setup.
2015-08-07 02:56:41 -04:00
Wes Kocher 1932e939ba Merge m-c to inbound, a=merge 2015-08-06 18:42:15 -07:00
Wes Kocher 4f23694eb2 Backed out changeset fdf5862a8c00 (bug 1176451) a=backout 2015-08-06 18:38:22 -07:00
Nathan Froyd 0a5095ccbf Bug 1191884 - remove now-unnecessary check for GCC PR49911; r=glandium
This PR was fixed in the GCC 4.7 development cycle.  Since we require
GCC 4.7 now, we no longer have to check for this bug.
2015-08-06 20:41:38 -04:00
Ryan VanderMeulen bac91f37d2 Merge inbound to m-c. a=merge 2015-08-06 15:22:37 -04:00
Ryan VanderMeulen 5c8a1e60a2 Backed out changeset 2f16fb18314a (bug 1181908) for suspicion of causing bug 1191492 and other topcrashes. a=me 2015-08-06 13:28:32 -04:00
Wes Kocher 4fd5119a0c Merge m-c to fx-team, a=merge 2015-08-05 16:49:08 -07:00
Brian Hackett 36be9da34a Bug 1175538 - Ensure str_split result object has the right group. r=jandem
--HG--
extra : rebase_source : 9e79e93939fbfbab519bfebc288f3a39d052d07d
2015-08-05 11:53:01 -04:00
Boris Zbarsky 11d4b0065f Bug 1181908. The CompileOptions constructor should properly copy the introducerFilename and isRunOnce state. r=luke 2015-08-06 15:34:06 -07:00
Jason Orendorff 996744154e Bug 1191292 - Keep ecma_6/Reflect/apply.js from permafailing when Gecko 42 merges to Aurora. r=Waldo.
--HG--
extra : commitid : EeGMbyJL0Du
extra : rebase_source : a555132dee99b2a3b3e3816032d3a821f77fa29c
extra : amend_source : 54942b865cd000c90626a71c6c22d5dfd3d3b0b1
2015-08-06 15:50:06 -05:00
David Rajchenbach-Teller b15ead3583 Bug 1190074 - PerformanceGroup now uses mozilla::RefPtr;r=jandem
--HG--
extra : commitid : Lgjxhy98Hha
extra : rebase_source : 3bf9b7a15eba79383a0facc914799a981fa8ecd7
2015-07-27 23:01:42 +02:00
Nick Fitzgerald 28b830d9cd Bug 1166524 - Provide short labels and longer descriptions for GC reasons; r=jsantell,terrence 2015-08-05 13:47:45 -07:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Brian Hackett 6e34a2663c Bug 1189137 - Don't treat integer stores to unboxed objects as truncated, r=jandem. 2015-08-04 15:41:26 -07:00
Sean Stangl e482bc8561 Bug 1191552 - Move some common LIR to shared code. r=nbp 2015-07-23 15:36:51 -07:00
Sean Stangl da17da38e4 Bug 1191531 - Fill in AtomicOperations-arm64.h. r=lth 2015-08-05 14:17:28 -07:00
Ryan VanderMeulen 3ace4eac25 Bug 1138693 - Add an early quit to the test if TypedObject isn't enabled. r=nbp 2015-08-05 09:11:19 -04:00
Florian Merz ef2f743415 Bug 1184414 - X.[[SetPrototypeOf]](Y) should succeed if X.[[Prototype]] is already Y. r=jorendorff.
--HG--
extra : commitid : Bmld0IzIMZK
extra : rebase_source : bbe8f933dd901c70ae2147af372a4100dd476213
2015-07-28 07:35:22 +02:00
Carsten "Tomcat" Book 816d88e7a2 Backed out changeset 3f861148c83c (bug 1191236) for hazard bustage 2015-08-06 13:04:18 +02:00
Jon Coppeard a2d36e844e Bug 1191236 - Remove extract() methods used by operation forwarding on rooting types r=terrence 2015-08-06 10:23:21 +01:00
Makoto Kato 0728b9028d Bug 1187773 - Don't include heapapi.h from js/public. r=jorendorff 2015-08-06 15:34:08 +09:00
Makoto Kato f2347c180c Backed out changeset a3243d1ec51f due to invalid bug number 2015-08-06 15:32:14 +09:00
Lars T Hansen bb47fb0015 Bug 1183060 - wrong code generated for x86 word operations. r=sunfish 2015-08-05 09:20:28 +02:00
Makoto Kato 2f0bdf40c9 Bug 187773 - Don't include heapapi.h from js/public. r=jorendorff 2015-08-06 11:48:46 +09:00
Terrence Cole 84c0f029d1 Backout d6dea3334b6c (Bug 1188620) for suspecting crashes.
--HG--
extra : rebase_source : a0aafd93d413170da63fae5fc9e33583108a1e4a
2015-08-05 17:10:10 -07:00
Terrence Cole 56037bad8d Backout abc018892155 (Bug 1189112) for suspected crashes.
--HG--
extra : rebase_source : fd1ea02ff8d0eac45a9363a3e3b67ee1ae4e92c1
2015-08-05 17:08:33 -07:00
Terrence Cole 55eae75751 Backout 027800a23ccb (Bug 1189112) for suspected crashes.
--HG--
extra : rebase_source : 0b519e907e15b619c278ff18feedc140d7209bb1
2015-08-05 17:06:53 -07:00
Terrence Cole bbe35a1f30 Backout 6249e4edb023 (Bug 1191099) for build bustage on a CLOSED TREE. 2015-08-05 12:09:19 -07:00
Terrence Cole 7eac637ada Bug 1191099 - Replace AutoFunctionVector usage with Rooted; r=jonco
--HG--
extra : rebase_source : fe7e2e37c02f759dbb81427a83ad240f221bcae2
2015-08-04 10:38:24 -07:00
Terrence Cole 46805ee873 Bug 1191098 - Replace AutoHashableValueRooter with Rooted<HashableValue>; r=jonco
--HG--
extra : rebase_source : 706446a679cf5ecf26c9f8c10fa8b8402d93f4bc
2015-08-04 09:23:27 -07:00
Terrence Cole 5ca2531325 Bug 1190911 - Replace AutoIdValueVector with normal Rooted usage; r=jonco
--HG--
extra : rebase_source : 547d2114edbed516d183e1dbf8005b0c2afb70e6
2015-08-04 08:50:12 -07:00
Sean Stangl d738aed0de Bug 1183842 - Use InvertCondition to expand the range of conditional branches. r=h4writer 2015-07-14 12:20:02 -07:00
Terrence Cole 5d2028c280 Bug 1190636 - Replace AutoStringVector with Rooted usage; r=njn 2015-08-03 17:39:03 -07:00
Terrence Cole 5d9fc3d582 Bug 1186626 - Part 5: Remove AutoShapeVector; r=sfink
--HG--
extra : rebase_source : 3260e796aec30d06853d77df0071834d8d697aa7
2015-07-23 08:19:08 -07:00
Terrence Cole f991f40d10 Bug 1186626 - Part 4: Convert ShapeVectors in jsobj.cpp; r=jonco
--HG--
extra : rebase_source : cc53efca03136ddf3486bda6d750aa6c8cf6e709
2015-07-23 08:19:08 -07:00
Terrence Cole 225917115e Bug 1190457 - Replace AutoPropertyDescriptorVector with normal Rooted usage; r=jonco
--HG--
extra : rebase_source : f4dcbc4732affa1097483798f053dc6788f3354d
2015-08-03 17:30:47 -07:00
Wes Kocher a1f92b90f8 Merge m-c to inbound, a=merge 2015-08-04 14:55:21 -07:00
Dustin J. Mitchell c282e7ee64 Bug 1188780: remove setup.sh invocations, as they fail outside the mock environment; r=glandium a=RyanVM
--HG--
extra : commitid : 3HR6gFf4X5d
extra : amend_source : 3dd92f09fe8be68ade544131f4d266c77df6b9a5
2015-08-04 17:41:07 -04:00
Mike Hommey aecd8d231d Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
(relanding of http://hg.mozilla.org/mozilla-central/rev/a9d3df6e14e0)

--HG--
extra : commitid : GDNpuogmPyb
extra : amend_source : 91e46c707c6f244f7951dc44d9313d00dd0f2b1e
2015-08-04 17:26:11 -04:00
Ryan VanderMeulen 1d5a6d99ea Merge inbound to m-c. a=merge 2015-08-04 15:53:06 -04:00
Ryan VanderMeulen 153b5ed799 Merge fx-team to m-c. a=merge 2015-08-04 15:50:01 -04:00
Ryan VanderMeulen 6937c1a640 Backed out changeset a9d3df6e14e0 (bug 1188780) for causing bug 1190860. a=bustage 2015-08-04 15:21:57 -04:00
Till Schneidereit 241d068c5e Bug 1190727 - Make initialization of temporary results array resilient against Array.prototype setters in self-hosted Map#next implementation. r=jandem
--HG--
extra : rebase_source : a934d2238d373178e51cb5b7e254c2702909b2f2
2015-08-04 14:58:27 +02:00
Carsten "Tomcat" Book 23bed70f46 Merge mozilla-central to fx-team 2015-08-04 13:45:01 +02:00
Carsten "Tomcat" Book 7f6975f7d3 Backed out changeset d4d78ac3f0d2 (bug 1190074) for memory leaks 2015-08-04 11:35:03 +02:00
Nicolas B. Pierron 9ac5d002ee Bug 1189750 - Fix JSScript::getPCCounts to return a reference instead of a copy. r=bhackett 2015-08-04 11:03:03 +02:00
Andrew McCreight 411609d79a Bug 1155773 - Remove gotos from XPCConvert::NativeArray2JS(). r=bholley
--HG--
extra : rebase_source : 4025b380f63bf87dae43becde7b5cf21ffc4ac0a
2015-08-03 11:47:00 +02:00
Nicholas Nethercote d98d14fa1e Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

--HG--
extra : rebase_source : f98420176f50990bbc5a25e35788328154cfeb00
2015-07-30 21:19:57 -07:00
David Rajchenbach-Teller 7a8967cd5d Bug 1188616 - CPOW monitoring should use JS_Now instead of PR_IntervalNow. r=jandem
--HG--
extra : transplant_source : %B1%1C2%98%5C%83.b%C6%D0%C1%A9%AF5%03%22%06g%3E%7B
2015-07-30 14:29:52 +02:00
Sean Stangl 6dfab1fc9a Bug 1188650 - Part 2/2 - Make shared/LOpcodes-shared.h. r=nbp 2015-08-03 15:48:19 -07:00
Sean Stangl e465ac7a5f Bug 1188650 - Part 1/2 - Rename LIR-Common.h to shared/LIR-shared.h. r=nbp 2015-07-28 15:25:07 -07:00
David Rajchenbach-Teller 89be58a771 Bug 1190074 - PerformanceGroup now uses mozilla::RefPtr. r=jandem
--HG--
extra : transplant_source : %BB%CB%C2%7B%85%19%C4z%27%25%B8%BB%B8p%3F%C0%ED%B9%00%18
2015-07-27 23:01:42 +02:00
Ryan VanderMeulen e92385c9c6 Merge m-c to inbound. a=merge
CLOSED TREE
2015-08-04 15:54:01 -04:00
Kannan Vijayan 0105dc12a5 Bug 1145442 - Add documentation for JIT strategies. r=shu 2015-08-04 09:58:00 -04:00
Andrew McCreight c3dc941170 Bug 1190436 - Part 2: Use an early return in XPCConvert::JSObject2NativeInterface. r=gabor 2015-08-03 11:48:00 -04:00
Andrew McCreight 074f97cf4c Bug 1190436 - Part 1: Use more smart pointers in XPConnect. r=gabor 2015-08-03 11:47:00 -04:00
Mike Hommey 1ad743e164 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-08-04 07:05:23 +09:00
Mike Hommey c2ba6b7aa9 Bug 1186748 - Switch hazard and root analysis builds to Gtk+3. r=mshal 2015-08-04 07:05:21 +09:00
Brian Hackett 0f1cdda9e1 Bug 1176451 - Optimize Array.concat when used on different types of boxed vs. unboxed arrays, r=jandem. 2015-08-03 14:32:40 -07:00
Brian Hackett 636412d090 Bug 1182865 - Relax assertion on the allowed class for home objects, r=efaust 2015-08-03 14:02:23 -07:00
Boris Zbarsky bf180d5715 Bug 1181908. The CompileOptions constructor should properly copy the introducerFilename and isRunOnce state. r=luke 2015-08-03 11:51:57 -04:00
Terrence Cole 2c74e200cd Bug 1189906 - Remove the unused UseSavedRoots enum; r=jonco
--HG--
extra : rebase_source : 62ef5c2c63d11305dc30f9b1a76020a8705a2c77
2015-07-31 13:07:13 -07:00
Terrence Cole 6aaa2346d4 Bug 1189112 - Part 2: simplify rooting of ScriptsAndCountsVector with PersistentRooted; r=nbp
--HG--
extra : rebase_source : 7f340bb113b917d5818823c6567aa677df1d963a
2015-07-29 14:59:49 -07:00
Terrence Cole 8ca6843051 Bug 1189112 - Part 1: Use TraceableVector to simplify tracing of ScriptsAndCountsVector; r=nbp
--HG--
extra : rebase_source : 7ef9fc2d7841fadf4e607ff9d383083f69f0c26e
2015-07-29 14:59:49 -07:00
Terrence Cole 8a66130f59 Bug 1189072 - Make DefaultTracer for struct types call T::trace; r=fitzgen
--HG--
extra : rebase_source : b2f06cc6128d2470363d8a96229434222a0ffb01
2015-07-29 14:59:49 -07:00
Terrence Cole b9287719d8 Bug 1188620 - Use PersistentRooted for asyncActivation roots; r=fitzgen
--HG--
extra : rebase_source : fa9d7ce19d68b9571e733da12d6edb3d9cd2d810
2015-07-29 10:23:14 -07:00
Terrence Cole 5642c1e57a Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 388eda7d637ed89ef2da99408caec9ea91ca61cd
2015-07-28 09:21:32 -07:00
Terrence Cole b63cc4b216 Bug 1189809 - Remove the ill-fated DynamicTraceable; r=jonco
--HG--
extra : rebase_source : 31b4c475a8459ef42f2be68bbf0f1ca3d5b7d0d4
2015-07-31 08:27:12 -07:00
Carsten "Tomcat" Book 9a0fd3701a Backed out changeset 00726df4997c (bug 1190074) for bustage on a CLOSED TREE 2015-08-03 17:06:15 +02:00
Carsten "Tomcat" Book 3099b49bbd Backed out changeset e057fc16e2e0 (bug 1187233) for breaking GU tests in month_day_agenda_test.js on a CLOSED TREE 2015-08-03 16:25:56 +02:00
Ryan VanderMeulen cff5fd2fd2 Backed out changeset 85e86b04035c (bug 1188616) for bustage.
CLOSED TREE

--HG--
extra : amend_source : 20a356e63a9d02241fab881ad089ab2eb4a68c0f
2015-08-03 10:18:20 -04:00
Ryan VanderMeulen 056da3e011 Backed out changeset c8d9d720a30e (bug 1190077) for Android bustage.
CLOSED TREE

--HG--
rename : js/src/vm/Time.cpp => js/src/prmjtime.cpp
rename : js/src/vm/Time.h => js/src/prmjtime.h
extra : amend_source : f55a8e8fbb4d3ea33b999f906a1aeb756a7c4319
2015-08-03 09:54:50 -04:00
David Rajchenbach-Teller 9bc7e118ef Bug 1190074 - PerformanceGroup now uses mozilla::RefPtr. r=jandem
--HG--
extra : transplant_source : x%7E%0B%A2%16q%2A%EA%9BB%E0%E5vII%1B%81%C4v%9B
2015-07-27 23:01:42 +02:00
David Rajchenbach-Teller 0ee3baf799 Bug 1188616 - CPOW monitoring should use JS_Now instead of PR_IntervalNow. r=jandem
--HG--
extra : transplant_source : %B9h%9D%1B%CF%19%D5%D9%D2%BDo.%3D%D9%EB%0E%03%EF%95%B7
2015-07-30 14:29:52 +02:00
Carsten "Tomcat" Book 49d83b3b7d Merge mozilla-central to mozilla-inbound 2015-08-03 15:45:57 +02:00
Carsten "Tomcat" Book ecaa52f350 Backed out changeset d093c57c6835 (bug 1186748) for causing Bug 1190180 2015-08-03 14:36:14 +02:00
Carsten "Tomcat" Book 9b61dabe97 Backed out changeset 2238409de271 (bug 1188780) 2015-08-03 14:35:03 +02:00
Shu-yu Guo ae6469ddd5 Bug 1179063 - Cleanup: remove useless pn_index. (r=me) 2015-08-02 15:11:39 -07:00
Shu-yu Guo c04b0be1f1 Bug 1182730 - Followup: only mark the JitcodeGlobalMap when profiling is on. (r=djvj) 2015-08-02 15:11:39 -07:00
Till Schneidereit 9c202fac81 Bug 1129313 - Part 2: self-host MapIteratorObject#next(). r=jandem 2015-08-01 00:13:26 +02:00
Wes Kocher 6cd7de0f35 Backed out 4 changesets (bug 1189490) for build and SM bustage CLOSED TREE
Backed out changeset c0eef95cd0cb (bug 1189490)
Backed out changeset 5158c4514c34 (bug 1189490)
Backed out changeset 78f80496c70a (bug 1189490)
Backed out changeset cebec1f7c9db (bug 1189490)
2015-07-31 14:10:30 -07:00
Nick Fitzgerald 05d1373996 Bug 1189490 - Follow ups: Move [Traceable]Fifo to js/src/ds; r=terrence
--HG--
rename : js/public/Fifo.h => js/src/ds/Fifo.h
rename : js/public/TraceableFifo.h => js/src/ds/TraceableFifo.h
2015-07-31 13:27:44 -07:00
Nick Fitzgerald cacf0e7718 Bug 1189490 - Part 2: Stop using mozilla::LinkedList for the allocations and tenure promotions logs and use js::TraceableFifo instead; r=terrence 2015-07-31 13:27:44 -07:00
Nick Fitzgerald 9fab7634d7 Bug 1189490 - Part 1: Add a StaticTraceable version of the FIFO queue for use with GC things; r=terrence 2015-07-31 13:27:44 -07:00
Nick Fitzgerald f0948c0e7a Bug 1189490 - Part 0: Add a FIFO queue container type to js/public; r=terrence 2015-07-31 13:27:44 -07:00
Boris Zbarsky 57621e1167 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Mike Hommey fca3b07577 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-07-31 16:42:07 +09:00
Mike Hommey ff7a038039 Bug 1186748 - Switch B2G desktop, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-31 16:39:10 +09:00
Shu-yu Guo 7a9e7ed01c Bug 1179063 - Cleanup: Rename scopal back to scopeStmt. (r=me) 2015-07-30 22:17:04 -07:00
Shu-yu Guo c62209ec7d Bug 1179063 - Cleanup: remove dead argument to Parser::parse. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo b12e82d49e Bug 1179063 - Cleanup: rename top -> innermost, down -> enclosing in StmtInfoStack. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo 38b0594b81 Bug 1179063 - Cleanup: remove topStaticScope in favor of using topScopeStmt. (r=efaust)
This is to distinguish between getting the top scope associated with a
statement local to the script, or the innermost scope, which may not be
local to the script.
2015-07-30 22:17:04 -07:00
Shu-yu Guo 33d46afa7e Bug 1179063 - Cleanup: use StmtInfoStack inside BCE and remove templated StmtInfo helper functions. (r=efaust)
The BCE did not get the RAII treatment the Parser got, because all the
enter/exit scope operations in the BCE are fallible. Separating out the
fallible paths from the statement stack management made things less
readable.
2015-07-30 22:17:04 -07:00
Shu-yu Guo ffa741f3de Bug 1179063 - Cleanup: use an RAII struct to manage the parser statement stack. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo 5aed9ed0d5 Bug 1179063 - Cleanup: remove superfluous StmtInfoBase::isNestedScope. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo 65db0e7c9b Bug 1179063 - Cleanup: make StmtType an enum class. (r=efaust) 2015-07-30 22:17:04 -07:00
Nicholas Nethercote 2d56c1f52e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.

--HG--
extra : rebase_source : b1d51096a8e7dcac29d7efd92e28938836ff5481
2015-07-29 22:28:20 -07:00
Terrence Cole 58421b285d Bug 1166041 - Wait for nursery sweeping to finish before shutting down; r=jonco
--HG--
extra : rebase_source : 3e72487ba789cd5825612253c87d52df0304ff3e
2015-07-29 08:57:14 -07:00
Jeff Walden 1016abaae4 Bug 1183400 - Remove a now-unused variable, following up on the ?:/if-node folding changes. r=trivial, r=orange in a CLOSED TREE 2015-07-30 16:58:58 -04:00
Jeff Walden 9e00194b7d Bug 1183400 - Fold binary arithmetic operations by kind, not arity. r=efaust
--HG--
extra : rebase_source : e8a14de4979b2f991e4460348bc7da62a0d6b902
2015-07-08 13:54:14 -07:00
Jeff Walden 3a68b925b9 Bug 1183400 - Fold function nodes by kind. r=efaust
--HG--
extra : rebase_source : 86c204a7eabe05b9f435b835a6da74f251e8926c
2015-07-08 13:54:14 -07:00
David Rajchenbach-Teller f2d723c01e Bug 1190077 - Move RDTSC and prmjtime.* to vm/Time.*. r=nbp
CLOSED TREE

--HG--
rename : js/src/prmjtime.cpp => js/src/vm/Time.cpp
rename : js/src/prmjtime.h => js/src/vm/Time.h
extra : transplant_source : %1A%F6pd%BD%DB%C6%3F%0Ce%3C%8E%9B%9C%16j%19m%ABA
2015-07-07 18:47:40 +02:00
David Rajchenbach-Teller ff2d4eea01 Bug 1190077 - Move RDTSC and prmjtime.* to vm/Time.*. r=nbp
--HG--
rename : js/src/prmjtime.cpp => js/src/vm/Time.cpp
rename : js/src/prmjtime.h => js/src/vm/Time.h
extra : transplant_source : D%93lf%20%074%5D%DBH%03%DC%EF%3E%E9IL%E4x%A3
2015-07-07 18:47:40 +02:00
Jon Coppeard d9201b8c3d Bug 1189722 - Fix const methods in MutableTraceableVectorOperations r=terrence 2015-08-03 11:47:11 +01:00
Spenser Andrew Bauman 3d91cf2d79 Bug 1189117 - IonMonkey: treat ObjectState instructions as effect free for the purposes of AliasAnalysis. r=nbp 2015-07-30 10:05:00 +02:00
Giovanni Sferro 8594823f0a Bug 1187233 - Date constructor creates a copy when called with a Date object. r=jwalden
--HG--
extra : transplant_source : %A7%A1%98%DF%A1%0EtsP%2A%C2%0F%C6%A8Q%5CS%95%D1%BD
2015-07-29 22:47:51 -07:00
Jeff Walden 52ebaf1335 Bug 1183400 - Fold and/or expressions. r=efaust
--HG--
extra : rebase_source : c7fc9818829a44461e12601863d498293c2e919a
2015-05-28 13:47:54 -07:00
Jeff Walden 16aed0f1eb Bug 1183400 - Fold various simple unary cases by kind. r=efaust
--HG--
extra : rebase_source : 9b32415c40cc5438e3fee3e6adea4ac34f65284b
2015-05-22 19:02:41 -07:00
Jeff Walden a5e52cd227 Bug 1183400 - Fold |if| nodes by kind. r=efaust
--HG--
extra : rebase_source : a9c717fd94ba5950e24dd4e67ace07187b8f2d1a
2015-07-08 13:54:14 -07:00
Jeff Walden 282726b77d Bug 1183400 - Fold ?: expressions by kind. r=efaust
--HG--
extra : rebase_source : d35c13dc3c60b47aa558c8ed3f0bfdac4c94108e
2015-07-08 13:54:14 -07:00
Ian Stakenvicius f40d8624a1 Bug 1189011 - Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa). r=jandem 2015-07-29 12:06:00 -04:00
Ryan VanderMeulen 4bd08c521b Merge m-c to inbound. a=merge 2015-07-30 16:09:17 -04:00
Ryan VanderMeulen 7c486ed4c2 Merge inbound to m-c. a=merge 2015-07-30 16:08:21 -04:00
Ryan VanderMeulen bbe2cb322a Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-30 11:56:41 -04:00
Ryan VanderMeulen efd357143c Backed out changeset ada6cd4da281 (bug 1186748) for introducing various intermittent ASAN mochitest failures. 2015-07-30 11:52:49 -04:00
Alexandre Poirot 5f9afbc4de Bug 1182194 - Convert LayoutHelpers.jsm into a commonjs module. r=jwalker
--HG--
rename : toolkit/devtools/LayoutHelpers.jsm => toolkit/devtools/layout-helpers.js
2015-07-30 06:14:08 -07:00
Mike Hommey 5bb3772feb Bug 1186748 - Switch B2G desktop, ASan, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-30 08:49:29 +09:00
Wes Kocher 8b46dd40ed Backed out changeset 54a082b01174 (bug 1188197) for various SM and CPP failures CLOSED TREE
--HG--
extra : amend_source : ab58a158fa9346c7c2b4991577f14119d0edbad8
2015-07-29 16:46:20 -07:00
Wes Kocher d883fd1c98 Backed out changeset a5c748f78e97 (bug 1188445) 2015-07-29 16:46:19 -07:00
Wes Kocher 8b30de19e8 Backed out changeset 6eebf397a8c2 (bug 1166041) 2015-07-29 16:46:18 -07:00
Terrence Cole 444e5712a9 Bug 1166041 - Wait for nursery sweeping to finish before shutting down; r=jonco
--HG--
extra : rebase_source : 69979426eea5b35354b22dc744e794ed33438398
2015-07-29 08:57:14 -07:00
Terrence Cole 3940b5fcb7 Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 822ae00de85dc8c32158628fb89ae1463e185aea
2015-07-28 09:21:32 -07:00
Terrence Cole 59f4a2e6df Bug 1188197 - Allow PersistentRooted to store DynamicTraceable; r=sfink
--HG--
extra : rebase_source : 0e997c9ff3450fcabafcde37e639951d2dcd15a5
2015-07-24 15:09:28 -07:00
Jim Blandy 414be8bf9b Bug 1180047: Debugger.prototype.findObjects should not return objects that must not be exposed to JS. r=fitzgen
--HG--
extra : rebase_source : b9f7cc2841ae717d57b5a29db0bde09a023bceb1
2015-07-06 11:43:22 -07:00
Sean Stangl 9cd47d44b6 Bug 1187094 - Part 2/2 - Fix non-unified build. r=efaust 2015-07-27 15:18:31 -07:00
Sean Stangl 07972b70ae Bug 1187094 - Part 1/2 - Move Lowering's visitConstant() to shared code. r=nbp 2015-07-23 15:26:52 -07:00
Ehsan Akhgari a056599e07 Bug 1188208 - Fix more constructors in js; r=jorendorff 2015-07-30 14:03:17 -04:00
Ryan VanderMeulen 5376cacdc0 Backed out changesets f251b3836314 and 47fe6e30240d (bug 1179063) for mass build bustage.
CLOSED TREE
2015-07-30 12:56:01 -04:00
Shu-yu Guo c288c0dbec Bug 1179063 - Cleanup: remove superfluous StmtInfoBase::isNestedScope. (r=efaust) 2015-07-30 09:25:41 -07:00
Shu-yu Guo bd87127dc7 Bug 1179063 - Cleanup: make StmtType an enum class. (r=efaust) 2015-07-30 09:25:41 -07:00
Jon Coppeard 554ecd17bc Bug 1188836 - Fix compacting GC zone selection by passing total arena count to ShouldRelocateZone() r=terrence 2015-07-30 11:04:12 +01:00
Jon Coppeard d4df6b7824 Bug 1188936 - Release/protect relocated arenas earlier r=terrence 2015-07-30 11:02:27 +01:00
Jon Coppeard 7e545d5e6d Bug 1188408 - Udate cell pointers after updating roots at the end of compacting a zone r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard 95afc83e95 Bug 1188408 - Make incremental zeal mode exercise compacting GC too r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard 9322a5d071 Bug 1188408 - Simplify ArenasToUpdate iteration r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard 81cbb1f051 Bug 1188408 - Rearrange relocation overlay so we don't change object group during compacting r=terrence 2015-07-30 10:55:51 +01:00
Jon Coppeard 60e23a7361 Bug 1188408 - Factor out functions to protect/unprotect pages on different architectures r=terrence 2015-07-30 10:55:51 +01:00
Jon Coppeard 3f7e77bc16 Bug 1155618 - Fix OOM issues related to AsmJS compilation r=terrence r=luke 2015-07-30 10:55:51 +01:00
Terrence Cole 95d0a143d2 Bug 1185106 - Part 1: Exclude StoreBuffer.cpp from unified build to prevent build bustage. r=efaust 2015-07-28 11:48:16 -07:00
Nathan Froyd 16716c50a2 Bug 1188555 - part 2 - remove write-only configure.in variables MKSHLIB_{UN,}FORCE_ALL; r=mshal 2015-07-28 14:08:08 -04:00
Nathan Froyd 7713f24298 Bug 1188555 - part 1 - remove write-only configure.in variable NO_LD_ARCHIVE_FLAGS; r=mshal 2015-07-28 14:07:07 -04:00
Ryan VanderMeulen fb6b2747d5 Bug 1180017 - Fix up the badly-horked backout and re-land.
CLOSED TREE

--HG--
extra : amend_source : 0b7ac18429b248cf05cfe33f6b2f6efdf1602c38
extra : histedit_source : bdb11dafa100809ec17491e5711fb0b507e023c6%2C5e4134650a804859dc8b3078688fa4655052263f
2015-07-29 12:31:47 -04:00
Jim Blandy 0c3022d593 Bug 1180985 - Implement a JS GDB pretty-printer for JS::GCCellPtr. r=sfink 2015-07-06 18:00:02 -07:00
Jim Blandy 805ac8eae4 Bug 1180984 - JS GDB pretty-printers: Support Python 3. r=sfink 2015-07-07 08:35:58 -07:00
Jim Blandy 4e8fc0bdcb Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Carsten "Tomcat" Book 25a2a75a56 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Carsten "Tomcat" Book 3f86b89c01 Backed out changeset c10672836664 (bug 1180984) 2015-07-29 15:26:17 +02:00
Carsten "Tomcat" Book 2b2184326d Backed out changeset e50e7d030a33 (bug 1180985) 2015-07-29 15:26:12 +02:00
Mike Kaply 68b080c7c5 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
--HG--
extra : rebase_source : 4527671894b43e60e16d4b6be5e6af55b68b6ebe
2015-07-28 13:57:55 -05:00
Johannes Schulte ab384724ae Bug 1038859 - Add symbol-support to Baseline GetElem ICs. r=djvj 2015-04-07 17:49:36 +02:00
Hannes Verschore 78d5d7d803 Bug 1186271: IonMonkey: Honor truncated flag during folding of binary operations, r=nbp 2015-07-29 09:10:08 +02:00
Nick Fitzgerald 3d6e229b53 Bug 1136806 - Fix assertion failure with Debugger and oomAfterAllocations; r=shu 2015-07-28 23:00:09 -07:00
Jim Blandy d6552638ae Bug 1180985: Implement a JS GDB pretty-printer for JS::GCCellPtr. r=tromey
--HG--
extra : rebase_source : 3099fcc047e75c9247b92d50294350740ca69cc5
2015-07-06 18:00:02 -07:00
Jim Blandy 6ca6aa7a1d Bug 1180984: JS GDB pretty-printers: Support Python 3. Fix 'Rooted' bitrot. r=sfink
--HG--
extra : rebase_source : ba778f166d63aae2862f02e45c984f8228fde851
2015-07-28 16:32:48 -07:00
Jim Blandy ff7cc06ef6 Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence
--HG--
extra : rebase_source : 4a381c5d8427ad2995426e65c69af1597b1557c2
2015-07-07 09:52:01 -07:00
Spenser Andrew Bauman eb06b5c771 Bug 1187511 - IonMonkey: Make use of callsite type information when refining |this| parameter. r=jandem 2015-07-28 10:33:00 -04:00
Wes Kocher 2bfa537c29 Backed out 5 changesets (bug 1167409) for mochitest chrome failures in test_settings_service.xul CLOSED TREE
Backed out changeset 08653d62e6c0 (bug 1167409)
Backed out changeset 211b839cfcda (bug 1167409)
Backed out changeset 4264d30f4b03 (bug 1167409)
Backed out changeset 95a7f1251dd4 (bug 1167409)
Backed out changeset b88cb51c1f77 (bug 1167409)
2015-07-28 15:45:39 -07:00
Kannan Vijayan ea3bc8f41c Bug 1167409 - 5/5 - Initialize ScriptSourceObject even when off-main-thread compilation fails. r=jandem 2015-07-28 17:03:57 -04:00
Kannan Vijayan e4afad4778 Bug 1167409 - 4/5 - Off-thread compile blocking scripts. r=smaug 2015-07-28 17:03:56 -04:00
Andrew McCreight 6e8552d49a Bug 1185527 - Split out a refcountless base class for nsScriptError. r=gabor
This avoids shadowing the refcount if nsScriptErrorWithScript inherited from nsScriptError.
2015-07-28 16:51:10 -04:00
Nick Fitzgerald 0b8a936ed9 Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald bf43a97b2c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald c014d4c6dc Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 871954ed90 Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 9913ef1d50 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 15cabfd452 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 732bacd77d Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 1b95f69ccc Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-28 13:04:56 -07:00
Boris Zbarsky 7f23917eb0 Bug 1176568. Fix the proto cycle checking to work correctly for inner/outer globals. r=waldo 2015-07-28 12:38:26 -04:00
Terrence Cole 31d9fa3fe0 Bug 1188129 - Use a universal constructor to create and init PersistentRooted; r=jonco
--HG--
extra : rebase_source : 73ef9f22833f266a2f3978f0875728fc42fd2a61
2015-07-24 15:08:09 -07:00
Terrence Cole a4087728b5 Bug 1188124 - Use rootKind to select the right PersistentRooted list head; r=sfink
--HG--
extra : rebase_source : 8f2df6b63bddaac62e2b9def8564432625efaaaf
2015-07-23 14:05:53 -07:00
Terrence Cole a161a3e370 Bug 1187985 - Make PersistentRooted use rootKind to find its lists; r=sfink
--HG--
extra : rebase_source : 8bb85ef62332c50e1be3d6544a91521b635666ea
2015-07-23 08:19:08 -07:00
Carsten "Tomcat" Book ce5ca9b688 Backed out changeset 0afe24f16cf4 (bug 1152512) for bustage 2015-07-28 14:38:01 +02:00
Mike Kaply 1acb520ff0 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap 2015-07-28 07:13:26 -05:00
Xi Yang ab766dff4e Bug 1090695 - Reduce indent in Parser<ParseHandler>::expr. r=arai 2015-07-27 22:48:50 +08:00
Wes Kocher 8c8c620553 Backed out 8 changesets (bug 1028418) for assertions in SavedStacks.cpp:103 CLOSED TREE
Backed out changeset 8f20146ce3c8 (bug 1028418)
Backed out changeset f6e78ff75f4b (bug 1028418)
Backed out changeset caf840e71590 (bug 1028418)
Backed out changeset ba47cb00a938 (bug 1028418)
Backed out changeset 3f298220d712 (bug 1028418)
Backed out changeset 7c2555a6e32e (bug 1028418)
Backed out changeset ed9287cd152a (bug 1028418)
Backed out changeset 88a5c0415403 (bug 1028418)
2015-07-27 17:52:01 -07:00
Mariusz Kierski c897d05bdb Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem)
* * *
Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo)
2015-07-27 13:21:11 -07:00
Nick Fitzgerald 7b4828fcdf Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 47c99b513c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 0d13e50daf Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald b14b62b41c Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 2aa99a0d31 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 35403e6c00 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald faccf78e75 Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 3f547195c0 Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-27 16:33:34 -07:00
Wes Kocher 9c5c217c21 Backed out changeset e01d0f7a3c6f (bug 1135708) for spidermonkey errors CLOSED TREE 2015-07-27 15:22:40 -07:00