Commit Graph

36800 Commits

Author SHA1 Message Date
Brian Hackett
e95fdd5ba8 Bug 890636 - Remove JSOPTION_PCCOUNT, r=jandem. 2013-07-08 09:17:35 -06:00
Jan de Mooij
2ea6123fbe Bug 890414 - Fix backtracking allocator to track slots/elements pointers in safepoints. r=bhackett 2013-07-08 16:16:41 +02:00
Brian Hackett
9eae4c84a5 Bug 887549 - Don't handle destructuring shorthand in syntax parser, r=jandem. 2013-07-08 07:08:15 -06:00
Brian Hackett
31661ab665 Bug 886803 - Populate both script and function box bindings for new Function() functions, so heavyweight tests work, r=jandem. 2013-07-08 07:01:20 -06:00
Jan de Mooij
6bf5879ba3 Bug 890524 - Fix Ion perf regression with SETELEM and double arrays. r=h4writer 2013-07-08 12:47:27 +02:00
Shu-yu Guo
b959a50592 Bug 881536 - Part 4: Implement ParallelGetElementIC. (r=nbp) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
582bd4255c Bug 881536 - Part 3: Pure path for GetElement in the VM. (r=bhackett) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
38614b2ab9 Bug 881536 - Part 2: Refactor initializeAddCacheState into DispatchIonCache. (r=nbp) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
79233fc7a6 Bug 881536 - Part 1: Factor out stubbedShape logic to ParallelIonCache. (r=nbp) 2013-07-08 03:24:54 -07:00
Shu-yu Guo
602953a0fb Bug 881574 - Part 2: Support Array.length for ParallelGetPropertyIC. (r=nbp) 2013-07-08 03:24:54 -07:00
Shu-yu Guo
3186de6379 Bug 881574 - Part 1: Support Array.length in GetPropertyPure. (r=bhackett) 2013-07-08 03:24:54 -07:00
Dan Gohman
a25460eaeb Micro-optimize a hot spot in LinearScan; this partially addresses Bug 741317. r=jandem 2013-07-07 22:11:39 -07:00
Nicholas Nethercote
4b9e8c3302 Bug 890192 (part 5) - Slim down jscntxtinlines.h. r=terrence.
--HG--
extra : rebase_source : 699aa06a514d801ad15b33c64e5deaaae3e4b35a
2013-07-04 00:57:00 -07:00
Nicholas Nethercote
3d0526dcaa Bug 890192 (part 4) - Slim down jsgcinlines.h. r=terrence.
--HG--
extra : rebase_source : 6fd284d8b887ad89c1621c969286af7fa82d78bd
2013-07-04 00:55:46 -07:00
Nicholas Nethercote
8c57fd2dcd Bug 890192 (part 3) - Slim down jsstrinlines.h. r=terrence.
--HG--
extra : rebase_source : 554a1eb91ea60130c2aa3c5581d6b69831a57cfc
2013-07-03 19:53:18 -07:00
Nicholas Nethercote
56fe48dd1d Bug 890192 (part 2) - Slim down jsscriptinlines.h. r=terrence.
--HG--
extra : rebase_source : 5f374385b657ba28661ddd50a6b50344455de9af
2013-07-03 19:47:14 -07:00
Nicholas Nethercote
7d9cc8d540 Bug 890192 (part 1) - Slim down jsopcodeinlines.h. r=terrence.
--HG--
extra : rebase_source : 15755ff706fbbde8933fd083723faaafc9458613
2013-07-03 19:35:15 -07:00
Trevor Saunders
c9c3f11e7c bug 888493 - add MOZ_CONSTEXPR_VAR r=waldo 2013-06-28 17:34:51 -04:00
Randy Lin
1163c249a3 Bug 803414 - Part 0: Add RecordErrorEvent. r=smaug 2013-06-20 14:06:39 +08:00
Brian Hackett
9c7f5311bc Bug 886957 - Allow compiling even larger functions off thread, and increase use count thresholds for larger scripts, r=jandem. 2013-07-06 07:19:36 -06:00
Brian Hackett
2b85420a0e Backout 3f4d5bcba1fb (bug 883973). 2013-07-05 16:55:43 -06:00
Till Schneidereit
3338bb00a8 Bug 872644 - Rename UnsafeSetElement intrinsic to UnsafePutElements. r=shu
--HG--
extra : rebase_source : 0f7e49b1a29a33b38b6be3c77073e11d3d6373c9
extra : amend_source : 529aa068a6592e8f1b1c818dc7d29612b3528908
2013-07-05 21:57:43 +02:00
Ehsan Akhgari
fd1d2f2354 Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-05 13:57:28 -04:00
Till Schneidereit
6c4f14eea2 Bug 866471 - fix broken assert implementation. r=bustage 2013-07-05 16:06:31 +02:00
Sankha Narayan Guria
949aa5453c Bug 866471 - Change assert for self-hosted functions into debug-only macro. r=tschneidereit
--HG--
extra : rebase_source : ea2b8aa1f44f0d392e9fc2cc9d0631bd99c59b07
2013-07-05 14:39:21 +05:30
Nicholas Nethercote
17dbf3198f Bug 888083 (part 2) - Remove the final case where a vanilla .h file #includes an inline-header. r=jandem.
--HG--
extra : rebase_source : cd4497c7136e17ca25446644af25294c09108b89
2013-07-03 21:57:47 -07:00
Nicholas Nethercote
8243c30f2a Bug 888083 (part 1) - Remove all but one of the cases where a vanilla .h file #includes an inline-header. r=jandem.
--HG--
extra : rebase_source : db025d7525529f28dfa112f009597e9fe982cfef
2013-07-03 20:41:30 -07:00
Masatoshi Kimura
133cedaf8b Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Phil Ringnalda
7dd50910d4 Backed out changeset 454706720bbc (bug 888493) for build bustage
CLOSED TREE
2013-07-04 13:06:07 -07:00
Trevor Saunders
7e27dbafc9 bug 888493 - add MOZ_CONSTEXPR_VAR r=waldo 2013-06-28 17:34:51 -04:00
Shu-yu Guo
ae356504ad Bug 890249 - Have jit_test.py --tbpl also run the shell without any flags. (r=jandem) 2013-07-04 09:40:53 -07:00
Steve Fink
0fa76abb7c Bug 890076 - Move isConstructing to CallArgs, r=Waldo
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00
Nicholas Nethercote
8c4e0cb8fb Bug 889727 (part 2) - Slim down jsobjinlines.h some more. r=terrence.
--HG--
extra : rebase_source : a03d7da43acfb0eb0012778dd2366ce9a4bc2208
2013-07-02 22:14:20 -07:00
Nicholas Nethercote
b7c86690d8 Bug 889727 (part 1) - Make jsobj.h #include vm/Shape.h, instead of the other way around. r=terrence.
--HG--
extra : rebase_source : 4013f90e71be2fe36d04bb1eb08eeace728885ac
2013-07-02 21:58:57 -07:00
Steve Fink
34bf79adde Bug 889559 - Test management of the linked list of multiview ArrayBufferObjects in the overflow case where obj_trace is called multiple times. r=wmccloskey.
--HG--
extra : rebase_source : 9a582fbec66c1b89e994bb6d2a944760db9b9fcb
2013-07-02 13:40:11 -07:00
Nicholas Nethercote
ec6023a9ee Bug 889146 (part 16) - Rename jstypedarray.{h,cpp} as vm/TypedArrayObject.{h,cpp}. r=sfink.
--HG--
rename : js/src/jstypedarray.cpp => js/src/vm/TypedArrayObject.cpp
rename : js/src/jstypedarray.h => js/src/vm/TypedArrayObject.h
extra : rebase_source : a2004475244dfb691b1bb08c07d29f7fe01716ca
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
371d39417d Bug 889146 (part 15) - Remove jstypedarrayinlines.h. r=sfink.
--HG--
extra : rebase_source : 019bdcc8d44be12a6b6cabb88d87f081ed3fcb71
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
d1db18248c Bug 889146 (part 14) - Make DataViewObject::{byteLength,byteLengthValue,byteOffset,byteOffsetValue}() more sane. r=sfink.
--HG--
extra : rebase_source : a55357844d1495333aaa7c6310110704cd394656
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
bc3acd724c Bug 889146 (part 13) - Use appropriate methods from TypedArrayObject where appropriate. r=sfink.
--HG--
extra : rebase_source : 28c26ee1d503f4820515c15093661bc0850d5308
2013-07-02 20:58:38 -07:00
Nicholas Nethercote
f5bec1b37d Bug 889146 (part 12) - Remove JSObject::isTypedArray(). r=sfink.
--HG--
extra : rebase_source : 01cd2c6476d99ae663b6c43aa17df1515ad7adde
2013-07-02 20:58:38 -07:00
Nicholas Nethercote
c3e0eed6ed Bug 889146 (part 11) - Move some functions into TypedArrayObject and make its SLOT members private. r=sfink.
--HG--
extra : rebase_source : dc626c3c0df3cfea856dd7e5b49122c6ef092d36
2013-07-02 13:30:37 -07:00
Jeff Walden
82ee8701c9 Bug 496923 - Rerun update-test262.sh to account for the intl402-preloading changes. r=generating-script-was-reviewed
--HG--
extra : rebase_source : e4d32355eb16b94389e3c4089764ebd1923245d4
2013-07-02 18:41:23 -07:00
Jeff Walden
2fd31b4800 Bug 496923 - Update update-test262.sh to make the test262/intl402 tests work again. r=terrence
--HG--
extra : rebase_source : 9951491bd7e0c50f0581e096a7efb63881e59626
2013-07-02 18:41:23 -07:00
Jeff Walden
7dcdd2a789 Bug 496923 - Make jstest browser harness load browser.js/shell.js from every path component in the test path. r=terrence
--HG--
extra : rebase_source : 939028cffe76a3e62892804266ae5a861ef22fee
2013-07-02 18:41:13 -07:00
Dan Gohman
41c1769235 Bug 888280 - Move Loop out of LICM.h and into LICM.cpp r=evilpies 2013-07-03 15:23:05 -07:00
Dan Gohman
ae00e3dd0e Bug 888280 - Give several things in CTypes.cpp internal name linkage. r=evilpies 2013-07-03 15:23:05 -07:00
Dan Gohman
b350567abf Bug 889451 - Implement range analysis for or, xor, not, ursh, abs, min, and max, and better range analysis for shifts and mul. r=nbp 2013-07-03 15:07:35 -07:00
Sankha Narayan Guria
64daba3e69 date: Wed Jun 05 14:17:35 2013 -0500
Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
2013-07-03 15:49:18 -05:00
Mike Shal
d5df6bb361 Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Jan de Mooij
bb019cc3a4 Bug 888872 - Keep track of slots/elements pointers stored in Ion frames for generational GC. r=dvander,terrence 2013-07-03 20:27:39 +02:00
Terrence Cole
8e77fc67c6 Bug 888463 - Relocate hoisted elements/slots when their allocation moves during minor GC; r=billm 2013-07-02 11:37:45 -07:00
Terrence Cole
9833432481 Bug 888463 - Remove code to skip shrinkSlots for call objects. r=jandem 2013-07-02 11:24:47 -07:00
Bobby Holley
a2697cd423 Bug 860085 - Remove XPCCallContext refcounting optimization. r=gabor
We only use XPCCallContext for reflector calls now, at which point an AddRef
is totally insignificant. Using an auto pointer here lets us clean up some
code, and makes the XPCCallContext destructor start to look pretty sane. :-)
2013-07-03 11:05:20 -06:00
Bobby Holley
6aa989b495 Bug 860085 - Remove nsIXPConnect::ReleaseJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
919587b427 Bug 860085 - Stop using XPConnect::ReleaseJSContext in nsJSEnvironment::DestroyJSContext. r=gabor,mccr8
We now have the invariant that any in-use cx must be pushed onto the JSContext
stack with one of our stack-scoped automatic nsCxPusher classes. These classes
hold a strong ref to the nsIScriptContext associated with the JSContext they
push (if any). This means that, if this cx is in use, we will always have at
least one strong reference to the nsJSContext coming from the stack, meaning
that neither the destructor nor the Unlink() implementation will be called.
So we don't need to do any deferred destruction of the cx anymore.
2013-07-03 11:05:19 -06:00
Bobby Holley
6c10fadc89 Bug 860085 - Make XPCJSContextStack manipulators private to enforce that we go through the RAII classes. r=gabor
With this change, we can be very, very sure that we never push an nsJSContext
without instantiating an AutoCxPusher on the stack.
2013-07-03 11:05:19 -06:00
Bobby Holley
fbb5534815 Bug 860085 - Remove unused AutoPopJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
9316537b6d Bug 860085 - Rename xpc::{Push,Pop}JSContext and make them assert against DOM JSContexts. r=gabor 2013-07-03 11:05:18 -06:00
Bobby Holley
e11487b445 Bug 860085 - Use an AutoPushJSContext in XPCCallContext instead of doing it manually. r=gabor 2013-07-03 11:05:18 -06:00
Jan de Mooij
ed5a9e1467 Bug 889825 - Eliminate more bounds checks when double arrays are used. r=h4writer 2013-07-03 18:55:01 +02:00
Shu-yu Guo
5f16c99706 Bug 888470 - Sweep parallelStringConcatStub_. (r=djvj) 2013-07-03 09:47:29 -07:00
Shu-yu Guo
f5327c618c Bug 888837 - Fix tagging of callee token in arguments rectifier. (r=jandem) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
2c943a13c8 Bug 887921 - Don't toggle GC write barriers in parallel execution. (r=sstangl) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
59332435c0 Bug 886102 - Ignore idempotency for parallel ICs. (r=nmatsakis) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
0dfdf16c33 Bug 886101 - Only int32-specialized bitwise ops should be marked safe in parallel. (r=nmatsakis) 2013-07-03 09:47:28 -07:00
Brian Hackett
ba3567739d Bug 886960 - Reuse types from previous analyses of a loop when rebuilding inner loops, r=jandem. 2013-07-09 08:50:24 -06:00
Kyle Huey
ab927a2cc9 Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff 2013-07-09 07:28:15 -07:00
Dan Gohman
8f882aefc9 Bug 891119 - IonMonkey: Simplify RegisterSet usage by using takeUnchecked instead of has and take. r=h4writer 2013-07-09 07:03:18 -07:00
Dan Gohman
2129da722f Bug 891119 - IonMonkey: Small cleanups, delete unused (and buggy) code. r=h4writer 2013-07-09 07:03:07 -07:00
Shu-yu Guo
43d297b457 Bug 891323 - Remove the 'no-ion' jit-test flag from expression-autopsy.js now that it passes. (rs=jorendorff) 2013-07-09 06:22:39 -07:00
Nathan Froyd
8f403db6a7 Bug 887902 - move --enable-debug{,-symbols} option processing before MOZ_COMPILER_OPTS; r=glandium
MOZ_COMPILER_OPTS depends on MOZ_DEBUG_FLAGS being set for proper checking of
linker dead code deletion when using GCC.

