Terrence Cole
faa8ea7b6a
Bug 1144794 - Move markBufferedGrayRoots to the GCRuntime; r=sfink, a=RyanVM
2015-03-18 10:56:29 -07:00
Terrence Cole
0b3145e321
Bug 1144789 - Strongly type GrayBufferState enum and move to GCRuntime; r=sfink, a=RyanVM
2015-03-18 10:56:03 -07:00
Terrence Cole
bae886e9cf
Bug 1144369 - Add a GC phase to track time spent buffering gray roots; r=sfink, a=RyanVM
2015-03-18 10:49:02 -07:00
Terrence Cole
0d22d97eb5
Bug 1144331 - Assert that gray buffering does not depend on isMarking; r=jonco, a=RyanVM
2015-03-18 10:48:36 -07:00
Brian Hackett
5d733811e9
Bug 1143106
- Fix construction of singleton objects during parsing when unboxed objects are in use, r=jandem.
2015-03-18 08:42:30 -07:00
Nicolas B. Pierron
979db7f522
Bug 1137624 - Disable Array.join optimization. r=jandem
2015-03-18 15:12:47 +01:00
Boris Zbarsky
86b3a88d1b
Bug 1144452. Print the global in JSObject::dump. r=waldo
2015-03-18 09:24:13 -04:00
Boris Zbarsky
2676d9eb32
Bug 1144097. Fix yet another is<ScopeObject>() assert. r=shu
2015-03-18 09:24:13 -04:00
Boris Zbarsky
8480cad9bd
Bug 1135963. Allow JS_InitializePropertiesFromCompatibleNativeObject to deal with objects that have different prototypes. r=bhackett
2015-03-18 09:24:13 -04:00
Jon Coppeard
71dce41197
Bug 1125101 - Check budget in incremental compaction r=terrence
2015-02-26 12:35:59 +00:00
Jon Coppeard
e207ec92b0
Bug 1125101 - Incrementalise compacting GC by zones r=terrence
2015-02-26 12:35:59 +00:00
Hannes Verschore
981d22478b
Bug 1139152 - IonMonkey: Fix compiler issues with DebugOnly on CLOSED TREE
2015-03-18 11:06:14 +01:00
Tooru Fujisawa
0990b62287
Bug 1079919
- Part 4: Add Xray test for RegExp.prototype.toString. r=bholley
2015-03-18 18:22:05 +09:00
Tooru Fujisawa
a393614bb2
Bug 1079919
- Part 2: Make RegExp.prototype.toString to be a generic function. r=Waldo
2015-03-18 18:22:05 +09:00
Tooru Fujisawa
7029f1c38c
Bug 1079919
- Part 1: Support RegExp in Xray. r=bholley
2015-03-18 18:22:05 +09:00
Tooru Fujisawa
75d9d40a66
Bug 1079919
- Part 0: Add RegExp ClassSpec. r=bholley
2015-03-18 18:22:05 +09:00
Hannes Verschore
1e5553841b
Bug 1139152 - IonMonkey: Add dynamic output type checks for LIRs that use redefine, r=jandem
2015-03-18 10:08:39 +01:00
Hannes Verschore
9bde438ed5
Bug 1140890 - Make sure the first argument cannot bail in between negative zero removal and creating result in substraction, r=nbp
2015-03-18 10:08:37 +01:00
Sean Stangl
85a0952972
Bug 1038839 - Use type information for alias analysis. r=jandem
2015-03-10 14:56:13 -07:00
Jon Coppeard
5a08cd380f
Bug 1144108 - Fix debugger tests that are confused by GC zeal r=terrence
2015-03-17 16:07:40 +00:00
Lars T Hansen
6a7052d67f
Bug 1077014 - optimize atomics for effect. r=h4writer
2015-03-17 16:30:49 +01:00
Lars T Hansen
16402f7832
Bug 1077014 - MacroAssembler API, for MIPS. r=rankov
2015-03-17 16:30:49 +01:00
Lars T Hansen
8664902031
Bug 1077014 - MacroAssembler API. r=h4writer
2015-03-17 16:30:49 +01:00
Lars T Hansen
6bc008642c
Bug 1077014 - ARM assembler support for for-effect atomics. r=mjrosenb
2015-03-17 16:30:49 +01:00
Jon Coppeard
5d0074119f
Bug 1143706 - Allow BaseShape's global to be null when tracing r=terrence
2015-03-17 10:22:36 +00:00
Tooru Fujisawa
d087d1ddf6
Bug 1143512 - Remove unused declaration of regexp_flags. r=jandem
2015-03-17 18:49:46 +09:00
Nicholas Nethercote
194ec0d0ae
Bug 1142814 (attempt 2) - Optimize String.fromCharCode() when the number of args is small but > 1. r=jandem.
2015-03-12 17:19:48 -07:00
Wes Kocher
4a1d74cfc0
Backed out changeset 2693283b5d8b (bug 1142814) for bc1 orange
2015-03-16 17:45:45 -07:00
Nicholas Nethercote
b6b27f0a2a
Bug 1142814 - Optimize String.fromCharCode() when the number of args is small but > 1. r=jandem.
...
This avoids an unnecessary malloc.
The patch also adds testing for String.fromCharCode() with 2--20 args.
--HG--
extra : rebase_source : 4f56b15053914ebf6c94518047abbd5955482c1e
2015-03-12 17:19:48 -07:00
Tooru Fujisawa
9e50844c88
Bug 1143281 - Check argument type in StructType.prototype.addressOfField. r=jorendorff
2015-03-17 07:28:57 +09:00
Steve Fink
55c0d252ef
Bug 1095290
- Make unlazified scripts same-compartment with their functions, r=bhackett
...
--HG--
extra : rebase_source : 9d3c24eb7ecfd6511e1d5f2bb5f8d95bc5e27a67
2015-03-16 15:13:28 -07:00
Steve Fink
cf0a78ef9a
Bug 1139456
- Do not let compaction set the alloc threshold to unreasonably small sizes, r=terrence
...
--HG--
extra : rebase_source : 2842e2aaaa97b355c61637d421c8a3fb02d70d57
2015-03-16 15:13:20 -07:00
Ryan VanderMeulen
9823ebd77b
Backed out changeset df82a0b667bb (bug 1137180) for causing intermittent crashes.
2015-03-16 13:17:19 -04:00
Terrence Cole
d7de9b28da
Bug 1141234 - Part 7: Reorder the allocator methods for clarity; r=sfink
...
--HG--
extra : rebase_source : 416bf77e6710cbc6817c05b38093ba54dcdde4b2
2015-03-11 11:11:29 -07:00
Terrence Cole
c68983593b
Bug 1141234 - Part 6: Namespace the allocator into GCRuntime; r=sfink
...
--HG--
extra : rebase_source : b3a1a49368dd3cdedaa3cefb11ccf77a199dbce7
2015-03-11 11:09:31 -07:00
Terrence Cole
2fd6b7cb52
Bug 1141234 - Part 5: Inline the one user of ShouldNurseryAllocate; r=sfink
...
--HG--
extra : rebase_source : ccd1e76d1363f4396cc280ffca88138278ecbe36
2015-03-11 11:07:57 -07:00
Terrence Cole
a43111845b
Bug 1141234 - Part 4: Move off-thread object allocation above unimplementable operations; r=sfink
...
--HG--
extra : rebase_source : 5e7373a610982e7a1f333a236ea324bc36961c16
2015-03-11 11:07:38 -07:00
Terrence Cole
0e5039fd77
Bug 1141234 - Part 3: Share the code to allocate a tenured thing; r=sfink
...
--HG--
extra : rebase_source : 5b21b52b3ba7650b1a20ff15d87a1156a27f9409
2015-03-11 11:07:23 -07:00
Terrence Cole
f4c5db74f1
Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink
...
--HG--
extra : rebase_source : b272f6805d505ad4ae7ac997c3d50b08eadca16c
2015-03-11 11:06:20 -07:00
Benjamin Bouvier
55c05c9b53
Bug 1135039: Apply swizzle type policy changes in Ion too; r=sunfish
...
--HG--
extra : rebase_source : 8f6fc2f4bf447d0a94c4020745e021c761f2d9da
2015-03-02 19:40:06 +01:00
Benjamin Bouvier
c640efd2ea
Bug 1135039: Throw on non-int32 or out-of-bounds lanes arguments to swizzle/shuffle; r=sunfish
...
--HG--
extra : rebase_source : 8217021222a42042193443006f52f0356cebb772
2015-03-05 11:55:10 +01:00
Benjamin Bouvier
ba2ef44a01
Bug 1139473: File some metadata for the js/src/ subdirectory; r=jorendorff
...
--HG--
extra : rebase_source : 02642bc61adf6d2794f0f5b25d5192c5cad99412
2015-03-04 17:43:27 +01:00
ProgramFOX
7d68b9894a
Bug 1141629 - SIMD: Clarify that reciprocal and reciprocalSqrt are approximations. r=bbouvier
...
--HG--
extra : rebase_source : 72f3a65b345364b87c5c80e58606174072fbc841
2015-03-13 19:13:08 +01:00
ziyunfei
9f585220aa
Bug 1141392 - Disallow a line break between ArrowParameters and the arrow. r=jorendorff
...
--HG--
extra : rebase_source : fc7e5a78c0adcadc32219f893969d41c2697ecd9
2015-03-15 03:39:00 +01:00
Nick Fitzgerald
4fc22c0a2f
Bug 1137844 - Part 4: Test the Debugger.Memory.prototype.onGarbageCollection hook; r=sfink
2015-03-13 13:03:00 +01:00
Nick Fitzgerald
c6bb2bd53d
Bug 1137844 - Part 3: Fire the Debugger.Memory.prototype.onGarbageCollection hook after GCs; r=sfink
2015-03-13 13:03:00 +01:00
Nick Fitzgerald
0494065375
Bug 1137844 - Part 2: Add a Debugger.Memory.prototype.onGarbageCollection getter/setter pair. r=sfink
2015-03-13 13:03:00 +01:00
Nick Fitzgerald
51a7528e42
Bug 1137844 - Part 1: Make {get,set}HookImpl not rely on a Debugger instance in the 'this' slot; r=sfink
2015-03-13 13:03:00 +01:00
Nick Fitzgerald
a1aa0e9525
Bug 1137844 - Part 0 - Add docs for Debugger.Memory.prototype.onGarbageCollection; r=jimb
2015-03-13 13:02:00 +01:00
Brian Hackett
94ad027986
Bug 1137180 - Allow unboxed objects to be extended with new properties, r=jandem.
2015-03-15 14:26:42 -06:00
Brian Hackett
edf9e63797
Bug 1142331 - Don't optimize out scope chain slot in resume points for heavyweight functions, r=jandem.
2015-03-14 17:10:01 -06:00
Daniel Holbert
c5ea46e952
Bug 1143244: return false instead of nullptr, in failure case within js::XDRObjectLiteral(). r=bhackett
2015-03-13 23:00:02 -07:00
Boris Zbarsky
f919847867
Bug 805052 part 3. Remove parents from SpiderMonkey. r=waldo,terrence
2015-03-14 01:36:17 -04:00
Boris Zbarsky
e01e703d54
Bug 805052 part 2. Stop using the shape's parent to get the object's global. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
a0bb608e92
Bug 805052 part 1. Remove assertParentIs. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
8659fdcee1
Bug 1142864. Remove the parent argument from NewObject. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
0e64be3a51
Bug 1142865. Remove the parent argument from NewObjectWithGroup. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
04bd6d2255
Bug 1142304
. Remove the parent argument from NewObjectWithGivenTaggedProto. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
657942d7d3
Bug 1142309
. Remove the parent argument from NewObjectWithClassProto. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
562ae11f1e
Bug 1142859. Don't parent the object created by JS_DefineObject to the object we're defining on. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
c4105cdb82
Bug 1142310
part 2. Stop parenting scripted functions created via CloneFunctionObject to non-globals. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
2a60e1349b
Bug 1142310
part 1. Stop parenting scripted functions created via the NewFunction APIs to non-globals. r=waldo
2015-03-14 01:36:17 -04:00
Boris Zbarsky
fe0f33e72f
Bug 1097987 part 7. Require callers of JS::Evaluate to either use the global as the scope or pass in an explicit scopechain. r=waldo
2015-03-14 01:36:16 -04:00
Boris Zbarsky
d1e4959752
Bug 1097987 part 6. Require callers of JS_ExecuteScript to either use the global as the scope or pass in an explicit scopechain. r=waldo
2015-03-14 01:36:16 -04:00
Boris Zbarsky
5ac546abf3
Bug 1097987 part 5. Change XPCShellImpl to use the scopechain version of JS_ExecuteScript as needed. r=bholley
2015-03-14 01:36:16 -04:00
Boris Zbarsky
65cc333846
Bug 1097987 part 4. Change mozJSSubScriptLoader to use the scopechain version of JS_ExecuteScript as needed. r=bholley
2015-03-14 01:36:16 -04:00
Boris Zbarsky
02474ef029
Bug 1097987 part 2. Change JS shell's Run to always compile/execute the script in global scope instead of using its this object. r=waldo
2015-03-14 01:36:16 -04:00
Boris Zbarsky
c219d39e76
Bug 1097987 part 1. Change some JS shell function signatures to make it clearer that they are always working with globals, not arbitrary objects. r=waldo
2015-03-14 01:36:16 -04:00
Boris Zbarsky
c2abb86e73
Bug 1142296. Remove the parent argument from NewObjectWithGivenProto. r=waldo
2015-03-14 01:36:16 -04:00
Nick Fitzgerald
84902745a6
Bug 1142338 - Debugger.Memory's census shouldn't use JS::ubi::Node::as<T>; r=sfink
2015-03-13 13:19:26 -07:00
Tom Tromey
55b3f28580
Bug 1135731 - fix encoding inconsistency in NS_NewXBLProtoImpl; r=mrbkap
2015-03-13 12:05:57 -07:00
Nicolas B. Pierron
c3976d440c
Bug 1138391 - LazyLinkStub stops making a call and reuses the parent frame. r=h4writer
2015-03-13 16:48:16 +01:00
Nicolas B. Pierron
2af8c2b3fe
Bug 1133389 - Fix FrameIter::matchCallee to consider all inner functions and not only lambdas. r=shu
2015-03-13 16:14:03 +01:00
Emanuel Hoogeveen
b84e0849ec
Bug 1139552 - Convert js::gc::AllocKind to an enum class and eliminate non-AllocKind indexing. r=terrence
2015-03-13 02:13:00 +01:00
Dave Herman
3e9db59cdf
Bug 913617 - Reflect.parse: rename ArrowExpression to ArrowFunctionExpression. r=jorendorff
2015-03-10 10:50:00 +01:00
Jason Orendorff
f45ce06bc8
Bug 1133081, part 5 - Remove non-asserting PropertyDescriptor accessors in favor of the new PropDesc-inspired asserting accessors. r=efaust.
...
value() can't assert hasValue() because too many places have plausible reasons for calling it on a PropertyDescriptor they basically know nothing about. One such place is CompartmentChecker::check(Handle<JSPropertyDescriptor>). Another is DefinePropertyByDescriptor. Maybe this will change with time.
In some cases we do things like `desc.hasWritable() && desc.writable() != existing_desc.writable()`. It is OK to write it this way, even though we have not checked existing_desc.hasWritable(), because in these cases we already know existingDesc is a complete property descriptor.
--HG--
extra : rebase_source : 3ec090ea79908eb5e7b5ea8ad1d702229f5cc3b1
2015-02-15 06:18:30 -06:00
Jason Orendorff
d7d932d26d
Bug 1133081, part 4 - Reimplement the remaining PropDesc methods and delete PropDesc. r=efaust.
...
--HG--
extra : rebase_source : 54cd77c04c4c871c2700bfc71323bc14c9871ccf
2015-02-14 07:37:13 -06:00
Jason Orendorff
f060ec7929
Bug 1133081, part 3 - Switch from js::PropDesc to JSPropertyDescriptor for more odds and ends. r=efaust.
...
--HG--
extra : rebase_source : 9252a9febd0043fae1b93ce4244c8ee57388f432
2015-02-13 19:08:21 -06:00
Jason Orendorff
2f9f66f704
Bug 1133081, part 2 - Switch from js::PropDesc to JSPropertyDescriptor for js::StandardDefineProperty implementation. r=efaust.
...
--HG--
extra : rebase_source : 6b5244c8f233cfe0ea3c534b97a67b7cda7a14cf
2015-02-13 18:52:45 -06:00
Jason Orendorff
c489654a3e
Bug 1133081, part 1 - Switch from js::PropDesc to JSPropertyDescriptor for all users of js::StandardDefineProperty (mainly Object.defineProperty/Properties and the corresponding Debugger.Object methods). r=efaust.
...
--HG--
extra : rebase_source : ecccd40e8acc63b84510f1613b607508baad9a5f
2015-02-13 14:31:27 -06:00
Lars T Hansen
9494ab11a0
Bug 1140084 - delete list of script counts in tail-recursive fashion. r=bhackett
2015-03-13 08:40:33 +01:00
Boris Zbarsky
84354886af
Bug 1142731 followup. Check isInterpreted() before we call environment(), because of the asmjs lambdas. r=waldo, I bet.
2015-03-12 22:47:52 -04:00
Boris Zbarsky
4792b850ba
Bug 1141905 part 4. Add some assertions about what enclosingScope can return for non-scope objects. r=waldo
2015-03-12 21:46:57 -04:00
Boris Zbarsky
e81d916b21
Bug 1141905 part 3. Use CreateScopeObjectsForScopeChain in DebuggerFrame_evalWithBindings. r=shu
2015-03-12 21:46:57 -04:00
Boris Zbarsky
695f01b4f2
Bug 1141905 part 2. Make the 5-arg version of CreateScopeObjectsForScopeChain non-static so it can be called from multiple files, and move it to a possibly-saner location. r=shu
2015-03-12 21:46:57 -04:00
Boris Zbarsky
56b1e9848a
Bug 1141905 part 1. Make it possible to CreateScopeObjectsForScopeChain with a given non-global scope chain terminator. r=shu
2015-03-12 21:46:57 -04:00
Boris Zbarsky
6c34899d42
Bug 1142731. Make IsInternalFunctionObject work correctly again. r=waldo
2015-03-12 21:46:57 -04:00
Boris Zbarsky
5ae05d7e9a
Bug 1142311 part 2. Rename the parent arg of NewScriptedFunction to enclosingDynamicScope, and make it optional. r=waldo
2015-03-12 21:46:57 -04:00
Boris Zbarsky
8f6992dd92
Bug 1142311 part 1. Stop parenting self-hosted objects to the intrinsics holder. r=waldo
2015-03-12 21:46:57 -04:00
Brian Hackett
89a333a739
Bug 1135897 - Use unboxed objects for JSON objects and constant literals embedded in scripts, r=jandem.
2015-03-12 17:09:21 -06:00
Jim Blandy
f5ae8deae6
Bug 1128603: Remove findReferences and the tests that use it. r=terrence
...
--HG--
extra : rebase_source : d2619dffb3a0d406e8512a5611096eb0cd03bd3f
extra : amend_source : 086dee8a8dd091676bad889895164f1057708eee
2015-03-12 14:08:49 -07:00
Luke Wagner
70288ad5f9
Bug 1136331 - OdinMonkey: allow stdlib calls in heap expressions (r=bbouvier)
...
--HG--
extra : rebase_source : 11d3f434ae9fc85246a6053aad235d3794aa8cfe
2015-02-24 14:11:37 -06:00
Ryan VanderMeulen
172a9aa7e0
Backed out changeset 94f1fc3d9ec8 (bug 1135897) for LSAN leaks.
...
CLOSED TREE
2015-03-12 15:02:08 -04:00
Ryan VanderMeulen
8fbe69b141
Backed out 8 changesets (bug 1141234) for bustage.
...
Backed out changeset 9c7dd01f338e (bug 1141234)
Backed out changeset df39d787c523 (bug 1141234)
Backed out changeset 3632c514a358 (bug 1141234)
Backed out changeset 1e8743d47b41 (bug 1141234)
Backed out changeset ddd5d5191e49 (bug 1141234)
Backed out changeset 274b1f5afc29 (bug 1141234)
Backed out changeset 65e299373b5b (bug 1141234)
Backed out changeset eff0109392e9 (bug 1141234)
2015-03-12 15:01:16 -04:00
Terrence Cole
fbd1e7e370
Bug 1141234 - Part 8: Suppress a false positive rooting analysis hazard; r=sfink
2015-03-12 11:20:47 -07:00
Terrence Cole
278c3b07fc
Bug 1141234 - Part 7: Reorder the allocator methods for clarity; r=sfink
2015-03-11 11:11:29 -07:00
Terrence Cole
5bcdbfd721
Bug 1141234 - Part 6: Namespace the allocator into GCRuntime; r=sfink
2015-03-11 11:09:31 -07:00
Terrence Cole
01f2fccf3f
Bug 1141234 - Part 5: Inline the one user of ShouldNurseryAllocate; r=sfink
2015-03-11 11:07:57 -07:00
Terrence Cole
446ceb1489
Bug 1141234 - Part 4: Move off-thread object allocation above unimplementable operations; r=sfink
...
--HG--
extra : rebase_source : 69ae05513b5ca2f8dfa0f006ed8d5e9df04c149d
2015-03-11 11:07:38 -07:00
Terrence Cole
355d820daa
Bug 1141234 - Part 3: Share the code to allocate a tenured thing; r=sfink
...
--HG--
extra : rebase_source : 9b9b320a6e94abc9a543b54d6e968217c20a0696
2015-03-11 11:07:23 -07:00
Terrence Cole
37560d20b5
Bug 1141234 - Part 2: Use UniquePtr to free slots if object allocation fails; r=sfink
...
--HG--
extra : rebase_source : 2822811f81dfaac81a424422e04f2ba7325a3b78
2015-03-11 11:07:22 -07:00
Terrence Cole
79915303f4
Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink
...
--HG--
extra : rebase_source : fe817f518671675e26b2df12a48ff2b0fca2fcb0
2015-03-11 11:06:20 -07:00
Nicolas B. Pierron
364a4cc4af
Bug 1131846 - Check the return value of MResumePoint::Copy. r=h4writer
2015-03-12 19:17:50 +01:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Nicolas B. Pierron
7b765cf10b
Bug 1105574 - Range Analysis: Keep folded bitwise instructions alive for bailouts. r=sunfish
2015-03-12 19:01:51 +01:00
Jason Orendorff
24e0838e6f
Bug 1133294 - Object.getOwnPropertyDescriptor(obj, key) must always return either undefined or a complete property descriptor, even if obj is a proxy. r=efaust.
...
--HG--
extra : rebase_source : 6f68a9607d1a3f8c5a589bd51aa737d601b00e16
extra : amend_source : b4afc4ecede67f806e2b00adfa004ee72e3bfd91
2015-02-15 02:49:42 -06:00
Jason Orendorff
ad14104dc9
Bug 1133085 - PropDesc::initFromPropertyDescriptor should understand JSPROP_GETTER without JSPROP_SETTER and vice versa. r=efaust.
...
PropDesc and PropertyDescriptor are at last capable of expressing all valid PropertyDescriptors, both complete and incomplete. This should make them pretty much equivalent. But since this came on gradually, there is a lingering bug in the code that translates between the two structs.
--HG--
extra : rebase_source : 7787ce6d1e116548f656a1a02d7ef325a7bc783a
2015-02-13 16:25:31 -06:00
Jason Orendorff
dc964acb19
Bug 1133094 - Object.defineProperty() on scripted proxy incorrectly sets {[[Configurable]]: true} if it's missing. r=efaust.
...
It is not immediately clear why the test has anything to do with the code changes, but the code changes do in fact make that test pass, because they cause us not to generate nonsensical PropDesc/PropertyDescriptor records that confuse our DefineProperty machinery.
The first hunk in jsobj.cpp is the key bit, and the rest is mopping up regressions from that change.
--HG--
extra : rebase_source : 150d5fd6d294a97b249c4636138a5aa78f72a38d
2015-02-13 17:07:08 -06:00
Jason Orendorff
205f49b948
Bug 1130537 - Reimplement js::SetPropertyIgnoringNamedGetter to follow ES6 draft rev 32 9.1.9 [[Set]]. r=efaust.
...
--HG--
extra : rebase_source : 6f7d04b419f7a0d31ab7914df60c51db2658c31f
2015-02-06 16:55:49 -06:00
Brian Hackett
4ec89acaaf
Bug 1137180 - Only mark inner scripts as having failed a bounds check after bailing out, r=jandem.
2015-03-12 11:15:01 -06:00
Brian Hackett
cd01ecd2f8
Bug 1135897 - Use unboxed objects for JSON objects and constant literals embedded in scripts, r=jandem.
2015-03-12 10:58:19 -06:00
Kannan Vijayan
2bce8ca261
Bug 1132265 - Handle dummy frames when initializing ProfilingFrameIterator. r=shu
2015-03-12 12:37:21 -04:00
Brian Hackett
e3a09cbcf6
Bug 1128076 - Clean up naming around unboxed scalar MIR accesses, r=jandem.
2015-03-12 10:25:44 -06:00
Kannan Vijayan
2c3cf9af1b
Bug 1135703 - Add test case. r=shu
2015-03-12 12:19:58 -04:00
Kannan Vijayan
95bb641fb6
Bug 1135703 - Ensure that lastProfilingFrame gets set appropriately on ALL JitActivations when profiling is turned on or off. r=shu
2015-03-12 12:17:40 -04:00
Kannan Vijayan
4511df38c5
Bug 1134515 - Ensure SPSBaselineOSRMarker checks pseudostack size properly. r=shu
2015-03-12 12:13:16 -04:00
Jan de Mooij
345a0ef86e
Bug 1128646 part 1 - Optimize calls to own property scripted getters. r=efaust
2015-03-12 16:57:34 +01:00
Hiroyuki Ikezoe
36fdba3e1a
Bug 751387 - Fix crash caused by out-of-bounds accesses in command line options handling. r=bholley
2015-03-12 01:37:00 -04:00
Jan de Mooij
c79699b21f
Bug 1140428 - Warn when __noSuchMethod__ is used. r=jorendorff
2015-03-12 13:07:02 +01:00
Boris Zbarsky
46b5adbff8
Bug 1142282 part 3. Remove the parent argument of NewNativeObjectWithClassProto. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
a34c94dd8a
Bug 1142282 part 2. Remove the parent argument of NewNativeObjectWithGivenTaggedProto. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
2fd882441b
Bug 1142282 part 1. Remove the parent argument of NewNativeObjectWithGivenProto. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
d0524b1a9e
Bug 1142266. Remove the parent argument from js::NewObjectWithProto. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
425e239f47
Bug 1142241. Stop using getParent() in js::GetObjectEnvironmentObjectForFunction. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
1ca30ee69f
Bug 1140586 part 5. Split up js::NewFunction into several different APIs that are more clear in terms of what they do and don't need parents as much. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
bf509e3470
Bug 1140586 part 4. Stop passing non-null parents to js::NewFunctionWithProto when creating a native function via direct calls to that API. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
3b6d207238
Bug 1140586 part 3. Drop the funobjArg of js::NewFunction and js::NewFunctionWithProto. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
3e6ae938f8
Bug 1140586 part 2. Stop passing non-null funobjArg to js::NewFunction and js::NewFunctionWithProto. r=waldo
2015-03-11 22:33:59 -04:00
Boris Zbarsky
d69ae85742
Bug 1140586 part 1. Add some asserts about us not caring too much about the parents of native functions. r=waldo
2015-03-11 22:33:58 -04:00
Wes Kocher
6473a1f935
Backed out changeset 851347e26940 (bug 1038839) for spidermonkey failures CLOSED TREE
2015-03-11 14:52:14 -07:00
Sean Stangl
9fb770d771
Bug 1038839 - Use type information for alias analysis. r=jandem
2015-03-10 14:56:13 -07:00
Boris Zbarsky
f5d543e29c
Bug 1140737. Fix Ion setter cache to reserve the register the value being set lives in as needed, so other things don't stomp on that register. r=jandem
2015-03-11 16:53:29 -04:00
Brian Hackett
798a1ce672
Bug 1141379 - Remove unboxed layouts from the per-compartment list they are threaded through while we are still on the main thread, r=jandem.
2015-03-11 14:08:00 -06:00
Brian Hackett
68283b5b8d
Bug 1139466 - Watch for strict scripts with lazy arguments when marking Ion frames, r=jandem.
2015-03-11 14:03:24 -06:00
Ryan VanderMeulen
bdbf597dc9
Backed out changesets 18c84fcee487 and cc4786da89db (bug 1135039) for Linux32 jit-test assertion failures.
...
CLOSED TREE
2015-03-11 15:23:58 -04:00
Benjamin Bouvier
611473a2a2
Bug 1140317: and even more using mozilla::UniquePtr in a CLOSED TREE; r=bustage
...
--HG--
extra : rebase_source : c4f6f5bf886cdc2cd151efbc396205940af26714
2015-03-11 17:47:45 +01:00
Benjamin Bouvier
47bf0598f9
Bug 1140317: include more UniquePtr and more using mozilla::UniquePtr in a CLOSED TREE; r=bustage
...
--HG--
extra : rebase_source : f8a64e3c5cdaa9abd47e2071d1a6331622e00e98
2015-03-11 17:32:02 +01:00
Jason Orendorff
0ab8467895
Bug 1137616 - Restore ReferenceError when a proxy is on the global object's prototype chain, regressed by rev 615f118f2787. r=jandem.
...
--HG--
extra : rebase_source : b6e51ec6061c99a0d796b85f87d25e436d3e472e
2015-03-03 18:13:03 -06:00
Jason Orendorff
cd9a74e351
Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
...
--HG--
extra : rebase_source : 8bfc7e8ebd9219511a6119bcefd2c784dc9a1682
2015-02-11 11:38:36 -06:00
Jason Orendorff
0c60195cd7
Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. r=efaust.
...
This changeset includes a change in addon-sdk/source that is logically of a piece with the rest, but was reviewed separately; see <https://github.com/mozilla/addon-sdk/pull/1888 >. r=Mossop.
--HG--
extra : rebase_source : 2cc5537258811d6c9d369062bd127947eed450c1
2015-02-13 09:49:31 -06:00
Jason Orendorff
ee6d024995
Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. r=efaust.
...
--HG--
extra : rebase_source : 2fb0022f52553fe3bedf38e46ae50d465b7ae402
2015-02-12 11:29:32 -06:00
Benjamin Bouvier
4c5b145bae
Bug 1135039: Apply swizzle type policy changes in Ion too; r=sunfish
...
--HG--
extra : rebase_source : ea6a775b4a32aa83745ae8950867f92dd1ff2e0b
2015-03-02 19:40:06 +01:00
Benjamin Bouvier
fca5b420d0
Bug 1135039: Throw on non-int32 or out-of-bounds lanes arguments to swizzle/shuffle; r=sunfish
...
--HG--
extra : rebase_source : 569ad212b4cd75089ba449ae86922d641810ae33
2015-03-05 11:55:10 +01:00
Jason Orendorff
8da1228198
Bug 1141329 - Fix crash [@ JSObject::getGroup] or [@ js::jit::SetPropertyIC::update]. r=efaust.
...
--HG--
extra : rebase_source : f34ba2ec39a84663892db9e08405e0efb3f5cd46
2015-03-10 13:14:36 -05:00
Jason Orendorff
eedeed1e47
Bug 1141329, prelude - Make ObjectOpResult pointer-sized to fix amazingly bogus code and assertions in IonCaches, introduced by rev 0712a3d4b79c. r=efaust.
...
--HG--
extra : rebase_source : 1d82219b61105088cf27154c6200e647091a36e0
2015-03-10 12:22:30 -05:00
Jason Orendorff
a9a1c904c3
Bug 1141154 - Fix crashes with Ion and proxy set failure cases, caused by rev 0712a3d4b79c. r=efaust.
...
--HG--
extra : rebase_source : d56b6bfda21f3e3797aae487efb344aae782c277
2015-03-09 19:07:56 -05:00
Benjamin Bouvier
98c2be829a
Bug 1140317: Make sure chars created by DecompileValueGenerator won't ever leak; r=Waldo
...
--HG--
extra : rebase_source : 826d3b85b3b0b094f9d4d570a13915a99e985598
2015-03-10 19:34:00 +01:00
Lars T Hansen
5c82f1e14b
Bug 1141067 - byte operations on x86/x64. r=sunfish
2015-03-11 15:45:57 +01:00
Lars T Hansen
6a807eabb7
Bug 1138348 - byte array test cases. r=h4writer
2015-03-11 15:45:57 +01:00
Lars T Hansen
0bb0797a10
Bug 1138348 - byte ops on x86_64. r=h4writer
2015-03-11 15:45:57 +01:00
Jan de Mooij
1f3dbeca3b
Bug 1090583 part 2 - Fix the property count check in MonitorAssign to check the actual count instead of the capacity. r=bhackett
2015-03-11 11:58:25 +01:00
Benjamin Bouvier
52df648372
Bug 1140709: Add a second bounds check for checking that the index is actually positive; r=bhackett
...
--HG--
extra : rebase_source : b00b985e47d4814e1b7a8b8afd347b4f908d5303
extra : amend_source : 3bf3226a3a7b46ed083f0565c66dc48f8d270adc
2015-03-10 19:24:25 +01:00
ziyunfei
1158db1ff7
Bug 1108949 - RegExp(RegExp object, flags) no longer throws. r=till
...
--HG--
extra : rebase_source : 08109d67f72abee35d9928c6645e43cdffd6e85c
2015-03-10 21:36:00 +01:00
Eric Faust
3cf7f008c4
Bug 1066233 - Followup: Address a forgotten review comment. (r=jorendorff)
2015-03-11 00:49:38 -07:00
Eric Faust
ad9c2fb296
Bug 1066233 - Tests. (r=jorendorff)
2015-03-11 00:44:41 -07:00
Eric Faust
3ba28c5305
Bug 1066233 - Part 3: Reflect.parse support for ES6 ClassExpressions. (r=jorendorff)
2015-03-11 00:44:41 -07:00
Eric Faust
9a04835fc4
Bug 1066233 - Part 2: Emitter support for ES6 ClassExpressions. (r=jorendorff)
2015-03-11 00:44:41 -07:00
Eric Faust
4c1796a8f6
Bug 1066233 - Part 1: Parser suppoert for ES6 ClassExpressions. (r=jorendorff)
2015-03-11 00:44:41 -07:00
Eric Faust
362ec8b4d4
Bug 1066234 - Tests. (r=jorendorff)
2015-03-10 20:27:35 -07:00
Eric Faust
fa7237865e
Bug 1066234 - Part 6: Emitter support for 'extends' in ES6 Classes. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
bde88f8031
Bug 1066234 - Part 5: Implement JSOP_OBJWITHPROTO. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
e61516dc68
Bug 1066234 - Part 4: Implement JSOP_FUNWITHPROTO. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
ba03dfe707
Bug 1066234 - Part 3: Refactor js::CloneFunctionObject to take a proto argument. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
2d0c5144f4
Bug 1066234 - Part 2: Implement JSOP_CLASSHERITAGE. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
0255a0299e
Bug 1066234 - Part 1: Parser support for 'extends' in ES6 Classes. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Phil Ringnalda
c9d7caebde
Backed out 7 changesets (bug 1066234) for bustage
...
CLOSED TREE
Backed out changeset ce28663e61d4 (bug 1066234)
Backed out changeset e06ad6b69b25 (bug 1066234)
Backed out changeset 99933582c7d8 (bug 1066234)
Backed out changeset a40045b47bba (bug 1066234)
Backed out changeset f6b44a3c3c6f (bug 1066234)
Backed out changeset 478d797266b1 (bug 1066234)
Backed out changeset 73f4dd8f8d97 (bug 1066234)
2015-03-10 20:44:12 -07:00
Eric Faust
060d7c0a57
Bug 1066234 - Tests. (r=jorendorff)
2015-03-10 20:27:35 -07:00
Eric Faust
c00fc2c512
Bug 1066234 - Part 6: Emitter support for 'extends' in ES6 Classes. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
bc022f421f
Bug 1066234 - Part 5: Implement JSOP_OBJWITHPROTO. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
499ec1d19f
Bug 1066234 - Part 4: Implement JSOP_FUNWITHPROTO. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
f6ede58ce7
Bug 1066234 - Part 3: Refactor js::CloneFunctionObject to take a proto argument. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
f716749e26
Bug 1066234 - Part 2: Implement JSOP_CLASSHERITAGE. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Eric Faust
1fe797e160
Bug 1066234 - Part 1: Parser support for 'extends' in ES6 Classes. (r=jorendorff)
2015-03-10 20:27:34 -07:00
Shu-yu Guo
bd45de1bac
Bug 1140643 - JitcodeGlobalMap marking must participate in iterative weak reference marking. (r=terrence)
2015-03-10 20:12:32 -07:00
Wes Kocher
02e6dbd486
Backed out changeset 449fc5e20299 (bug 1141067) for making windows ggc permafail CLOSED TREE
2015-03-10 19:50:23 -07:00
Wes Kocher
68ce293eb5
Backed out 2 changesets (bug 1138348)
...
Backed out changeset 9c405f41e3e7 (bug 1138348)
Backed out changeset 5777a98e824f (bug 1138348)
2015-03-10 19:49:58 -07:00
Blake Kaplan
3ae54c5cdb
Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm
...
--HG--
extra : rebase_source : cd3ce71089e89c512c0cc04fb49c666e5fab5117
2015-03-10 14:36:01 -07:00
Wes Kocher
014849cca6
Merge m-c to inbound a=merge CLOSED TREE
2015-03-10 16:11:23 -07:00
Wes Kocher
d8ac0068e5
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
cc4d1b9af9
Merge mozilla-central to b2g-inbound
2015-03-10 14:07:36 +01:00
Lars T Hansen
5dd9fabd2f
Bug 1138348 - byte array test cases. r=h4writer
2015-03-10 08:29:03 +01:00
Lars T Hansen
e21d01ae4e
Bug 1138348 - byte ops on x86_64. r=h4writer
2015-03-10 08:29:01 +01:00
Lars T Hansen
10a38119d5
Bug 1141067 - clean up x86 and x64 byte operations. r=sunfish
2015-03-10 08:28:24 +01:00
Sean Stangl
ebf143adc2
Bug 1141268 - Install js-config.h for standalone builds. r=glandium
2015-03-09 13:42:31 -07:00
Chris Peterson
f52bd1d07c
Bug 1140806 - Initialize JS random seed using arc4random on Android and BSDs. r=fitzgen
2015-03-08 17:49:04 -07:00
Shu-yu Guo
9906429672
Bug 1140741 - Teach JitProfilingFrameIterator to read DebugModeOSRInfo. (r=djvj)
2015-03-09 18:55:26 -07:00
Lars T Hansen
5406e27070
Bug 1141516 - call reportCompare even on early exit. r=luke
2015-03-10 16:35:20 +01:00
Brian Hackett
39171f8939
Bug 1138073 - Improve checking when folding and/or blocks in Ion, r=sunfish.
2015-03-10 08:56:57 -06:00
Tom Schuster
dadd824d2c
Bug 1139696 - Test for cross-compartment Set/Map clone (r=billm)
2015-03-09 17:55:19 -07:00
Bill McCloskey
d3467852f4
Bug 1139696 - Fix cross-compartment Map/Set structured cloning (r=evilpie)
2015-03-09 17:43:54 -07:00
Jeff Walden
4877857e68
Bump the XDR version two more to account for yet more branch-versioning oddities. No bug, r=me as trivial, DONTBUILD because really building bytecode-bumping patchwork twice is just too much for an opaque identifier that we already built once, pushing in a CLOSED TREE because version bumps are risk-free and these versions are needed for a branch backport and otherwise I'm spinning wheels waiting on the tree to reopen right now
2015-03-09 10:57:47 -07:00
Jeff Walden
e9437e2662
Bump XDR bytecode version up several to reserve those skipped version numbers for use in branch patches. No bug, r=me as trivial
2015-03-09 10:37:00 -07:00
Nicolas B. Pierron
0fa9a5e3bf
Bug 1138141 - x64: Add some padding after pushing an odd number of float32 registers. r=bbouvier
2015-03-09 18:21:42 +01:00
Boris Zbarsky
5801b265ee
Bug 1140670 part 3. Add an assertParentIs() for asserting the parent is something specific and use it in various places to eliminate getParent() calls. r=waldo
2015-03-09 12:52:15 -04:00
Boris Zbarsky
fc853faf5b
Bug 1140670 part 2. Just use the global as the parent in js::CreateThis and js::CreateThisForFunctionWithProto. r=waldo
2015-03-09 12:50:56 -04:00
Boris Zbarsky
e6f23c7edb
Bug 1140670 part 1. Just use the global, not the proto's parent, as the default parent in NewObjectWithGivenTaggedProto. r=waldo
2015-03-09 12:50:55 -04:00
Boris Zbarsky
5d2ae0a555
Bug 1140573 part 4. Drop the parent argument from js::NewFunctionByIdWithReserved. r=waldo
2015-03-09 12:50:08 -04:00
Boris Zbarsky
cc3b42e52a
Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo
2015-03-09 12:50:07 -04:00
Boris Zbarsky
8a4d4838fb
Bug 1140573 part 2. Drop the parent argument from JS_NewFunctionById. r=waldo
2015-03-09 12:50:05 -04:00
Boris Zbarsky
dcb007a0d8
Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo
2015-03-09 12:50:03 -04:00
Boris Zbarsky
5d69db0b28
Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo
2015-03-09 12:49:50 -04:00
Carsten "Tomcat" Book
54a4c96d39
Backed out changeset 95fa879e6855 (bug 1132522) for JP test failures on a CLOSED TREE
2015-03-09 16:50:02 +01:00
Carsten "Tomcat" Book
caa09aaec2
Backed out changeset 0f393119201c (bug 1132522)
2015-03-09 16:49:36 +01:00
Carsten "Tomcat" Book
bca0a2c02e
Backed out changeset df26246112ad (bug 828137)
2015-03-09 16:49:34 +01:00
Brian Hackett
fca1be3e56
Bug 1138984 - Allow 'new' template objects to have dynamic slots, r=jandem.
2015-03-09 09:25:23 -06:00
Brian Hackett
69e6b9f055
Bug 1140888 - Make sure Ion code depending on unboxed layouts is invalidated when unboxed objects are converted to natives, r=jandem.
2015-03-09 09:17:27 -06:00
Hannes Verschore
1a22e29af0
Bug 1139834 - TraceLogger: refactor to add fail function, r=bbouvier
2015-03-09 15:25:55 +01:00
Heiher
1df9e925e2
Bug 1140821
- IonMonkey: MIPS: Fix profiler enter frame calculating. r=nbp
2015-03-08 00:40:00 -05:00
Heiher
1a310f1824
Bug 1139299 - Fix align stack in Simulator-mips::call. r=rankov, r=nbp
2015-03-04 01:01:00 -05:00
Jan de Mooij
d97c9509d9
Bug 1090583 - Fix a pre-existing issue with MLoadElementHole and negative index checks. r=bhackett
2015-03-10 13:14:42 +01:00
Jan de Mooij
472d2ebba1
Bug 1139368 - Set FilterTypeSet dependency in improveThisTypesForCall. r=h4writer
2015-03-10 13:14:38 +01:00
Carsten "Tomcat" Book
bd447688dc
Backed out changeset 6c7ebb2f5a92 (bug 1134006) for bustage
2015-03-10 12:37:24 +01:00
Blake Kaplan
318dc8ec77
Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm
2015-03-09 15:01:00 +01:00
Steve Singer
7936390cff
Bug 1140801 - Don't invoke functions on non-ion platforms. r=nbp
2015-03-07 21:13:00 +01:00
Sean Stangl
2a1c08cab7
Bug 1139181 - Add missing MIRTypes to StringFromMIRType(). r=efaust
2015-03-03 14:39:00 +01:00
Jason Orendorff
659c8de550
Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
...
--HG--
extra : rebase_source : ececca61c52296fb41e26e277a6bfa0d5eca63bb
extra : amend_source : 4229cb2652c2eb5b4347ebe043eccf1c0515e62a
2015-02-11 11:38:36 -06:00
Jason Orendorff
a735d8f183
Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. r=efaust.
...
--HG--
extra : rebase_source : 438b6070a1770bc17cc455a457df2b033bbc972d
2015-02-13 09:49:31 -06:00
Jason Orendorff
555004b2bf
Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. r=efaust.
...
--HG--
extra : rebase_source : f2b3e7e643158fd46508856b27869722aa178d1a
2015-02-12 11:29:32 -06:00
Benjamin Bouvier
a942b867cf
Bug 1141032: Fix a string comparison when checking for env overriding JIT defaults; r=h4writer
...
--HG--
extra : rebase_source : dccdbd6b8e4511ec21fde84f7adddc12dc3e404c
2015-03-06 19:35:46 +01:00
Benjamin Bouvier
c1545d8d9e
Bug 1141032: fix = instead of == in an assert in NativeRegexpMacroAssembler.cpp; r=h4writer
...
--HG--
extra : rebase_source : 4c0063522a1175f96cfd0d229e97342522830511
2015-03-06 14:17:58 +01:00
Yoshi Huang
38c3210ae5
Bug 1138886 - Structured Clone for MozNDEFRecord. r=smaug
...
From 9b1bdef0b25b41d0448662ec689a961ae4e8fcd2 Mon Sep 17 00:00:00 2001
---
dom/base/StructuredCloneTags.h | 2 +
dom/base/nsJSEnvironment.cpp | 29 +++++++++
dom/nfc/MozNDEFRecord.cpp | 122 ++++++++++++++++++++++++++++++++++---
dom/nfc/MozNDEFRecord.h | 20 ++++--
js/xpconnect/src/ExportHelpers.cpp | 36 ++++++++++-
5 files changed, 193 insertions(+), 16 deletions(-)
2015-01-30 15:36:42 +08:00
Brian Hackett
828690c286
Bug 1138199
. r=billm
2015-03-08 22:10:01 -04:00
Phil Ringnalda
8f5c1764fb
Merge m-c to m-i
2015-03-07 19:39:49 -08:00
Phil Ringnalda
d5d934be28
Merge f-t to m-c, a=merge
2015-03-07 19:38:53 -08:00
Paolo Amadini
f638425f9d
Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz
2015-03-07 13:30:34 +00:00
Brian Hackett
fd4b480871
Bug 1138912 - Watch for MNewObject instructions without a template object when recovering, r=jandem.
2015-03-07 17:11:02 -06:00
Brian Hackett
ed7eebd0f5
Bug 1139474
- Watch for unboxed object properties when attaching Ion SETPROP ICs, r=jandem.
2015-03-07 17:05:21 -06:00
Ryan VanderMeulen
8aaa845a81
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-03-06 16:18:04 -05:00
Paolo Amadini
54445b17d2
Bug 1083359
- Part 2 - Allow C++ code to provide an async stack when calling a JS function. r=jimb
2015-03-06 15:50:28 +00:00
Jason Orendorff
e2f96cba3f
Fix JSErr_Limit, broken by rev 41df9affe00f. No bug, r=red.
...
--HG--
extra : rebase_source : 5e52c66efe5475479f10f8aded036de6850eb365
2015-03-06 20:24:39 -06:00
Boris Zbarsky
27d9cf2be6
Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo
2015-03-06 16:33:31 -05:00
Boris Zbarsky
f0ef2a86aa
Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv
2015-03-06 16:33:31 -05:00
Boris Zbarsky
a14a442f94
Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence
2015-03-06 16:33:30 -05:00
Benjamin Bouvier
d61b6923ca
Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer
...
--HG--
extra : rebase_source : 34b09439f2229d01bd9dba1220d10b3a0da9b17f
extra : amend_source : e8aaa92d04f6579b006d11e53d3ebdfb54bf4253
2015-03-06 11:19:45 +01:00
Jon Coppeard
5b60f0ea54
Bug 1139832 - Restrict compacting GC zealousness to zeal collections r=terrence
2015-03-06 10:19:07 +00:00
Jon Coppeard
186408ba66
Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley
2015-03-06 10:19:07 +00:00
Boris Zbarsky
19d83a360f
Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug
2015-03-06 01:08:06 -05:00
Paolo Amadini
14addff448
Bug 1083359
- Part 1 - Add the asyncCause and asyncParent properties to the native SavedFrame object. r=jimb
2015-02-21 11:56:00 +00:00
Brian Hackett
6181573297
Bug 1138740 - Notify Ion when changing a typed array's data pointer due to making a lazy buffer for it, r=sfink.
2015-03-07 09:46:27 -06:00
Jason Orendorff
f9c659ca6c
Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : e712f5faf1463a447e52153c556605bb9552e990
2015-02-05 16:36:50 -06:00
Jason Orendorff
29bfe274bb
Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff
cc85989b86
Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e
Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff
de9e3b99dc
Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
Jason Orendorff
ce09b0bfc5
Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo.
...
--HG--
extra : rebase_source : fa947b315a7ede20a16893e3e44dd4118665c777
2015-01-29 23:02:26 -06:00
Jason Orendorff
844535d277
Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo.
...
--HG--
extra : rebase_source : 5494b04d773badadc2c33fd90ae67cad90aa88d3
2015-02-18 18:49:17 -06:00
Jason Orendorff
63891dbbf5
Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. r=Waldo.
...
In general, jsobj.h will offer, for each standard internal method that returns a boolean value indicating success/failure, signatures with a JS::ObjectOpResult& out-parameter and signatures without it. The ones without will throw a TypeError on failure (that is, the behavior will be "strict").
--HG--
extra : rebase_source : fbf30988ed48412a10168e359848940123035e0f
2015-02-02 17:06:47 -06:00
Jason Orendorff
18470d8d6a
Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak.
...
--HG--
extra : rebase_source : 40887fe2375350b3b183aff2a24e17053b02d349
2015-02-28 09:17:43 -06:00
Jason Orendorff
85abad51f2
Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
...
--HG--
extra : rebase_source : 44edb174028da6dbd637975e6358112060de535b
extra : amend_source : dd79490550af1370dac037057bdc2c06cb4c71f5
2015-01-30 13:56:15 -06:00
Shu-yu Guo
1c4fd5e1a7
Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj)
2015-03-06 17:58:26 -08:00