Commit Graph

39340 Commits

Author SHA1 Message Date
Shu-yu Guo
d0179c2296 Bug 1145781 - Unlazify functions when getting their debug scopes. (r=jimb) 2015-03-30 22:26:43 -07:00
L. David Baron
bb896e046a Back out changeset 501a8f687a91 (bug 1148973) for widespread test bustage. 2015-03-30 21:51:41 -07:00
Boris Zbarsky
a5dd2b089c Bug 1148973. When skipping shape guards in Ion common getter/setter code because the object has a non-configurable property, first verify that its current shape matches the shape we're using to compile our code. r=jandem 2015-03-30 23:44:01 -04:00
Bill McCloskey
ce0c07e593 Bug 1148962 - Use TakeOwnershipOfErrorReporting in CPOW code (r=bholley) 2015-03-30 20:13:06 -07:00
Wes Kocher
c758948b6d Backed out changeset 399c30b5e357 (bug 1145781) for bc1 orange CLOSED TREE 2015-03-30 18:50:06 -07:00
Wes Kocher
482117a15c Backed out changeset 912d7039be45 (bug 1118865) 2015-03-30 18:50:05 -07:00
Wes Kocher
e226c3a7c6 Backed out changeset a9137f699a08 (bug 1146696) for cgc orange CLOSED TREE 2015-03-30 16:23:49 -07:00
Eric Faust
aa62f321e0 Bug 1145795 - Remove LJSCallInstructionHelper::numStackArgs() footgun. (r=jandem) 2015-03-30 15:29:18 -07:00
Eric Faust
3d289f5ee0 Bug 1147581 - Remove the now defunct TMPSLOT mechanism. (r=jorendorff) 2015-03-30 15:29:16 -07:00
Shu-yu Guo
4f1d17f0fe Bug 1118865 - Relax assertion in DebugScopeProxy::isMagicMissingArgumentsValue. (r=nbp) 2015-03-30 15:25:06 -07:00
Shu-yu Guo
27ea207e65 Bug 1145781 - Unlazify functions when getting their debug scopes. (r=jimb) 2015-03-30 15:25:06 -07:00
Terrence Cole
b59b9ecc82 Bug 1147669 - Replace id marking functions with TraceEdge; r=jonco 2015-03-26 10:23:30 -07:00
Terrence Cole
af2c73052c Bug 1147665 - Replace value marking functions with TraceEdge; r=jonco 2015-03-26 10:23:27 -07:00
Terrence Cole
20916f0bed Bug 1147588 - Replace slots marking functions with TraceEdge; r=jonco 2015-03-26 10:23:26 -07:00
Terrence Cole
2e8bed2812 Bug 1147533 - Add cross-compartment tracing methods via the new tracing paths; r=jonco 2015-03-26 10:17:51 -07:00
Terrence Cole
28c0815f86 Bug 1147180 - Replace the generic Mark functions with TraceEdge; r=jonco 2015-03-24 14:37:16 -07:00
Terrence Cole
b1eef6cb11 Bug 1147180 - Introduce a new, strongly-typed tracing path; r=jonco, r=sfink 2015-02-26 14:15:26 -08:00
Jon Coppeard
20d7efa63f Bug 1146696 - Don't assume there are no arenas available after last ditch GC. r=terrence 2015-03-30 11:03:35 +01:00
Andrew McCreight
78ef3a55a4 Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
Andrew McCreight
1f6e5cfea2 Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku 2015-03-30 10:45:39 -07:00
Tom Tromey
19e44cb300 Bug 979094 - Fix ending location of variable declaration. r=jimb 2015-03-27 08:38:00 -04:00
Ryan VanderMeulen
bc8ad13bd6 Backed out changesets 490d2e6a5026 and f1bd22adbd0c (bug 1146696) for frequent mochitest-bc leaks.
CLOSED TREE
2015-03-30 11:36:59 -04:00
Jan de Mooij
fe9a88aebd Bug 1148880 - Make Trampoline-arm.cpp compile with Clang again. r=nbp 2015-03-30 15:29:29 +02:00
Jon Coppeard
fdf269d121 Bug 1146696 - Fix test failures on windows cgc builds r=me 2015-03-30 13:32:31 +01:00
Jon Coppeard
1742c200a6 Bug 1146696 - Don't assume there are no arenas available after last ditch GC r=terrence 2015-03-30 11:03:35 +01:00
Andrew McCreight
4b767927e9 Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Andrew McCreight
12bf4e0709 Bug 1147967 - Remove CreateStackFrameLocation. r=bholley
This method is defined on nsIXPConnect and StackFrame, but is not used.

