Dan Gohman
bc1005b7d5
Bug 891070 - IonMonkey: Minor cleanups for lsh range analysis: fix a -Wsign-compare warning, and use a 32-bit shift instead of a 64-bit shift. r=nbp
2013-07-08 20:23:26 -07:00
Dan Gohman
47f890bc09
Bug 891070 - IonMonkey: Stronger range analysis for or, xor, and not. r=nbp
2013-07-08 19:51:56 -07:00
Dan Gohman
b88c0097b8
Bug 762095 - Ignore resume points in blocks containing nothing but goto.
2013-07-08 19:38:36 -07:00
Dan Gohman
f57fe4feb3
Bug 891121 - When a test times out, print TIMEOUT instead of FAIL. r=terrence
2013-07-08 19:36:07 -07:00
Dan Gohman
b0e6ece906
Bug 891083 - Make the ImmWord version of x64's movq always use smaller immediate fields when possible; use movWithPatch when a patchable 64-bit immediate field is needed. Also, implement movq_i32r, which is useful for immediates in the range [INT32_MIN, 0). r=sstangl
2013-07-08 19:28:20 -07:00
Phil Ringnalda
524f243632
No bug, alter comment whitespace to trigger shell builds on a CLOSED TREE
2013-07-08 17:23:42 -07:00
Emanuel Hoogeveen
e32590ca0d
Bug 890714 - Fix mixed line endings. r=joe, r=jesup
2013-07-08 16:33:15 -04:00
Bobby Holley
ce5879ea33
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Trevor Saunders
4fda35a773
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joey Armstrong
38ca368790
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
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