GC'ing sections saves ~1.5MB off of mobile libxul according to size(1):

[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
23733400	2314816	1495973	27544189	1a44a7d	/opt/build/froydnj/build-android/dist/bin/libxul.so
[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
22261936	2145116	1494533	25901585	18b3a11	/opt/build/froydnj/build-android/dist/bin/libxul.so
2013-06-27 13:50:54 -04:00
Hannes Verschore
d9d83d3b78 Bug 886966: OdinMonkey: Fix FFI calls when passing arguments from the stack on ARM, r=mjrosenb 2013-07-09 14:03:24 +02:00
Jan de Mooij
f8b227ecf0 Bug 864400 - Optimize ModI for non-constant power-of-2 divisors. r=h4writer 2013-07-09 10:23:58 +02:00
Nicholas Nethercote
c973eb0585 Bug 890784 (part 2) - Fix up #includes after the creation of the vm/Runtime module. r=wmccloskey. 2013-07-07 23:23:59 -07:00
Nicholas Nethercote
9dcfbf0290 Bug 890784 (part 1) - Create a new vm/Runtime module and put JSRuntime in it. r=wmccloskey.
--HG--
rename : js/src/jscntxtinlines.h => js/src/vm/Runtime-inl.h
rename : js/src/jscntxt.cpp => js/src/vm/Runtime.cpp
rename : js/src/jscntxt.h => js/src/vm/Runtime.h
2013-07-07 23:18:48 -07:00
Makoto Kato
0c12a0cd10 Bug 890171 - Cleanup old jaegermonkey defines in js/sc/configure. r=luke 2013-07-09 14:30:11 +09:00
Jed Davis
01058d2707 Bug 888578 - Extend ARM masm's floatArgsInGPR workaround to memory loads. r=mjrosenb
The move resolver doesn't understand using a pair of registers, which
we have to do on ARM softfp to pass doubles in the integer registers,
if they occur early enough in the argument list.  We had a workaround
(see uses of floatArgsInGPR) for when the argument is moved from a float
register; this change extends it to handle loading from memory.
2013-07-03 09:21:50 -04:00
Jan de Mooij
2e279d4626 Bug 886277. r=djvj 2013-07-03 14:34:11 +02:00
Jan de Mooij
140b09117d Bug 799122 - Eagerly allocate dense elements for small arrays. r=luke 2013-07-03 13:17:29 +02:00
Hannes Verschore
1600c71277 Bug 886255 - Let activatation of inactive JitActivation behave more closely to the construction of active JitAction, r=jandem 2013-07-03 10:41:17 +02:00
Hannes Verschore
2f3402d7c9 Bug 886287 - OdinMonkey: Push the descriptor/argc filling the full pointer size, r=luke 2013-07-03 10:33:41 +02:00
David Anderson
71e7bc4fc9 Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00
Bobby Holley
c7b3ef9ae5 Bug 882905 - Remove hasVersion from js::CompartmentOptions. r=luke 2013-07-02 23:30:37 -06:00
Nicholas Nethercote
cee49f5516 Bug 889146 (part 10) - Clean up ArrayBufferObject a bit. r=sfink.
--HG--
extra : rebase_source : dab1cfca56c7d46df5a07af02a62b197587ca629
2013-07-02 13:27:12 -07:00
Nicholas Nethercote
383befa2f9 Bug 889146 (part 9) - Clean up DataViewObject a bit. r=sfink.
--HG--
extra : rebase_source : 9cce2029b9eceaa5e1dbff54ced913179213b262
2013-07-02 13:19:18 -07:00
Nicholas Nethercote
353049b2ba Bug 889146 (part 8) - Move some functions into ArrayBufferViewObject and make its SLOT members protected. r=sfink.
--HG--
extra : rebase_source : 01e19458a6499da4fa296aed0c56203d414fff44
2013-07-02 13:06:12 -07:00
Nicholas Nethercote
f37f83f3f0 Bug 889146 (part 7) - Rename Int8Array as Int8ArrayObject, and likewise for othe typed array classes. r=sfink.
--HG--
extra : rebase_source : 6343032a019e86cdfae64a8319b5b189969c823f
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
80516ce3d1 Bug 889146 (part 6) - Rename TypedArrayTemplate as TypedArrayObjectTemplate, and ThisTypeArray as ThisTypedArrayObject. r=sfink.
--HG--
extra : rebase_source : df4c83ec555e0436efb1769e64f722fc1f30a2b0
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
32abc7ea9a Bug 889146 (part 5) - Rename TypedArray as TypedArrayObject. r=sfink.
--HG--
extra : rebase_source : 2eb626fb70a2ef510705c5d9d1fd483871158059
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
892574f1d8 Bug 889146 (part 4) - Rename DataView as DataViewObject in comments, where appropriate. r=sfink.
--HG--
extra : rebase_source : 917e1a47c6bc53f8021b03e70582a1a6745fc309
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
8f27c095d6 Bug 889146 (part 3) - Rename BufferView as ArrayBufferViewObject. r=sfink.
--HG--
extra : rebase_source : 5aab8be3c4a115d47c68e803044f7f99ffc23021
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
1475eae60d Bug 889146 (part 2) - Rename ArrayBuffer as ArrayBufferObject in comments, where appropriate. r=sfink.
--HG--
extra : rebase_source : 6827010b81847ca02dd297dab526ea6850cbb446
2013-07-02 12:48:34 -07:00
Nicholas Nethercote
6a820dbe6e Bug 889146 (part 1) - Realign the typed array class hierarchy. r=sfink.
--HG--
extra : rebase_source : f8f412226579a6bc3d572f32df455979be37af52
2013-07-01 23:15:42 -07:00
Xavier Fung
1dcc0c0757 Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
Dan Gohman
92f5085fc7 Bug 876064 - Implement constant pools for double constants on x64. r=sstangl 2013-07-01 21:24:08 -07:00
Dan Gohman
3d29186234 Bug 876064 - Change HeapLabel with NonAssertingLabel, and don't allocate it on the heap. r=luke 2013-07-01 21:23:00 -07:00
Trevor Saunders
6316f31808 bug 886526 - remove XPCOM_TRANSLATE_NSGM_ENTRY_POINT r=bsmedberg 2013-06-15 02:33:35 -04:00
Nicolas B. Pierron
cc2bd05797 Bug 888568 - Range analysis, Handle int32 infinities on MAbs. r=mjrosenb 2013-07-02 17:41:27 -07:00
Trevor Saunders
dffc30b004 bug 877937 - copy the work around to allow clang to build as C++11 to js/src/build/unix/headers/ r=glandium 2013-06-26 17:26:04 -04:00
Bobby Holley
e9b6ede2ec Bug 888104 - Fix xpcshell linkage error on windows. r=me CLOSED TREE 2013-07-02 16:34:33 -06:00
Joey Armstrong
53426849e7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Bobby Holley
18fac862c5 Bug 888104 - Reimplement Auto*JSContext in terms of AutoCxPusher. r=gabor 2013-07-02 14:39:03 -06:00
Bobby Holley
d21616e1f1 Bug 888104 - Introduce AutoCxPusher and reimplement nsCxPusher in terms of it. r=gabor 2013-07-02 14:39:03 -06:00
Bobby Holley
a53d0adad4 Bug 888104 - Move nsCxPusher's mScx grabbing code into the common helper method. r=gabor
This function is called by Push and PushNull, so with the added null check this
is equivalent. This facilitates the refactoring in the next patch.
2013-07-02 14:39:02 -06:00
Mike Shal
884dee0b5a Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
David Anderson
2d21f2b922 Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones). 2013-07-02 11:22:18 -07:00
Sankha Narayan Guria
90744864f2 Bug 788172 - Make Proxy a function. r=ejpbruel 2013-07-02 21:57:14 +05:30
Dan Gohman
47b6ebfd9f Bug 866137 - Implement range analysis for LoadTypedArrayElement r=jandem 2013-07-02 10:40:04 -07:00
Ian Stakenvicius
4bbbae2ed4 Bug 886418 - Add MOZJS_{MAJOR,MINOR}_VERSION to js-config.h so that JSAPI differences can be handled at compile time. r=glandium
--HG--
extra : rebase_source : 20d442b10d3facd30d0eaaa603214038eed72baf
2013-06-24 12:40:00 +02:00
Jeff Walden
eaadbb324e Bug 869659 - Make the ECMAScript Internationalization API opt-out, rather than opt-in. Also opt desktop builds out of the API for now, til we get cross-compiling working. r=glandium 2013-05-10 15:30:15 -07:00
Jeff Walden
6f242a6502 Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Jon Coppeard
8d9392210b Bug 886829 - also update comments in jsclass.h DONTBUILD 2013-07-02 12:14:30 +01:00
Terrence Cole
9ecda8d7ad Bug 878160 - GC: post barrier weak references in the browser - part 2 browser r=terrence r=billm
--HG--
extra : rebase_source : a1856a7dce28da5086f6fbeaeda15596193aa7ad
2013-06-05 16:40:02 -07:00
Jon Coppeard
32a8cfef5d Bug 878160 - GC: post barrier weak references in the browser - part 1 JS engine r=terrence
--HG--
extra : rebase_source : 4dfd4f8f46564d3a9858646a0f68c9047c2f7e93
2013-07-02 09:43:45 +01:00
Jon Coppeard
e77f65c20f Bug 886829 - In-source comments incorrectly say JSClass::finalizer is mandatory r=billm
--HG--
extra : rebase_source : d01ba99257b2a392d332f56dfc655f6439462c1b
2013-07-02 09:42:01 +01:00
Jon Coppeard
2bbe37fa5f Bug 886910 - GC: IsAboutToBeFinalized returns true for things allocated during incremental sweeping r=billm
--HG--
extra : rebase_source : 04f6e07060567631c0e10ba913595a2a53e1c20f
2013-07-02 09:38:52 +01:00
Phil Ringnalda
f327c82296 Backed out efc4b8a23cd7:12e8fc56b5eb (bug 876064) for asm.js test failures 2013-07-01 23:06:49 -07:00
Dan Gohman
09d1348447 Bug 876064 - Implement constant pools for double constants on x64. r=sstangl 2013-07-01 21:24:08 -07:00
Dan Gohman
38f407f42c Bug 876064 - Change HeapLabel with NonAssertingLabel, and don't allocate it on the heap. r=luke 2013-07-01 21:23:00 -07:00
Benjamin Bouvier
1b58aa471f Bug 884473: puts a warning message when compiled with --enable-perf and no env variable is given; r=sstangl 2013-07-01 16:35:27 -07:00
Benjamin Bouvier
1c44ac2ae6 Bug 884473: Integrate perf with OdinMonkey: basic blocks profiling; r=sstangl 2013-07-01 16:35:25 -07:00
Benjamin Bouvier
fedb281b89 Bug 884473: Integrate perf with Odinmonkey: functions profiling; r=sstangl 2013-07-01 16:35:22 -07:00
Luke Wagner
9c55104e5e Bug 885908 - use js_malloc instead cx->malloc inside ScriptSource::chars to avoid triggering GCs for large scripts (r=billm)
--HG--
extra : rebase_source : 87e4669be579cb7b9f836856e1bfb4bfcd0e6669
2013-07-01 16:26:19 -07:00
Till Schneidereit
e29c13e2ef Bug 888613 - Micro-optimization of js::ToInteger. r=jwalden
--HG--
extra : rebase_source : 3e5774bec875860659b500ae9ab87c404f213c47
2013-07-02 00:48:18 +02:00
Till Schneidereit
83ceda0158 Bug 888673 - Update Yarr yet again. r=sstangl
--HG--
extra : rebase_source : 129ba2817818f5c666b9d1bd4402a76999bff895
2013-07-01 23:29:19 +02:00
Terrence Cole
68307928b7 Bug 879079 - Fix static root analysis hazards around ToInteger; r=sfink
--HG--
extra : rebase_source : 645febaf4b4044e28ba9d53a301a7c3ca7468487
2013-06-26 14:46:23 -07:00
Terrence Cole
cde5f72fa0 Bug 879079 - Fix static root analysis hazards around ValueToSource; r=sfink
--HG--
extra : rebase_source : 2f31fdefdcdd6bb95beace105f6b79458d3a407f
2013-06-26 14:44:51 -07:00
Terrence Cole
a6435e62f3 Bug 879079 - Fix a static analysis rooting failure; r=wingo
--HG--
extra : rebase_source : 274a60e9fae01027fef0cdb67fc8fa56120a9c83
2013-06-26 14:18:14 -07:00
Terrence Cole
6da6d3a83f Bug 879079 - The static rooting analysis gets confused by Invoke's indirect parameter; r=sfink
--HG--
extra : rebase_source : 5428622f10f84ec6ffbae05dda7b14bf435c97ba
2013-06-26 10:38:30 -07:00
Ms2ger
12bdf91609 Bug 888579 - Remove some code that handled WN Nodes; r=bholley 2013-07-01 09:14:36 +02:00
Ms2ger
83be196469 Bug 887009 - Pass MutableHandleValue to Invoke(); r=terrence 2013-07-01 09:03:13 +02:00
Ms2ger
a2f191d90a Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Bobby Holley
1ea512c17d Bug 880917 - Remove AutoVersionAPI. r=luke
This doesn't do anything anymore. The compile options should generally carry
the right version through, with the exception of eval, which will end up using
the version of the running script anyway.
2013-06-29 09:11:20 -06:00
Bobby Holley
a7550aef7c Bug 880917 - Hoist defaultVersion into the runtime and remove it from the JSContext. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
2d2baf2430 Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
60368c1726 Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
439ae70017 Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
05ff64f03e Bug 880917 - Remove XPConnect version munging test. r=luke
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-29 09:11:18 -06:00
Bobby Holley
306f8a67ea Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-29 09:11:18 -06:00
Bobby Holley
fbb93f2c02 Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Bobby Holley
979f8b69dc Bug 880917 - Remove testVersion.cpp. r=luke
This test coverages seems to be mostly testing functionality we're removing like
overrides and version introspection. Let's just kill it.
2013-06-29 09:11:17 -06:00
Bobby Holley
0b8f9a10e6 Bug 880917 - Introduce an API for callers to set the version for a compartment. r=luke
This has lower precedence than 'overrides' and running script, and higher
precedence than the cx's version. We can migrate the API consumers who clearly
want something like this, which will eventually let us remove the override
mechanism.
2013-06-29 09:11:17 -06:00
Bobby Holley
270f94dd2f Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Bobby Holley
71db19a14d Bug 880917 - Remove support for munging JS versions from JSD. r=luke
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-29 09:11:16 -06:00
Justin Lebar
3da6ed220e Bug 820686 - Follow-up: s/MOZ_ASSUME_NOT_REACHED/MOZ_ASSUME_UNREACHABLE/. rs=waldo
I'd meant to do this, but I only got as far as the comment in mfbt.  Oops!

--HG--
extra : rebase_source : 3cfe3ef1bf401eb7d9a10fcabcfb39008e9553a4
2013-06-28 19:20:12 -07:00
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
674bdae8dc Bug 820686 - Rename MOZ_NOT_REACHED() and JS_NOT_REACHED() to MOZ_ASSUME_NOT_REACHED(). r=waldo
This includes a mechanical renaming of MOZ_NOT_REACHED to MOZ_ASSUME_NOT_REACHED in JS.  Later patches in this queue clean up whitespace errors and so on.
2013-06-28 18:38:31 -07:00
Dan Gohman
114194a124 Bug 888275 - More x86 assembly spew cleanups. r=sstangl 2013-06-28 13:56:30 -07:00
Mike Shal
156426771a Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Terrence Cole
a303826ff9 Bug 888411 - Clear NewObjectCache entries with nursery slots or elements on minor GC; r=jandem
--HG--
extra : rebase_source : 0451c424a75a7ad6543ca45d72542d9a40bf7c51
2013-06-28 11:51:02 -07:00
Dan Gohman
7e4affa0df Bug 885179 - Refactor visitMoveGroup into shared code. r=jandem 2013-06-28 11:34:55 -07:00
Dan Gohman
91be8654dd Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x86. r=dvander 2013-06-28 11:28:00 -07:00
Dan Gohman
1b6a2066e6 Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x64. 2013-06-28 11:27:20 -07:00
Jan de Mooij
3345b24b2d Bug 887521 - Fix OnUnknownMethod to not modify vp if there's no __noSuchMethod__ method. r=jwalden 2013-06-28 19:22:15 +02:00
Benjamin Bouvier
65a40b5804 Bug 886246: Set infinite flags after bounds for MPhi nodes in range analysis; r=nbp 2013-06-28 10:14:49 -07:00
Benjamin Bouvier
5e0c9817e6 Bug 886866: Clean unused function and doc for Ion Perf integration; r=nmatsakis 2013-06-28 10:11:11 -07:00
Dan Gohman
80a51789e0 Bug 888276 - Use hasUses() instead of checking useCount() == 0. r=h4writer 2013-06-28 07:41:19 -07:00
Ed Morley
934c3a85a4 Merge mozilla-central and inbound 2013-06-28 14:36:56 +01:00
Jan de Mooij
5175a4f42b Bug 888212 - Set MArrayConcat result typeset. r=h4writer 2013-06-28 15:35:49 +02:00
Ed Morley
7bd880a445 Merge latest green birch changeset and mozilla-central 2013-06-28 14:33:47 +01:00
Jon Coppeard
8c01a241eb Bug 872824 - update incorrect comment DONTBUILD 2013-06-28 12:42:01 +01:00
Jon Coppeard
cb4efc50e3 Bug 872824 - IonMonkey: (ARM) Add support for hardware divide instructions r=mjrosenb 2013-06-28 11:54:08 +01:00
Phil Ringnalda
4b30bbfc5b Merge m-c to birch 2013-06-27 19:41:24 -07:00
Dan Gohman
175b9107c7 Bug 885169 - Add an explicit backwards-traversing register set iterator, so that code which needs to iterate in a specific order can ask for it explicitly. r=h4writer 2013-06-27 08:11:28 -07:00
Gregor Wagner
5082f0f7c1 Bug 887652 - Limit number of empty chunks after a GC. r=terrence 2013-06-28 09:31:17 +08:00
Jason Orendorff
8b21673a4d Backed out changeset 3f152e51be2b (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:30:48 -05:00
Jason Orendorff
6eb5f7714c Backed out changeset 5428fa083db3 (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:29:17 -05:00
Jason Orendorff
cd5ae7c064 Backed out changeset c39ede0eea8f (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:28:26 -05:00
Cykesiopka
fee3475339 Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Nicholas Nethercote
385e5fa1b0 Bug 883696 (part 4) - Include full paths in #include statements in the rest of js/src/ and js/public/. r=luke. 2013-06-27 17:37:29 -07:00
Nicholas Nethercote
9fed70182c Bug 883696 (part 3) - Include full paths in #include statements in js/src/jsapi-tests/. r=luke. 2013-06-27 14:43:30 -07:00
Nicholas Nethercote
e8d906830e Bug 883696 (part 2) - Include full paths in #include statements in js/src/{assembler,yarr}/. r=luke. 2013-06-27 14:43:29 -07:00
Nicholas Nethercote
9994d89bd2 Bug 883696 (part 1) - Include full paths in #include statements in js/src/ion/. r=jandem. 2013-06-26 23:19:51 -07:00
Dan Gohman
670f349522 Bug 871811 - Use push/pop for saving and restoring registers on the stack on x86/x64. r=mjrosenb 2013-06-27 18:49:52 -07:00
Brian O'Keefe
9ac855a180 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Emanuel Hoogeveen
66b88396c7 Bug 887465 - Rewrite double-conversion's assertions in terms of the MOZ_* assertions, and keep wtf (Yarr) from redefining them. r=jwalden
--HG--
extra : rebase_source : 3cdadf85f6bc471f065d570cb03d2441886d3738
2013-06-27 16:25:42 -07:00
Marty Rosenberg
159355413a bug 760642: Use a finger to make instruction lookups nearly instantaneous (r=jbramley) 2013-06-27 16:51:12 -04:00
Marty Rosenberg
2233291e4a bug 760642: Speed improvements for IonAssemblerBuffer (r=jbramley)
* Use a doubly linked list rather than one list for keeping track of the chunks
* Add a hueristic to determine whether we do lookups from the front of the list or the back
2013-06-27 16:51:09 -04:00
Shu-yu Guo
8801ddfe23 Bug 877893 - Part 4: Make MToString support doubles and threadsafe. (r=djvj) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
4bb320ae38 Bug 877893 - Part 3: VM & Ion changes to make MToString threadsafe. (r=billm) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
292baa9cdc Bug 877893 - Part 2: Support string concat in parallel in Ion. (r=djvj) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
2c365bd9e7 Bug 877893 - Part 1: Convert string VM functions needed for concatenation to take ThreadSafeContext. (r=billm) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
167f289e05 Bug 886144 - Remove incorrect inlining of ThrowError. (r=nmatsakis) 2013-06-27 14:47:44 -07:00
Shu-yu Guo
8140da908d Bug 886104 - Remove assert in ParCallToUncompiledScript. (r=nmatsakis) 2013-06-27 14:47:43 -07:00
Phil Ringnalda
466075ca08 Back out a90fac2a088b:759555fe9d38 (bug 760642) for Android/b2g build bustage
CLOSED TREE
2013-06-27 14:25:33 -07:00
Marty Rosenberg
b9b0619889 bug 760642: Use a finger to make instruction lookups nearly instantaneous (r=jbramley) 2013-06-27 16:51:12 -04:00
Marty Rosenberg
86f544da1b bug 760642: Speed improvements for IonAssemblerBuffer (r=jbramley)
* Use a doubly linked list rather than one list for keeping track of the chunks
* Add a hueristic to determine whether we do lookups from the front of the list or the back
2013-06-27 16:51:09 -04:00
Hannes Verschore
656f82f50d Bug 886243 - IonBuilder: Remove imul annotation when merging imul and normal multiplication, r=evilpie 2013-06-27 13:25:13 +02:00
Jan de Mooij
f022690cec Bug 887437 - Optimize encodeURI(Component). r=h4writer 2013-06-27 11:47:36 +02:00
Gabor Krizsanits
a8ce8de016 Bug 885737 - EvalInSandbox should return error if there was an exception. r=bholley 2013-06-27 09:52:57 +02:00
Emanuel Hoogeveen
87c8a65ac7 Bug 887494 - Fix struct/class mismatch introduced by part 4 of 884124. r=nnethercote.
--HG--
extra : rebase_source : 512f9f8c521c62c2efd4304dcca2205d82d7f8a5
2013-06-26 16:04:49 -07:00
Mike Shal
3afe016690 Bug 880245 - Convert JS_MODULES_PATH to be relative to $(FINAL_TARGET); r=gps 2013-06-17 13:59:49 -04:00
Jeff Walden
7c37290b28 Bug 869659 - Compile ICU using the CC/CXX determined by Mozilla, not as selected by ICU. r=glandium
--HG--
extra : rebase_source : 08ad4b27904de7f22a99fab8669d633374c569d8
2013-05-10 11:29:39 -07:00
Nicholas Nethercote
eac0db5142 Bug 886205 (part 9) - Fix some "used but never defined" warnings in --enable-gcgenerational builds. r=terrence.
--HG--
extra : rebase_source : aa1a2797171cc555ad90cb4740495a02dacbc394
2013-06-25 21:38:36 -07:00
Nicholas Nethercote
94d1b1a28c Bug 886205 (part 8) - Break the header cycle once and for all. r=terrence.
--HG--
extra : rebase_source : 3ec3faa03c3396ec6ef679e048d5765b99816e9d
2013-06-25 21:38:35 -07:00
Nicholas Nethercote
924c5002e5 Bug 886205 (part 7) - Break jsfuninlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : b89b98eced1ff6354cfaeca944b3f8dbd3d70110
2013-06-25 21:38:35 -07:00
Till Schneidereit
4403f2bc90 Bug 885553 - More tests for Array#find and Array#findIndex. r=me
--HG--
extra : rebase_source : 252d766850d5ae69743ac46a80f2b3ed14f633bb
2013-06-26 20:40:00 +02:00
Jan de Mooij
84c14fdc05 Bug 886911 - Don't cancel off-thread compilation for minor GCs. r=terrence 2013-06-26 20:35:32 +02:00
Till Schneidereit
f78fd42a4c Bug 885553 - Implement ES6 Array.prototype.find and Array.prototype.findIndex. r=jwalden
--HG--
extra : rebase_source : ca717dae292897561f503ab2d5964f02915f5067
2013-06-26 18:47:41 +02:00
Till Schneidereit
0139cd9c05 Bug 885729 - Inline array and proxy specializations of js::DefineProperty into js::DefineProperties. r=jwalden
--HG--
extra : rebase_source : eaed8f6a1ba9a171c3d0d47641482b8d3273bd8d
2013-06-26 17:00:24 +02:00
Terrence Cole
ba80bab8ed Bug 886560 - ScanBaseShape between incremental slices should not push nursery things; r=bhackett
--HG--
extra : rebase_source : ab72ab81f9de6fd33cc080fb6a397480b378a1d3
2013-06-26 11:07:56 -07:00
Steve Fink
38ddb62f45 Bug 887362 - Fix include tangle for CheckStackRoots, r=ehoogeveen
--HG--
extra : rebase_source : 0bad13a22809afb35f924decc02b55a3e87db486
2013-06-26 11:21:36 -07:00
Terrence Cole
ad5df63273 Bug 879079 - Fix some static root analysis failures; r=sfink
--HG--
extra : rebase_source : 40407ff41a7380fc4107958a7e4af843c826301f
2013-06-26 10:37:42 -07:00
Terrence Cole
ebc01dfda0 Bug 879079 - Make ToNumber take a Handle to fix some static rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 048d46820baedeb593f85e0d445375d482d16050
2013-06-21 18:19:11 -07:00
Dan Gohman
d406c580e4 Bug 885186 - Optimize x86/x64 register moves using xchg, xor swap, and push/pop. r=jandem 2013-06-26 10:32:55 -07:00
Masatoshi Kimura
2b3b31ec7e Bug 839998 - Replace thisDuringConstruction() with MOZ_THIS_IN_INITIALIZER_LIST(). r=waldo 2013-06-27 00:15:53 +09:00
Dan Gohman
56c1c9b784 Bug 885183 - Use Push and Pop in more places instead of manually adjusting the stack pointer and loading and storing. r=sstangl 2013-06-26 07:15:14 -07:00
Ryan VanderMeulen
a50162f1d7 Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Andy Wingo
46f2a60446 Bug 885281 - Factor out TokenMatcher::matchContextualKeyword. r=Waldo 2013-06-26 11:47:50 +02:00
Brian O'Keefe
8b810c4a1a Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Andy Wingo
7f4d63c6b8 Bug 648949 - Remove HAS_JS_GENERATORS #define. r=Waldo, r=jorendorff 2013-06-26 12:34:47 +02:00
Jan de Mooij
9c80385e74 Bug 885648 - Add barriers for generator stack value. r=terrence 2013-06-26 15:16:48 +02:00
Jan de Mooij
f09265969f Bug 882416 - Fix Function constructor to override the noScriptRval flag. r=luke 2013-06-26 15:16:42 +02:00
Nicholas Nethercote
3cd6869d28 Bug 884124 (part 8) - Add a RegExpStaticObject class. r=jwalden.
--HG--
extra : rebase_source : 9a0b0a59dc67cbab9ab1156607a984d303a850c3
2013-06-20 20:18:04 -07:00
Nicholas Nethercote
0de29d1125 Bug 884124 (part 7) - Move some methods from JSObject to ArrayObject. r=jwalden.
--HG--
extra : rebase_source : bbe97ebfd1ef026f8a3ee21ce1b75f8b4ed40311
2013-06-19 01:39:47 -07:00
Nicholas Nethercote
82d0cc84f8 Bug 884124 (part 6) - Add an ArrayObject class. r=jwalden.
--HG--
extra : rebase_source : 17a9703165cb665326ff94bc574450ba59ede7f7
2013-06-18 23:55:38 -07:00
Nicholas Nethercote
532112ee66 Bug 884124 (part 5) - Add a DateObject class. r=jwalden.
--HG--
extra : rebase_source : bc39dcc8e2f8f2fcc71389a3ea199e264c445bc8
2013-06-20 20:17:15 -07:00
Nicholas Nethercote
fd361fd154 Bug 884124 (part 4) - Add an ErrorObject class. r=jwalden.
--HG--
extra : rebase_source : 9054445c5a435a1e49d1217247c5a32afef3826a
2013-06-20 20:17:14 -07:00
Nicholas Nethercote
f781f45519 Bug 886205 (part 6) - Break jsscriptinlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : 0390ebedf2b132f296e272d25d81af71791dca30
2013-06-25 17:25:18 -07:00
Nicholas Nethercote
4e3b816af9 Bug 886205 (part 5) - Break vm/Shape-inl.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : e63f73b728b071b98a318beba5d60bf9a108a840
2013-06-25 00:36:21 -07:00
Nicholas Nethercote
0742051e76 Bug 886205 (part 4) - Move some function definitions from jsfuninlines.h to jsfun.h. r=terrence.
--HG--
extra : rebase_source : 1bd4bf6c2c4db1392d43908a438df3fde48e29b2
2013-06-24 23:52:04 -07:00
Nicholas Nethercote
d1ea635455 Bug 886205 (part 3) - Move some function definitions from jsobjinlines.h to jsobj.h. r=terrence.
--HG--
extra : rebase_source : c5712dc0d1cb46d2bb653e33bc389f98770920b3
2013-06-24 21:26:48 -07:00
Shu-yu Guo
e455b95db9 Bug 886632 - Rename ParallelArrayAnalysis to ParallelSafetyAnalysis; move it before GVN; remove its dependency on JSContext. (r=nmatsakis)
--HG--
rename : js/src/ion/ParallelArrayAnalysis.cpp => js/src/ion/ParallelSafetyAnalysis.cpp
rename : js/src/ion/ParallelArrayAnalysis.h => js/src/ion/ParallelSafetyAnalysis.h
2013-06-25 18:28:22 -07:00
Shu-yu Guo
2f28a12e5f Bug 887002 - Don't track PC-sensitive type for rest arrays. (r=bhackett) 2013-06-25 18:28:22 -07:00
Shu-yu Guo
efeaeaf30c Bug 884369 - Fix callsite cloning in poly inline dispatch + rooting in IC. (r=sstangl) 2013-06-25 18:28:21 -07:00
Guilherme Gonçalves
59757598fc Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug 2013-06-25 20:08:58 -04:00
Terrence Cole
3efaff8e99 Bug 886551 - Re-disable pre-barriers during minor GCs; r=bhackett
--HG--
extra : rebase_source : 7bbf374092b102b682179a41d72ab62017e24b04
2013-06-25 15:35:56 -07:00
Jason Orendorff
fab193dfba Bug 844805, part 3 - Remove two calls to FoldConstants from the parser. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
7c90f23b63 Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
bf19c644d1 Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
2101567ebb Add passing test for bug 826124 which went away with JM. no_r=me. 2013-06-25 17:39:59 -05:00
Jason Orendorff
015a216e4f Bug 885463 - Warn about 'yield' without operand. r=Waldo. 2013-06-25 17:39:59 -05:00
Dan Minor (dminor@mozilla.com)
75f718a351 Bug 811404 - Stage cpptests as part of package-tests. r=ted 2013-06-24 13:45:32 -04:00
Terrence Cole
7c14d8cf98 Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
--HG--
extra : rebase_source : 98a04e315c9a372864d37447a102960737457aa1
2013-06-04 16:14:14 -07:00
Terrence Cole
f05eb3a4f7 Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 0d614298d3e9879a0ac5f95561329dc3a80d693b
2013-06-14 13:48:39 -07:00
Luke Wagner
730f58e564 Bug 886285 - OdinMonkey: -0 should have type double (r=bbouvier)
--HG--
extra : rebase_source : f5f74cabcea1edf568b75fb01debf2795b813213
2013-06-24 15:23:35 -07:00
Terrence Cole
3770ebc0f1 Bug 886575 - Update TypedArray's data slot when doing fallback marking for minor GC; r=sfink
--HG--
extra : rebase_source : 33d255e5e4c2aa647125faa8e6098e2111c83a33
2013-06-24 17:33:27 -07:00
Steve Fink
12acfa2b71 Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence 2013-05-03 13:53:15 -07:00
Andrew McCreight
ddcec6be65 Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley 2013-06-25 08:42:40 -07:00
Hannes Verschore
a498fdb818 Bug 886266 - Fix issues with enabling/disabling non-active activations, r=jandem 2013-06-25 16:58:52 +02:00
Jan de Mooij
6d81301997 Bug 885660 - Fix Ion bailouts to overwrite arguments on the stack at the end of the bailout. r=djvj 2013-06-25 14:15:08 +02:00
Emanuel Hoogeveen
c1374919d0 Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.
--HG--
extra : rebase_source : 0d833ecc9879f5d9fd0a28f9b4eca7793d01aa40
2013-06-24 21:32:05 -07:00
Hannes Verschore
6877977bcd Bug 886241 - IonMonkey: Enable inlined arguments_get_elem for constant index, r=djvj 2013-06-25 09:57:17 +02:00
Hannes Verschore
cca4f9757d Bug 884989: OdinMonkey: Check argument types before enabling ffi fastpath to IM, r=luke 2013-06-25 09:55:33 +02:00
Nicholas Nethercote
1727aad1db Bug 886205 (part 2) - Move some function definitions from vm/ObjectImpl-inl.h to vm/ObjectImpl.h. r=terrence.
--HG--
extra : rebase_source : c12d632b99542002954f02b7004cbbcfdee7f6c5
2013-06-24 16:03:02 -07:00
Nicholas Nethercote
71f4105f11 Bug 886205 (part 1) - Move some function definitions from gc/Barrier-inl.h to gc/Barrier.h. r=terrence.
--HG--
extra : rebase_source : d6eeb4f6273c36069a8bbb28033737c2aec40ba0
2013-06-24 15:55:52 -07:00
Catalin Iacob
6f4758d23e Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Catalin Iacob
d1755d1c96 Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Phil Ringnalda
0d8932f883 Back out 1aa1a42a471f:bf03279e2b50 (bug 885169) for b2g/Android bustage on a CLOSED TREE
--HG--
extra : rebase_source : f3931316d2daa132bbe088a06877a5190b60bbd9
2013-06-24 18:00:46 -07:00
Phil Ringnalda
5ae7b08b00 Merge m-c to m-i 2013-06-24 16:51:59 -07:00