Commit Graph

27944 Commits

Author SHA1 Message Date
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
Shu-yu Guo
55fa92a274 Bug 892971 - Part 2: Unify names specific to parallel execution to use the 'Par' suffix. (r=nmatsakis) 2013-07-24 03:01:32 -07:00
Shu-yu Guo
cf04eee95a Bug 892971 - Part 1: Refactor calling multimodal VM functions. (r=nbp) 2013-07-24 03:01:32 -07: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
Luke Wagner
e4d0a480fa Bug 882008 - OdinMonkey: fix subtraction to take doublish, rm Use (r=bbouvier)
--HG--
extra : rebase_source : 819570ab142518328aa41a1c6b81ffa0a5d7b96f
2013-07-02 11:38:43 -07:00
Luke Wagner
d03c8ecb55 Bug 880538 - LifoAlloc::release after parsing every function (r=bbouvier)
--HG--
extra : rebase_source : 9ead29e3dc5110f2b1f30c5218c41cbbc26555e5
2013-06-21 16:20:47 -07:00
Luke Wagner
de23e334eb Bug 880538 - move 'hasDestructuringArgs' flag into the FunctionBox (r=bhackett)
--HG--
extra : rebase_source : d65025cd591c7faf9e64f4768da0b2b8352ee393
2013-06-28 10:29:58 -07:00
Luke Wagner
be562454f2 Bug 880538 - store a pointer from ParseContext to it's PNK_FUNCTION ParseNode (r=bhackett)
--HG--
extra : rebase_source : acb4b0e5d94d0c1777173a4b0f378c46591805b3
2013-06-28 10:29:58 -07:00
Luke Wagner
e5cfdc10f1 Bug 880538 - set pn->pn_funbox immediately (r=bhackett)
--HG--
extra : rebase_source : 11b265e64f8355989632bd2556ed119a397cb10a
2013-06-21 16:07:25 -07:00
Luke Wagner
1974b8aa53 Bug 880538 - OdinMonkey: don't create an IonContext in MacroAssembler (r=sstangl)
--HG--
extra : rebase_source : c949b8337141681eb983ca4792849a726a059e18
2013-06-28 10:29:57 -07:00
Luke Wagner
f50432075d Bug 880538 - OdinMonkey: make a single pass over the parse tree (r=bbouvier)
--HG--
extra : rebase_source : c5aafde69f44906750d1d62d6878bfbab9e048ee
2013-06-13 11:48:47 -07:00
Ryan VanderMeulen
97083e557a Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Ed Morley
8887f367e6 Backed out changeset ad74eb485a87 (bug 891695) for startup crashes on a CLOSED TREE 2013-07-17 17:18:11 +01:00
Dan Gohman
75373a534a Bug 891739 - IonMonkey: Make or_ and xor_ range analysis even more precise, and avoid calling js_bitscan_clz32 with a zero operand. r=nbp,waldo 2013-07-17 08:16:05 -07:00
Dan Gohman
4a52fe74a1 Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-17 07:32:48 -07:00
Jan de Mooij
7b0eb9b451 Bug 894447 - Avoid unnecessary monitor instructions and bailouts with JSOP_SETELEM accessing named properties and backout bug 894463. r=bhackett 2013-07-17 16:21:22 +02:00
Tom Schuster
78d54d5af2 Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander 2013-07-17 09:27:49 -04:00
Shu-yu Guo
0af2e2f204 Bug 894782 - Fix callsite cloning interaction with inline dispatch in Ion. (r=jandem) 2013-07-17 06:11:18 -07:00
Brian Hackett
86d8fe99e8 Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Ryan VanderMeulen
5739ad1b00 Backed out changeset 56423bbe9a13 (bug 891695) because it didn't un-bust itself automagically. 2013-07-17 08:54:01 -04:00
Carsten "Tomcat" Book
d98e2cd471 Relanding after backout Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-17 14:16:17 +02:00
Carsten "Tomcat" Book
4fa20cfa2f Backed out changeset 5939320824b1 (bug 894242) "CLOSED TREE" 2013-07-17 10:36:12 +02:00
Mike Hommey
31df024bde Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted 2013-07-17 16:19:25 +09:00
Mike Hommey
4df35f912c Backout changeset cd67ffb5ca47 (bug 883381), effectively restoring bug 877937 2013-07-17 16:18:46 +09:00
Mike Hommey
521e88720d Bug 894240 - Fix pointer dereference in js::cli::OptionParser::extractValue. r=Waldo 2013-07-17 16:16:55 +09:00
Wes Kocher
85273bb749 Backout 1372b813d76f (bug 891695) for suspicion of causing bustage on a CLOSED TREE
--HG--
extra : amend_source : 9e9d1d7792df7060a2d61d5e8721b67602e14451
2013-07-16 20:47:17 -07:00
Bobby Holley
26926302d8 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Bobby Holley
b755828946 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-16 20:38:44 -07:00
Bobby Holley
a2deff3242 Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 20:38:44 -07:00
Benoit Girard
82435a9c18 Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Wes Kocher
f1fea88196 Backout 399362c3e135 (bug 894669) for bustage 2013-07-16 18:41:52 -07:00
Ryan VanderMeulen
5333a265b8 Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
b6f705b27a Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Bobby Holley
269151d7fe Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 18:04:48 -07:00
Dan Gohman
1d9d94c40e Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-16 16:00:03 -07:00
Brian Hackett
0bb18aa410 Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Jan de Mooij
0f3720ceef Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett
--HG--
extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
2013-07-16 21:34:02 +02:00
Till Schneidereit
72188a392a Bug 827396 - rm TypeObject::CONTRIBUTION_LIMIT and TypeObject::contribution. r=bhackett
--HG--
extra : rebase_source : c564216435bafeea58c0bfb32bdae07a3587fa72
2013-07-16 20:42:44 +02:00
Norbert Lindenberg
7cedad89fd Bug 853706 - Fixed a test case that depended on incorrect number of significant digits for 0. r=jwalden
--HG--
extra : rebase_source : a0789030f25b4541d7c3262200f840bda8f10e52
2013-07-16 11:22:57 -07:00
Jeff Walden
6d1aa84530 Bug 853706 - Fix nits noted in review of a new test. r=me 2013-07-16 11:09:56 -07:00
Norbert Lindenberg
6743e38dc0 Bug 853706 - Added new test case for formatting 0 with significant digits. r=jwalden
--HG--
extra : rebase_source : 359a1afdbe2132ebf135809e3d1c121457c5b595
2013-07-16 10:40:33 -07:00
Norbert Lindenberg
fcfda47ad9 Bug 853706 - Enable previously failing conformance test. r=jwalden
--HG--
extra : rebase_source : f855b031368b37a10d819a3913003f8520228a12
2013-07-16 10:40:21 -07:00
Jeff Walden
54c2c4cbfe Bug 894181 - Convert a bunch of SHAPE_* macros to inline functions to eliminate warnings, enhance debuggability. r=terrence
--HG--
extra : rebase_source : 2b8a5ba43a3303470b99788b7637488c38050764
2013-07-16 08:14:57 -07:00
Jeff Walden
b5d72d1f65 Bug 894172 - Eliminate DO_NEXT_OP(len) in favor of an unadorned goto the label in question. This eliminates tautological |len == len| compares that clang+ccache warns about, and it eliminates the previous apparent possibility that any value could be passed to DO_NEXT_OP, when in fact only |len| (or a value equal to it) could be passed. r=terrence
--HG--
extra : rebase_source : 0e1561a7bcabc6811fea6b167251046c2871224d
2013-07-16 08:14:57 -07:00
Boris Zbarsky
6491b478e3 Bug 894463. Go back to deoptimizing vanilla objects and arrays more eagerly to unregress ss-tagcloud. r=bhackett 2013-07-16 13:42:03 -04:00
Jan de Mooij
4dec24de90 Bug 870356 - Fix IonMonkey Math.round bug on x86/x64 hardware without SSE 4.1. r=sstangl 2013-07-16 17:55:29 +02:00
Jeff Walden
2e37cdb786 Convert SN_MAKE_TERMINATOR and SN_IS_TERMINATOR to inline functions to avoid clang+ccache warnings about over-parenthesized equality expressions. No bug, rs=terrence
--HG--
extra : rebase_source : 50b8f70501a481a4dda715284ccd9a21bbfa0eb6
2013-07-15 15:26:04 -07:00
Jeff Walden
f424972f65 Bug 891437 - Implement mozilla/Array.h, a class suitable for use where a C array would be used, with additional debug bounds-checking. r=Ms2ger
--HG--
extra : rebase_source : 314232d817e67d9a26dfa215b5c897e0dd0be353
2013-02-07 15:32:20 -08:00
Ryan VanderMeulen
f01bee06e9 Backed out changeset 302fb81f0729 (bug 858940) for frequent Android test crashes. 2013-07-16 11:05:11 -04:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Ryan VanderMeulen
7eb28cd59d Backed out 2 changesets (bug 893362) for check-sync-dir bustage.
Backed out changeset cb79166bb8fa (bug 893362)
Backed out changeset 9db461b687fd (bug 893362)
2013-07-16 09:57:12 -04:00
Ryan VanderMeulen
280d212e0c Bug 893362 - Fix check-sync-dirs bustage. 2013-07-16 09:47:16 -04:00
ISHIKAWA, Chiaki
7420bbd44f Bug 893362 - Align the target name for the START and FINISH in the build log. r=gps 2013-07-16 09:33:22 -04:00
Gabor Krizsanits
c9c9a69587 Bug 874158 - Crash in GetNativeForGlobal. r=bholley 2013-07-16 15:04:28 +02:00
Jan de Mooij
58d85ac337 Bug 867082 - Use JSPROP_SHARED for the customNative global property in the JS shell. r=jwalden
--HG--
extra : rebase_source : 8d275654d7242d000416ce30f3116b85657ed26a
2013-07-16 15:05:02 +02:00
Jan Beich
086b5462ff Bug 893508 - Don't hide ios/ostream symbols to fix build with some C++ runtimes. r=glandium 2013-07-16 14:09:24 +02:00
Boris Zbarsky
3bee6e23e2 Bug 893897. Don't deoptimize typeobjects in TypeScript::MonitorAssign if they only have a few properties. r=bhackett 2013-07-16 01:32:18 -04:00
Boris Zbarsky
4e13ee3c6a Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Luke Wagner
0331d292e4 Bug 880538 - Generalize strict-mode reparsing (r=jorendorff)
--HG--
extra : rebase_source : 423ae5c1f922efa523f07ade811e78a1b243c057
2013-06-25 10:28:04 -07:00
Wes Kocher
eb7a34534f Backout 476a4bbbfdb2 (bug 890722) on a CLOSED TREE for breaking debug mochitests 2013-07-15 19:56:08 -07:00
Shu-yu Guo
4533a63a6e Bug 893679 - Followup: Make sure rvalType is MIRType_Value when barrier is true to fix bustage on a CLOSED TREE. (r=bhackett) 2013-07-16 01:49:54 +02:00
Luke Wagner
1dc4b13c6d Bug 888469 - rm startOffset argument (r=bhackett) 2013-06-27 18:27:58 -07:00
Luke Wagner
f7667f947f Bug 888469 - rm funName argument (r=bhackett) 2013-06-25 00:20:51 -07:00
Luke Wagner
274729d4b6 Bug 888469 - rm dead assignment to 'body' (r=bhackett) 2013-06-25 00:02:49 -07:00
Luke Wagner
fa615f8de8 Bug 888469 - rm 'strict' argument in some places (r=bhackett) 2013-06-24 23:16:33 -07:00
Luke Wagner
681c0bbc8a Bug 888469 - rm PND_BLOCKCHILD (r=bhackett) 2013-06-24 18:15:43 -07:00
Hannes Verschore
2fddd19753 Bug 890722 - IonMonkey: implement JSOP_SETRVAL and JSOP_RETRVAL, r=jandem 2013-07-15 14:48:47 -07:00
Benjamin Bouvier
3125f96778 Bug 893368: in asm.js, correctly compute range for truncated Math.abs calls; r=nbp 2013-07-15 14:46:03 -07:00
Benjamin Bouvier
a7927e5e2d Bug 893364: in asm.js mode, correctly compute ranges for add and sub; 2013-07-15 14:41:36 -07:00
Daniel Holbert
d0dd527066 Bug 893904 - Remove 2 unused variables from MIR.cpp. r=bhackett 2013-07-15 17:29:18 -04:00
Wei Wu
1db4da9c50 Bug 893348 - Update the default value of 'GVN' option in jsshell's usage. r=nbp 2013-07-15 17:29:01 -04:00
Shu-yu Guo
5d0beb7a16 Bug 893679 - Insert type barrier for ParallelGetPropertyIC if the observed set doesn't contain undefined. (r=bhackett) 2013-07-15 14:07:36 -07:00
Steve Fink
7e603e6f0f No bug. Minor comment tweaks. DONTBUILD.
--HG--
extra : rebase_source : 315e111f0b8655ab2f7c4ffcde0f6f823239544f
2013-07-15 14:08:15 -07:00
Brian Hackett
d030b5be8e Bug 887075 - Use original function when compiling lazy scripts, r=luke. 2013-07-15 14:53:13 -06:00
Jason Orendorff
d434e621c7 Bug 892561 - Inline Parser::bracketedExpr() into its only call site, in Parser::parenExpr(). r=Waldo.
--HG--
extra : rebase_source : a1e9ce81638fd543c1e21cb69d81c9767118b7c9
2013-07-15 11:22:06 -05:00
Jason Orendorff
27e58b7442 Bug 889628, part 5 - Enforce ES6 rules about assigning to eval or arguments in destructuring assignment. r=Waldo.
--HG--
extra : rebase_source : 865c3056ded7d74d26bc2e24f3f2e66066a7bd3f
2013-07-15 11:21:17 -05:00
Jason Orendorff
6d50b49fc4 Bug 889628, part 4 - Remove another redundant BindNameToSlot call. r=Waldo.
--HG--
extra : rebase_source : 9408237df183256ecddf4ee9f2de505a80a9a086
2013-07-15 10:28:57 -05:00
Jason Orendorff
42a225dc95 Bug 889628, part 3 - Don't set pn_op on PNK_DOT and PNK_ELEM nodes in assignment. r=Waldo.
--HG--
extra : rebase_source : fbcd7b2cb4cecbbdcd6326e4f4726232d9af7f51
2013-07-15 10:28:46 -05:00
Jason Orendorff
aacc80805b Bug 889628, part 2 - Do not look at lhs->getOp() when selecting opcodes for destructuring assignment, except if lhs is a name and we just called BindNameToSlot. r=Waldo.
--HG--
extra : rebase_source : 955e32774099d85cab5b5d6b83a9d5233493fa08
2013-07-15 10:28:35 -05:00
Jason Orendorff
cc804ca758 Bug 889628, part 1 - Merge setLvalKid with setIncOpKid. Rename it to checkAndMarkAsIncOperand. Rename setAssignmentLhsOps to checkAndMarkAsAssignmentLhs. r=Waldo.
--HG--
extra : rebase_source : cd6f0c140aa6e11ca6fd5a60230f7d623e957455
2013-07-15 10:28:18 -05:00
Jason Orendorff
1e6e464596 Fix trailing whitespace in jsobj.cpp, noted by Ms2ger in bug 886087 comment 5. no_r=me.
--HG--
extra : rebase_source : b0a5cd29a6f3e5322d080343a1d4d15d54cb3f35
2013-07-15 10:26:49 -05:00
David Caabeiro
25559b4564 Bug 717379, part 2 - Add JIT support for new ES6 Math functions, except Math.hypot(). r=jorendorff.
--HG--
extra : rebase_source : f92507aa60224c3383968c96cfb29c6ba2ae8105
2013-07-15 10:03:14 -05:00
David Caabeiro
2e97c41aa5 Bug 717379, part 1 - Implement the new ES6 math functions. r=jorendorff.
--HG--
extra : rebase_source : 4383cf6dee7c126cf2067b7ec5a8b695f008764e
2013-07-15 10:03:14 -05:00
Ryan VanderMeulen
b8afdbdee5 Backed out 4 changesets (bug 889911) for Windows bustage.
Backed out changeset 5e55ddfc9dc3 (bug 889911)
Backed out changeset 5e296989dd3d (bug 889911)
Backed out changeset 6e48a408d1de (bug 889911)
Backed out changeset e4ec71ab768f (bug 889911)
2013-07-15 15:28:29 -04:00
Justin Lebar
ff89e05abb Bug 893281 - Don't require a no-args constructor for elements in a JS::Vector if you call GrowByUninitialized(). r=luke 2013-07-15 12:10:59 -07:00
Terrence Cole
5e9764bf43 Bug 892287 - Simplify post barriering of TypedArray's internal pointers; r=sfink
--HG--
extra : rebase_source : ce417f347a577c559847f28aa2ca84d7cb7c2bc1
2013-07-11 15:14:20 -07:00
Terrence Cole
038548f8d0 Bug 892287 - Add re-entrancy guards to store buffer mark/put; r=billm
--HG--
extra : rebase_source : 14396f2bebeb8794c7b22a0eadff9de0a471b31d
2013-07-11 15:00:53 -07:00
Bobby Holley
f7d58acf7f Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-15 11:44:51 -07:00
Bobby Holley
773913d40f Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-15 11:44:50 -07:00
Bobby Holley
3b5f53a397 Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-15 11:44:49 -07:00
Marty Rosenberg
8d489d11c1 bug 858940: fix an additional case where we inspect the instruction stream without going through an iterator. r=jbramley 2013-07-15 14:21:46 -04:00
Jan de Mooij
909a15d9ab Bug 866064 - Fix CodeLocationJump/CodeLocationLabel asserts to not use a magic value. r=nbp
--HG--
extra : rebase_source : 972088f94d0b5ab6ae4ae445ca275b3b3275a6b1
2013-07-15 15:45:56 +02:00
Brian Hackett
6f2cac125c Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm. 2013-07-15 08:12:40 -06:00
Douglas Crosher
7b553da7a9 Bug 893317 - Fix VTune include files. r=njn 2013-07-13 15:23:48 +10:00
Douglas Crosher
12b436dbb6 Bug 893315 - More uses of Move need renaming to mozilla::Move. r=Waldo 2013-07-13 14:15:01 +10:00
Douglas Crosher
3f362aa700 Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett 2013-07-13 14:00:53 +10:00
Mike Hommey
82b9fd31cd Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
David Anderson
0930e61030 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Phil Ringnalda
ce1b2a4951 Back out 757e87bb1c1e:2c2bb15bf160 (bug 884676) for make check failures
CLOSED TREE
2013-07-13 21:59:07 -07:00
Joshua Cranmer
928a085fb3 Bug 884676 - Part 2: Remove JS_ATOMIC_* in favor of mozilla::Atomic, r=Waldo. 2013-07-13 20:07:11 -05:00
Joshua Cranmer
94fcee5284 Bug 884676 - Part 1: Remove unused ThreadPool::submitOne method. r=Waldo 2013-07-13 20:05:11 -05:00
Till Schneidereit
2033581698 Bug 886949 - Add Number.parseInt and Number.parseFloat. r=jwalden 2013-07-13 15:10:46 +02:00
Till Schneidereit
867f3888bb Bug 885798 - Add ES6's Number.EPSILON. r=jwalden 2013-07-13 15:09:32 +02:00
Nicholas Nethercote
47083cc116 Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Nicholas Nethercote
27342d58d4 Bug 888768 (part 2) - Remove frontend/SharedContext-inl.h. r=till.
--HG--
extra : rebase_source : d9bb2d56d54eed908a8d9301519866bd417321df
2013-07-11 18:00:17 -07:00
Ryan VanderMeulen
627b09c4b2 Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Nicholas D. Matsakis
99c795c8bf Add test for bug 880377 rs=tests 2013-07-12 17:01:43 -04:00
Nicholas Nethercote
7cde5e2c89 Bug 893158 - Tweak store buffer size to avoid overflow in pdfjs. r=terrence.
--HG--
extra : rebase_source : b93412ef09710038d730a78d746ab9df7c69e319
2013-07-11 23:41:27 -07:00
Kannan Vijayan
fd212826fd Bug 892544 - Stub out exception handling code. r=h4writer 2013-07-12 14:14:48 -04:00
Jason Orendorff
81d540d1fe Bug 889599, part 4 - Remove unnecessary JSScript parameter from Parser::standaloneFunctionBody(). r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
be55cb7acd Bug 889599, part 3 - Create function parse nodes in the Parser rather than in frontend::CompileFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
62bc8adc2d Bug 889599, part 2 - Remove unnecessary FunctionBox out-parameter from Parser::standaloneFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
b3455fb467 Bug 889599, part 1 - Fix ParseNode.h comment about PNK_FUNCTION nodes. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
257bb24f7c Bug 889584, part 4 - Remove an unnecessary setFunctionBody call. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
0edeb92d28 Bug 889584, part 3 - Un-specialize Parser::expr(). The code was effectively the same in both specializations. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
ca89aaf73c Bug 889584, part 2 - Comment withStatement specialization for syntax-only mode. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
0b9d395c57 Bug 889584, part 1 - Make the switch statement in Parser::statement handle all the cases, and make each case return. r=Waldo. 2013-07-12 12:20:57 -05:00
Nicholas D. Matsakis
7121e3ef8b Bug 880377 - Make UCE abort if some blocks are only reachable from OSR entry point r=bhackett 2013-07-11 12:55:47 -04:00
Boris Zbarsky
25bd1a6122 Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Wei Wu
a1a20e5b48 Bug 892369 - Update the default value of the 'usesBeforeCompile' option in
jsshell's usage. r=bhackett
2013-07-12 09:25:41 -04:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Nicholas D. Matsakis
a8121a0b9e Bug 841621 - Add inline hint for self-hosted code r=dvander 2013-05-31 14:59:38 -04:00
Jan de Mooij
117e2ff371 Bug 892931 - CallKnown should not emit a slow path if callee can't be Ion-compiled but can be Baseline-compiled. r=h4writer 2013-07-12 13:37:27 +02:00
Nicholas Nethercote
bcbe40286a Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Nicholas Nethercote
5fc822fbee Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
1d402ae3bc Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -07:00
Dan Gohman
991c8fd154 Bug 891702 - IonMonkey: After ReorderCommutative, constants are always on the right. r=sstangl 2013-07-11 23:32:41 -07:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Gregory Szorc
6cbb690469 Bug 892646 - Remove unsued final-link-{libs,comps,comp-names} files; r=glandium 2013-07-11 19:44:54 -07:00
Benjamin Bouvier
b226e3fc08 Bug 892291: Correctly compute ranges for Math.imul; r=nbp
--HG--
extra : rebase_source : 0b6d8d27bbb01fee911e90fc571f683e175fdbbc
2013-07-11 18:56:28 -07:00
Nicholas Nethercote
3262706d66 Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Mike Hommey
b20f881e7c Bug 892401 - Remove NEW_H. r=ted 2013-07-12 09:16:41 +09:00
Mike Hommey
5377dc0e9d Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Mike Hommey
f8d2405fcc Bug 892339 - Fail the build when there are text relocations. r=ted 2013-07-12 09:13:31 +09:00
Brian Hackett
e1af6a5691 Bug 891534 - Use asm.js ops for truncated unsigned div/mod, allow div ops to be marked as truncated, r=jandem. 2013-07-11 17:11:04 -06:00
Brian Hackett
f426863a2f Bug 891400 - Don't use LoadTypedArrayElementStatic for uint32 arrays. 2013-07-11 16:50:27 -06:00
Kannan Vijayan
957a02a6a6 Bug 877826 - Make GetPcScript handle rectifier frames appropriately. r=jandem 2013-07-11 18:26:35 -04:00
Steve Fink
df4af9618c Bug 848146 - Do not need to SkipRoot inline assembler buffers, r=terrence
--HG--
extra : rebase_source : 7b0011ba3b5b2749d1b57eec635ec7ccb2d1bdad
2013-03-05 14:57:49 -08:00
Nicholas Nethercote
a238c848b1 Bug 892187 (part 0) - Fix busted GGC builds. r=bhackett.
--HG--
extra : rebase_source : a4be26dc5bc99ea987e76023f437a64304001639
2013-07-11 15:05:25 -07:00
Terrence Cole
af5ce72172 Bug 891773 - Check ArrayBufferView's back reference before marking; r=sfink
--HG--
extra : rebase_source : 9509d8304020457f31cbb6b90ae5f6f4cc9270db
2013-07-11 14:34:54 -07:00
Terrence Cole
011c331a46 Bug 891773 - Do not assume RelocatablePtr is only used on JSObject; r=billm
--HG--
extra : rebase_source : ff327374ac7900626fe166b307fba5b1fcd31f3f
2013-07-11 14:34:48 -07:00
Brian Hackett
e50e097204 Bug 891400 - Improve pattern matching on static typed array accesses, r=jandem. 2013-07-11 15:08:26 -06:00
Gregory Szorc
d98f76c5d1 Bug 891474 - Establish unified directory for Python build actions; r=glandium, ted
--HG--
rename : config/purge_directories.py => python/mozbuild/mozbuild/action/purge_manifests.py
rename : build/xpccheck.py => python/mozbuild/mozbuild/action/xpccheck.py
extra : rebase_source : 46bc960aa62c1117a7bf215653b768dc78b48d9a
2013-07-11 13:42:26 -07:00
Adam Roach [:abr]
64a655c353 Bug 892594 - Fix LIR-Common.h to work with clang++ 4.1 r=nbp 2013-07-11 15:38:58 -05:00
Jason Orendorff
3cd652a520 Bug 885761 - Remove Token::t_op and KeywordInfo::op. r=till.
--HG--
extra : rebase_source : f1d267e99b76d1ed575beb214fbc0360cf8ebe7b
2013-07-10 16:37:45 -05:00
Jason Orendorff
311c871236 Backout rev 89551867dc2a for having the wrong bug number in the commit message (was bug 885762, should be bug 885761). Pointed out by Ms3ger. no_r=me.
--HG--
extra : rebase_source : 2171490306c5559161f34e537f035c2c69e1fdd2
2013-07-10 16:36:58 -05:00
Tom Schuster
0a070ad4d7 Bug 890729 - Reorder the CPOW traps. r=dvander 2013-07-11 11:23:34 -04:00
Nicholas D. Matsakis
88e95e2e7f Bug 829896 - Make typed array element accesses return undefined if the element is out of bounds, rather than accessing the prototype chain r=jandem 2013-07-09 15:29:39 -04:00
Norbert Lindenberg
dd67825892 Bug 854320 - ECMA-402 tests ch10/10.1/10.1.1_a.js, ch11/11.1/11.1.1_a.js, ch12/12.1/12.1.1_a.js failing. r=jwalden 2013-07-11 09:54:09 -04:00
Norbert Lindenberg
ed5b4a688f Bug 834989 - Use of RegExp in self-hosted code can be observed through RegExp statics. r=jwalden 2013-07-11 09:53:56 -04:00
Shu-yu Guo
8f9c8f97a4 Bug 890968 - Followup: forgot to qualify JSString::maybeChars() with const. DONTBUILD 2013-07-11 03:01:36 -07:00
Nicholas Nethercote
a020b2cc02 Bug 891215 (part 20) - Slim down String-inl.h. r=terrence.
--HG--
extra : rebase_source : 5b141ad99549d41ebb174d24df8b04d60fed3aae
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
6605ada0bc Bug 891215 (part 19) - Slim down Shape-inl.h. r=terrence.
--HG--
extra : rebase_source : 77cbecf4148cfcc6df2588001b36c78658eb90ea
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
664b1a11bb Bug 891215 (part 18) - Slim down RegExpStatics-inl.h. r=terrence.
--HG--
extra : rebase_source : 244cf0dbc08fd04307a0e371bfc753d1e4640a9d
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
c835f23f43 Bug 891215 (part 17) - Move SizeOfRegExpStaticsData() into the RegExpStaticsObject class. r=terrence.
--HG--
extra : rebase_source : 5ab7214b39e0ea7633e08eb912bb9dcbc7f973ef
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
2991a0e057 Bug 891215 (part 16) - Slim down RegExpObject-inl.h. r=terrence.
--HG--
extra : rebase_source : b868181ba37ae1332589a08a7d9a97bd649ea115
2013-07-09 13:41:16 -07:00
Nicholas Nethercote
92cd5a92ad Bug 891215 (part 15) - Slim down Interpreter-inl.h. r=terrence.
--HG--
extra : rebase_source : dea8c481504ce50b2b1869d81b4d6aa1a1f1a212
2013-07-09 13:19:37 -07:00
Nicholas Nethercote
d3b16160bf Bug 891215 (part 14) - Slim down GlobalObject-inl.h. r=terrence.
--HG--
extra : rebase_source : 126eaa4ad6cebf3e2794fec62b84cec610af4604
2013-07-09 13:19:08 -07:00
Wes Kocher
e4601507f5 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
Shu-yu Guo
0f274cbbca Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
3250f01e3b Bug 885017 - Fix length handling in ParallelArray.scatter. (r=pnkfelix) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
2df1fc9404 Bug 889346 - Check for NULL TypeObject when inlining ParallelArray constructors. (r=nmatsakis) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
16c9313251 Bug 881593 - Part 2: Add ParallelSpew intrinsic. (r=nmatsakis) 2013-07-10 18:25:34 -07:00
Shu-yu Guo
d2c0bc7345 Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
c481b972f1 Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
6641b744a2 Bug 877893 - Followup: add testcase. (r=me) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
1b1d9b4f6c Bug 890968 - Part 3: RAII wrapper for inspecting contents of JSStrings in a thread safe way. (r=nmatsakis) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
5e752148bc Bug 890968 - Part 2: Add nondestructive getChars to JSString. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
284f58e3bc Bug 890968 - Part 1: Revert thread unsafe JSString methods to JSContext. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
002288d11d Bug 888618 - Part 2: Make String post barriers take ThreadSafeContext. (r=terrence) 2013-07-10 18:21:23 -07:00
Shu-yu Guo
8627080ecc Bug 888618 - Part 1: Add Cell::tenuredIsInsideZone for threadsafe asserts. (r=billm) 2013-07-10 18:21:23 -07:00
Nicholas Nethercote
4b4f1c454e Bug 891209 (part 2) - Parse "detectably simple" expressions quickly. r=jorendorff.
--HG--
extra : rebase_source : c501dc470978a94898fd68311b776574034fb654
2013-07-08 19:09:34 -07:00
Nicholas Nethercote
4f1ed35b0d Bug 891209 (part 1) - Change TOK_ERROR from -1 to 0 so that TokenKind values can be used to index into arrays. r=jorendorff.
--HG--
extra : rebase_source : 197cfb12f68da77496aa1dae67261b8b48def897
2013-07-10 17:04:18 -07:00
David Anderson
144a6b0e34 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Jeff Walden
a2ead3b20d Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
6fc6164554 Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
70d30e3e5b Bug 891177 - Use MOZ_STATIC_ASSERT, not JS_STATIC_ASSERT, in Vector.h. r=terrence
--HG--
extra : rebase_source : 35bf9a16df56ff308ff2761f0f088a1ca980f04a
2013-07-02 17:33:32 -07:00
Jeff Walden
c010dec60f Bug 891177 - s/JS_ALWAYS/MOZ_ALWAYS/g and s/JS_NEVER/MOZ_NEVER/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 345ebb6b5d7f7b023bcebdf1610de4f03c98cf46
2013-07-02 17:31:49 -07:00
Jeff Walden
a5efd836c8 Bug 891177 - s/JS_ASSERT/MOZ_ASSERT/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 9ed551860edfb8801725a3575335039c1bb07692
2013-07-02 17:29:29 -07:00
Jeff Walden
d13ea6b69f Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Jeff Walden
616c67fb9d Bug 891177 - Add AllocPolicy.h to define an implementation policy concept for use in mfbt. r=terrence
--HG--
extra : rebase_source : f6336b5ba3298bbf9c5418b4e9d993b9173f7926
2013-07-02 17:16:07 -07:00
David Keeler
2fc8775cb1 bug 891992 - fix typo in js/jsd/jsdebug.h r=timeless 2013-07-10 13:53:27 -07:00
David Keeler
593fac08cf bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Hannes Verschore
c52be22933 Bug 889186: IonMonkey: When optimizing a compare mark replaced operands correspondingly as being folded, r=bhackett 2013-07-10 22:48:25 +02:00
Jim Blandy
c8668c0429 Bug 892014: Don't pass the 'vp' argument to handleUncaughtException if it's just going to be ignored. r=jorendorff 2013-07-10 13:15:57 -07:00
Gregory Szorc
0a41c9c2f9 Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Dan Gohman
5c28187fdb Bug 891702 - IonMonkey: Delete dead code. r=djvj 2013-07-10 11:57:15 -07:00
Dan Gohman
6227ba59c5 Bug 891070 - IonMonkey: Implement range analysis for nodes with Boolean return types. r=nbp 2013-07-10 11:48:28 -07:00
Dan Gohman
020e915138 Bug 891697 - IonMonkey: Make MIRGraph and MBasicBlock's dump methods more useful. r=nbp 2013-07-10 11:15:03 -07:00
Dan Gohman
d0bae8cbbf Bug 891087 - IonMonkey: Add MOZ_FINAL on getOperand, setOperand, and friends which are not meant to be further overridden. 2013-07-10 10:54:44 -07:00
Dan Gohman
7448890a7f Bug 891087 - IonMonkey: Annotate several classes with MOZ_FINAL. 2013-07-10 10:54:44 -07:00
Dan Gohman
5c882c6406 Bug 891087 - IonMonkey: Optimize that Ary classes' congruentTo implemtations to get better devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
ad4c31e90a Bug 891087 - IonMonkey: Add explicit downcasts to enable more devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
6afa20a433 Bug 891087 - IonMonkey: Move the input() accessor out of most of MUnaryInstruction's subclasses into MUnaryInstruction itself. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
195fb88846 Bug 891087 - IonMonkey: Eliminate an unnecessary getNumOperands call. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
918c414cf6 Bug 891087 - IonMonkey: When iterating through operand lists, call getNumOperands() once, instead of once per operand, since it is a virtual function call. r=nbp 2013-07-10 10:54:44 -07:00
Ryan VanderMeulen
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Brian Hackett
91e2fb6d54 Bug 885758 - Use consistent visibility in declarations for AutoGCRooter. 2013-07-10 10:06:12 -06:00
Brian Hackett
d38fee1f7f Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Jason Orendorff
dd58fd7bb8 Bug 880447 - Permit 'yield yield expr;'. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
d54e7a4d5a Bug 885219 - Assertion failure: !exprBody, at jsfun.cpp. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
0b0099e63b Bug 885762 - Remove Token::t_op and KeywordInfo::op. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
564cd4f0e6 Bug 886087 - Explicitly tell js_ReportGetterOnlyAssignment whether the assignment was strict rather than examining the stack. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
7526052f3c Bug 866849, part 2 - Implement Array.of. r=evilpie. 2013-07-10 08:14:02 -05:00
Jason Orendorff
7475fe406c Bug 866849, part 1 - Add assertEqual testing function in jit-test/lib/asserts.js. r=evilpies. 2013-07-10 08:14:02 -05:00
Jason Orendorff
528f5dcd9c Bug 844805, part 3 - Remove a call to FoldConstants from Parser::memberExpr. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
b72354fc1a Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
ea51f26e9b Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-07-10 08:14:01 -05:00