Also the non-default constructor that for StackFrame that is no longer used.
2015-03-29 07:52:53 -07:00
Brian Hackett
75844cd483 Bug 1142843 - Optimize accesses through prototypes with typed object receivers in baseline and ion, r=jandem. 2015-03-28 17:03:45 -07:00
Jan de Mooij
353df38b83 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Emanuel Hoogeveen
fe06723bde Bug 1148214 - Replace manual AllocKind range checks with a few centralized functions. r=terrence 2015-03-26 17:07:00 -04:00
Phil Ringnalda
9e022af53e Backed out 7 changesets (bug 1147588, bug 1147669, bug 1147533, bug 1147665, bug 1135985, bug 1147180, bug 1147670) for frequent 10.10 devtools-2 GC assertion failures
CLOSED TREE

Backed out changeset 0bd8c4ec41fa (bug 1147670)
Backed out changeset 35ad82ff9ee7 (bug 1147669)
Backed out changeset ffe7f2e2a0f0 (bug 1147665)
Backed out changeset 37c42cff2c01 (bug 1147588)
Backed out changeset be4138f208ba (bug 1147533)
Backed out changeset 6bbd529bd995 (bug 1147180)
Backed out changeset 853e3ad56dad (bug 1135985)
2015-03-28 10:41:32 -07:00
Phil Ringnalda
ebf64fc997 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Phil Ringnalda
6ed9961a65 Backed out changeset d72144153749 (bug 1147005) for being on top of a patch on top of a patch being backed out
CLOSED TREE
2015-03-28 10:39:09 -07:00
Tom Schuster
66af630422 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Jan de Mooij
f981f078d8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Wes Kocher
7549c12aa0 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Nicolas B. Pierron
62c10dc568 Bug 1145811 - Remove simdSet argument of PushRegsInMask. r=bbouvier 2015-03-28 01:08:13 +01:00
Nicolas B. Pierron
16f92ff981 Bug 1143011 - Use AllocatableSet or LiveSet for all register set uses. r=jandem 2015-03-28 01:08:12 +01:00
Nicolas B. Pierron
36197ee613 Bug 1143011 - Extract the has/add/take logic out of the register sets to distinguish between allocatable and live sets. r=jandem,Waldo 2015-03-28 01:08:12 +01:00
Wes Kocher
dc968c65b7 Merge fx-team to m-c a=merge 2015-03-27 16:52:38 -07:00
Ryan VanderMeulen
75d2b3c79e Backed out 2 changesets (bug 854037, bug 1146644) for LexicalEnvironment/const-declaration-in-for-loop.js jsreftest failures.
Backed out changeset 2d59ec36a2e4 (bug 854037)
Backed out changeset 031ded170326 (bug 1146644)

