Ryan VanderMeulen
0e1b1ebe69
Backed out 2 changesets (bug 895015, bug 893434) for Android test_asmjs timeouts on a CLOSED TREE.
...
Backed out changeset cadcb731a8fb (bug 895015)
Backed out changeset 17404ee140f3 (bug 893434)
2013-07-18 13:03:05 -04:00
Andrew McCreight
2fed751bf1
Bug 892405 - Print Max Pause before Total Time in GC logging. r=terrence
2013-07-18 09:07:28 -07:00
Andrew McCreight
6dbb4f19fa
Bug 893375 - Make weak map GC tracing names more useful. r=billm
2013-07-18 09:07:27 -07:00
Ehsan Akhgari
c069003a4b
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Ivaylo Dimitrov
9402c54541
Bug 893575 - Don't fail to build if HWCAP_IDIVA is not defined. r=jonco
2013-07-14 19:34:43 +01:00
Sankha Narayan Guria
69084ace53
Bug 866847 - Implement map#forEach and Set#forEach. r=evilpie
2013-07-18 20:37:29 +05:30
Brandon Benvie
b7a0876052
Bug 889627 - Make Debugger eval functions accept options for url and line number. r=jimb
2013-07-17 15:12:24 -07:00
Luke Wagner
4c8b555601
Bug 895015 - OdinMonkey: make asm.js entries show up builtin FF profiler (r=bbouvier)
...
--HG--
extra : rebase_source : b6b5391a1b39b3abeb0f194bfa4ca4a9f54ce90f
2013-07-17 17:22:39 -05:00
Luke Wagner
3115c9cae9
Bug 893434 - OdinMonkey: make accessing non-data properties a link-time validation error (r=bbouvier)
...
--HG--
extra : rebase_source : 5b827256536c16d9e2da15e9877efcf393e1a9ef
2013-07-17 17:22:07 -05:00
Tom Schuster
7f21dbc657
Bug 893858 - More testing for CPOWs and fix some small bugs. r=dvander
2013-07-17 09:27:49 -04:00
Jon Coppeard
86aadbaae4
Bug 888237 - IonMonkey: (ARM) Use hardware divide instruction to calculate modulus r=mjrosenb
2013-07-18 14:25:06 +01:00
Jon Coppeard
1c760fa01e
Bug 890271 - Assertion failure: operand.isFloatReg(), at js/src/ion/arm/MoveEmitter-arm.cpp:76 r=dvander
2013-07-18 14:25:06 +01:00
Jan de Mooij
4af3e726ee
Bug 894852 - Fix LSetPropertyPolymorphicT and LGetPropertyPolymorphicV bailout kind. r=bhackett
2013-07-18 14:22:53 +02:00
Till Schneidereit
74885aba61
Bug 894948 - Remove effectively-dead analysis-related code from interpreter. r=jandem
...
--HG--
extra : rebase_source : b1cd7b3232a2541d2282609cb698d6c9f825e3be
extra : amend_source : 97483ece12c0750e9fcff906ffdf6321617c106d
2013-07-17 17:51:06 +02:00
Jan de Mooij
3aa2907b36
Bug 894843 - Fix ConvertLinearSum to not add an unnecessary MAdd(x, 0) instruction. r=bhackett
2013-07-18 10:09:08 +02:00
Mike Hommey
92bf1ab8c2
Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted
2013-07-17 16:19:25 +09:00
Steve Fink
e9fcd10430
Bug 895027 - s/arguments/scriptArgs/. r=NPOTB
...
DONTBUILD
--HG--
extra : rebase_source : 44431c33d65a4d5493063968fd9a4bef53db3ebd
2013-07-17 11:08:59 -07:00
Steve Fink
9f34d29b4c
Bug 895027 - Add a --source argument to analyze.py to make it easier to run from arbitrary directories. r=NPOTB
...
DONTBUILD
--HG--
extra : rebase_source : 09bef9ba415f1292646cf3534c1d59cf132667d9
2013-07-17 11:08:35 -07:00
Steve Fink
7a4b796461
Bug 895027 - Use loadRelativeToScript to load helper .js files in static rooting analysis. r=NPOTB
...
DONTBUILD
--HG--
extra : rebase_source : 49f286d1dd99860be2d163e51063ae8c54c5630d
2013-07-17 11:08:20 -07:00
Steve Fink
75f7eb08db
Bug 895027 - Print out commands executed to make it easier to debug individual scripts. r=NPOTB
...
DONTBUILD
--HG--
extra : rebase_source : 07f5869243cce0a5c684a9e6d2ac0e46dbcd1db6
2013-07-17 11:08:05 -07:00
Steve Fink
b65a7c6294
Bug 895027 - Switch to more accurate set of functions that indicate a GC call for static rooting analysis, r=terrence
...
DONTBUILD
--HG--
rename : mfbt/Vector.h => js/public/Vector.h
extra : rebase_source : bbadeb34bf976c0a47e35afdc2fba0dffb63da12
2013-06-06 10:37:53 -07:00
Jeff Walden
cb1fe089f2
Bug 895242 - Cast a bool-valued expression to uintptr_t, so that the bitwise-or expression containing it doesn't trigger compiler warnings on Windows. r=trivial
2013-07-17 22:55:55 -07:00
Jeff Walden
70f2069abc
Back out 44347cbdf6a0 for triggering jsapi-test orange. r=bustage
2013-07-17 22:55:49 -07:00
Norbert Lindenberg
0be930ad22
Bug 891974 - Test ecma_3/Date/15.9.5.5-02.js fails; partially roll back the buggy commit for bug 890076 to fix. r=jwalden
...
--HG--
extra : rebase_source : 60a3a1241a98c32e7ffd7b332193bc985b72ac57
2013-07-17 12:21:26 -07:00
Jeff Walden
cfac041780
Bug 894653 - Self-host Error.prototype.toString, and fix an edge-case bug in the current implementation. r=till
...
--HG--
extra : rebase_source : 0d89b9c899accedd3a23841be850c83e33ec59b6
2013-07-17 12:14:39 -07:00
Jeff Walden
c35ce34f5e
Bug 894653 - Make the IsObject self-hosted utility function actually correct. r=till
...
--HG--
extra : rebase_source : 3cdd7454efa3c5029b3bc908162c1f54547f4c7d
2013-07-16 15:57:57 -07:00
Jeff Walden
10bde77bda
Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
...
--HG--
rename : js/public/Vector.h => mfbt/Vector.h
extra : rebase_source : d5f87a48485e3f2241228a4b003e80974c86fd5f
2013-07-09 16:33:29 -07:00
Jeff Walden
5e2dbd029b
Bug 891177 - Remove Vector.h's js/TemplateLib.h dependency by introducing mfbt/TemplateLib.h with the necessary bits. r=terrence
...
--HG--
extra : rebase_source : e84231171d6bd6c1e2de8201b8c9563375723d01
2013-07-08 12:42:13 -07:00
Jeff Walden
4196fa2e0f
Bug 891177 - Remove Vector.h's js/Utility.h dependency. r=terrence
...
--HG--
extra : rebase_source : d9be649a097b3b9b92cd62685d0fadfa8c0e2bc4
2013-07-03 16:07:43 -07:00
Jeff Walden
f52f37cddc
Bug 891177 - Move leading/trailing-zero-bit counting functions, ceiling/floor log2 functions, and round-up-pow2 functions into MathAlgorithms.h. r=terrence
...
--HG--
extra : rebase_source : 8cfbd68b8cd4a0e21185dd864c7e827ccfa6b751
2013-07-03 15:46:51 -07:00
Benjamin Bouvier
2cf4360796
Bug 894781 - Set implicit truncate for MAbs only for int32 in asm.js mode; r=luke
...
--HG--
extra : rebase_source : e3bb8353d3e65181e35577f732482a961e88a061
2013-07-17 14:12:43 -07:00
Wes Kocher
cc90ec9c73
Backout 95a4b87a0583 (bug 894948) for causing an octane-crypto regression on a CLOSED TREE
2013-07-17 19:01:03 -07:00
Bobby Holley
09e84333e6
Bug 887334 - Enter a compartment in b2g-only unloading code. r=me CLOSED TREE
2013-07-17 14:28:54 -07:00
Ryan VanderMeulen
7ecd1a4b17
Backed out changeset 76e7ef98a9d1 (bug 867856) for jit-test failures.
...
CLOSED TREE
2013-07-17 15:54:44 -04:00
Bobby Holley
e96cffb55d
Bug 887334 - Reorder some bookkeeping and assert in setCompartment that both the old and new compartments are marked as entered. r=luke
2013-07-17 11:53:55 -07:00
Bobby Holley
1571ff2ce4
Bug 887334 - Require cx->compartment() to be null when destroying a context. r=luke
...
If it's non-null, that means we've got a JSAutoCompartment on the stack, which
is going to run into trouble when it tries to restore the old compartment on
the now-dead cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
8e0afa92a2
Bug 887334 - Stop setting the compartment to defaultCompartmentObject_->compartment(). r=luke
...
With this change, defaultCompartmentObject_ is just an opaque (though traced)
piece of embedder state on the cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
9883f9fcf9
Bug 887334 - Fix JSAPI test harness to not fail when the initial compartment is null. r=luke
...
I don't know why it's done this way, but it sure needs to change.
2013-07-17 11:53:53 -07:00
Bobby Holley
5420505253
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
Bobby Holley
a93493b71d
Bug 887334 - Add a JSAutoCompartment to AutoCxPusher. r=luke,gabor
...
This should hopefully take care of any cases where consumers expect to be in
the default compartment.
2013-07-17 11:53:52 -07:00
Bobby Holley
e90537d5c6
Bug 887334 - Use the new AutoCompartment overload for the atoms compartment and remove AutoEnterAtomsCompartment. r=bhackett
...
We have to do some temporary hackiness to deal with some of the new PJS work.
This patch stays as true to the old world as possible, so that we can more
easily backport it.
2013-07-17 11:53:52 -07:00
Bobby Holley
0c5572cc76
Bug 887334 - Don't rethrow in quickstubs if there's already an exception pending. r=luke
2013-07-17 11:53:52 -07:00
Bobby Holley
c8c93ab150
Bug 887334 - Add a JSCompartment* to AutoCompartment and use it in JS_NewGlobalObject. r=luke
...
This gets rid of the wonky setCompartment usage in that function.
2013-07-17 11:53:52 -07:00
Bobby Holley
aee282ccae
Bug 887334 - Move faulty JSAutoRequest in initSelfHosting. r=luke
...
The call to JS_SetGlobalObject causes cx->compartment_ to be set to the self-
hosting global, which means that the JSAutoCompartment picks up that compartment
as the 'previous' compartment. So despite the attempt to restore things with
JS_SetGlobalObject at the end of the function, the JSAutoCompartment destructor
actually ends up leaving cx in the self-hosting global's compartment at the end
of this function. Moving the JSAutoCompartment construction above the call to
JS_SetGlobalObject fixes the problem.
2013-07-17 11:53:51 -07:00
Bobby Holley
36f005e12f
Bug 887334 - Null-check compartment() in JS_GetGlobalForScopeChain(). r=luke
...
cx->global() assumes a non-null compartment(). When we fix up various bugs
related to being in a compartment when we shouldn't be, we start to crash here.
Fix it.
2013-07-17 11:53:51 -07:00
Bobby Holley
a5bbbb322d
Bug 887334 - Rejigger the string manipulation in OnJSContextNew to avoid depending on being in a compartment. r=luke
...
The current code makes calls that assume (implicitly, via assertions) that |cx|
is in a compartment, which isn't a valid assumption going forward.
2013-07-17 11:53:51 -07:00
Bobby Holley
089d93ca1d
Bug 887334 - Remove AutoSwitchCompartment. r=luke
...
This thing is...yikes.
2013-07-17 11:53:50 -07:00
Nicolas B. Pierron
54c6ec750c
Bug 867856 - Fix intermittent timeout of bug743094.js test case. r=h4writer
2013-07-17 11:51:19 -07:00
Nicolas B. Pierron
fbded8c6a4
Bug 892426 - Add an additional temp-Register to SetElementIC. r=jandem
2013-07-17 11:51:19 -07:00
Till Schneidereit
f564136588
Bug 894948 - Remove effectively-dead analysis-related code from interpreter. r=jandem
...
--HG--
extra : rebase_source : 037764b4c11746ee52d5347c76e2a5242b35afab
2013-07-17 19:21:10 +02:00