CLOSED TREE
2015-03-27 13:28:58 -04:00
Nicolas B. Pierron
20614a00ae Bug 1134074 - IonBuilder: Atomize strings when inlining String.split. r=djvj 2015-03-27 17:40:57 +01:00
Jeff Walden
8424a49e0a Bug 854037 - Make lexical declarations in the initializing component of a for(;;) loop create a fresh binding for each iteration of the loop. r=shu 2015-03-27 12:29:50 -04:00
Ryan VanderMeulen
ca58b815ec Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Jon Coppeard
3e289ea5ed Backed out changeset 49aa36d0b28a and eaf2526ffd90 (bug 1146696) for jit-test failures on a CLOSED TREE 2015-03-27 15:04:35 +00:00
Jon Coppeard
c8758cc663 Bug 1146696 - Fix testcase not to over-recurse r=me on a CLOSED TREE 2015-03-27 13:55:07 +00:00
Jeff Walden
0ea97c1107 Bug 1146644 - Don't assert compiling a for-loop with a const loop-variable declaration. r=shu 2015-03-26 14:12:31 -04:00
Douglas Crosher
32c1fe7bea Bug 1147353 - Odin: simplify the masked index bounds check test. r=sfink, r=luke 2015-03-26 10:04:05 +11:00
Jeff Walden
69acd3a54d Bug 1145058 - Annotate the SpeciesConstructor utility function with step-by-step comment numbering to make clear where we do (and do not!) follow the spec. Also fix issues related to our half-pretense of implementing this method without having first implemented the well-known @@species symbol. r=efaust 2015-03-25 23:33:49 -04:00
Benjamin Bouvier
0ee9483405 Bug 1146311: Make some SIMD nodes cloneable and movable; r=sunfish 2015-03-23 13:41:10 +01:00
Benjamin Bouvier
9d90deaf90 Bug 1147405: Have math_ceil_handle use setNumber rather than setDouble; r=nbp 2015-03-26 15:44:55 +01:00
Benjamin Bouvier
9c983a74fe Bug 1147662: LexicalCheck should be a guard, so as not to be removed; r=shu 2015-03-26 12:59:26 +01:00
Lars T Hansen
e029dd0615 Bug 1146902 - be smarter about inlining atomics. r=jandem 2015-03-27 12:38:36 +01:00
Jon Coppeard
55e1d6be9c Bug 1146696 - Don't assume there are no arenas available after last ditch GC r=terrence 2015-03-27 10:20:53 +00:00
Lars T Hansen
165a62f67e Bug 1147810 - a barriered load has an effect. r=luke 2015-03-27 10:11:42 +01:00
Boris Zbarsky
db964dff03 Bug 1147907. Relax our realParent asserts in CloneFunction a bit, pending a proper fix for bug 1143794. r=luke 2015-03-26 23:03:20 -04:00
Boris Zbarsky
0a186b970b Bug 1142844. When xdr-decoding a non-lazy but relazifiable function, don't forget to set up the source object on the LazyScript we create for it. r=luke 2015-03-26 23:02:55 -04:00
Dave Townsend
eb3dac564e Bug 1144750: Don't attempt to report errors that will cause the warnings only reporter to assert. r=bholley 2015-03-18 14:51:18 -07:00
Wes Kocher
a3fdd0f317 Backed out changeset 7588e6588dd3 (bug 1144750) for static analysis failures 2015-03-26 15:52:13 -07:00
Dave Townsend
a48309727a Bug 1144750: Don't attempt to report errors that will cause the warnings only reporter to assert. r=bholley 2015-03-18 14:51:18 -07:00
Hannes Verschore
be05901872 Bug 1146410: IonMonkey: Make it possible to print typeset information anywhere, r=jandem 2015-03-26 12:14:03 +01:00
Hannes Verschore
e81e3353d1 Bug 1146410: IonMonkey: When filtering IsObject use the correct type, r=jandem 2015-03-26 12:14:01 +01:00
Dan Gohman
e950b1df92 Bug 1135903 - OdinMonkey: Make signal-handler OOB checking an independent configuration r=luke 2015-03-25 14:15:46 -07:00
Jason Orendorff
2b6a66aed6 Bug 1138489 - Remove JSPROP_INDEX. r=Waldo. 2015-03-02 10:20:56 -06:00
Jason Orendorff
db4ac4cade Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.
2015-03-01 13:16:19 -06:00
Jason Orendorff
0fa4a70f2d Bug 1146165 - Stop calling Proxy::set directly from Ion IC stub. EmitObjectOpResultCheck is retained because GenerateCallSetter still uses it in the JSSetterOp case. r=efaust. 2015-03-22 14:54:48 -05:00
Heiher
28b8b8bb28 Bug 1147908 - IonMonkey: MIPS: Fix UDiv and UMod for double and merge them. r=rankov 2015-03-26 08:13:00 -04:00
Aleksandar Zlicic
dc25f7b280 Bug 1147424 - IonMonkey MIPS: Fix build failures on MIPS caused by recent updates (MacroAssemblerMIPS::ma_b). r=rankov 2015-03-25 18:50:06 +01:00
Emanuel Hoogeveen
ad81fb23f7 Bug 1146662 - Refactor ArenasToUpdate::next to work with a range-based for loop. r=jonco 2015-03-26 09:50:00 -04:00
Marc Nieper-Wißkirchen
377e3da47f Bug 1133529 - Parametrize MVariadicInstruction to allow for MVariadicControlInstructions. r=luke 2015-03-27 00:28:00 -04:00
Jason Orendorff
e0dceb58e9 Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo. 2015-02-28 11:23:44 -06:00
Jason Orendorff
d28f3fee83 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo. 2015-02-17 11:58:43 -06:00
Jason Orendorff
e72f4ca876 Bug 1142784, part 1 - In NativeObject.cpp, move some Lookup functions out of the way and make a big swath of this file the [[DefineOwnProperty]] section. r=Waldo. 2015-02-17 12:01:54 -06:00
Jason Orendorff
98194bf6a0 Bug 1142775 - Rename NativeSet -> NativeSetExistingDataProperty and simplify it since it is only called for data properties. Delete Shape::set. Add comments. No change in behavior. r=efaust. 2015-02-28 14:40:07 -06:00
Steve Fink
8579523551 Bug 1126544 - Update sixgill to handle more constructs and manage memory better 2015-03-06 14:25:00 -08:00
Steve Fink
34033d2f31 Bug 1146520 - Do not treat osx arm-sim as a cross-compile, r=woof! 2015-03-25 07:55:53 -07:00
Steve Fink
5ad1c2ac99 Bug 1135399 - Timeout shell builds, r=catlee 2015-03-18 10:59:17 -07:00
Bill McCloskey
d524d0d64e Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) 2015-03-26 14:39:48 -07:00
Sean Stangl
433ad67fc4 Bug 1145882 - Part 2/2 - Add -v and --version. r=evilpie 2015-03-20 15:51:42 -07:00
Sean Stangl
fb2a57a16d Bug 1145882 - Part 1/2 - Only use $PYTHON after defined by MOZ_PYTHON. r=glandium 2015-03-20 15:19:43 -07:00
Shu-yu Guo
97672c8488 Bug 1147686 - Make mutableScript private and only use it when hasScript. (r=terrence) 2015-03-26 14:16:58 -07:00
Shu-yu Guo
32abf472e0 Bug 1147224 - Only keep the optimization information of the last time IonBuilder visits a bytecode location. (r=djvj) 2015-03-26 14:16:58 -07:00
Luke Wagner
55df90d788 Bug 1147144 - OdinMonkey: fix toString() on asm.js module when source discarding is enabled (r=bbouvier) 2015-03-26 14:37:19 -05:00
Bobby Holley
4681c5a757 Bug 1147215 - Add a helper to get the current window with a null check. r=smaug 2015-03-26 12:24:53 -07:00
Ryan VanderMeulen
0c190db734 Backed out changesets 72e99bad5294 and 2b873082da2f (bug 1138881) for browser_vimemacs.js crashes.
CLOSED TREE
2015-03-25 13:59:38 -04:00
Nicolas B. Pierron
4d92c1f829 Bug 1121613 - Move MacroAssemblerSpecific::Push to the generic MacroAssembler. r=jandem 2015-03-25 17:34:19 +01:00
Brian Hackett
1a5b452e6a Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-25 09:07:51 -07:00
Hannes Verschore
aa9c49f27b Bug 1138881 - IonMonkey: Allow fixing andor blocks which have MFilterTypeSet, r=bhackett 2015-03-25 16:15:28 +01:00
Hannes Verschore
dde1cfabd7 Bug 1138881 - IonMonkey: Improve types at AndOr, r=bhackett 2015-03-25 16:15:27 +01:00
Nicolas B. Pierron
57eca445bd Bug 1130089 - Use constexpr for JitStackValueAlignment. r=bbouvier 2015-03-25 15:59:02 +01:00
Nicolas B. Pierron
0994ed088a Bug 1092544 - Use assertRecoveredOnBailout in the test suite. r=bbouvier 2015-03-25 15:50:36 +01:00
Nicolas B. Pierron
35826c9278 Bug 1092544 - Assert that instructions are recovered on bailouts. r=bbouvier 2015-03-25 15:50:35 +01:00
Jan de Mooij
8870fabcd0 Bug 1146520 - Fix some minor autospider issues on OS X. r=sfink 2015-03-25 15:15:25 +01:00
Jan de Mooij
60cfaa0d07 Bug 1142669 part 6 - Don't inline scripts that are known to inline a lot of code. r=h4writer 2015-03-25 15:15:23 +01:00
Jan de Mooij
ded388f26f Bug 1143704 part 14 - Change newSrcNote* to return bool instead of int. r=luke 2015-03-24 09:45:24 +01:00
Jan de Mooij
0def86fd52 Bug 1143704 part 13 - Make emitJump, emitN etc return bool instead of ptrdiff_t. r=luke 2015-03-24 09:45:22 +01:00
Jan de Mooij
84c7076f2f Bug 1143704 part 12 - Move remaining functions to BytecodeEmitter. r=bhackett 2015-03-24 09:45:17 +01:00
Jon Coppeard
5e8d79d028 Bug 1144738 - Check for invalidated script when updating SetPropertyIC cache r=jandem 2015-03-25 10:49:52 +00:00
Lars T Hansen
c38e941f98 Bug 1141121 - Immediate operands to atomics, x86 and x64. r=h4writer 2015-03-25 10:51:12 +01:00
Shu-yu Guo
cd1753a401 No bug - Fix typo in MissingScopeKey comment. No review. 2015-03-24 18:49:16 -07:00