Commit Graph

38957 Commits

Author SHA1 Message Date
Jon Coppeard
fc50d8e09f Bug 1143706 - Allow BaseShape's global to be null when tracing r=terrence 2015-03-17 10:22:36 +00:00
Tooru Fujisawa
f80d24f8c2 Bug 1143512 - Remove unused declaration of regexp_flags. r=jandem 2015-03-17 18:49:46 +09:00
Nicholas Nethercote
b52e81ed2e 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
dea5958544 Backed out changeset 2693283b5d8b (bug 1142814) for bc1 orange 2015-03-16 17:45:45 -07:00
Nicholas Nethercote
d0e0dc0ffa 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.
2015-03-12 17:19:48 -07:00
Tooru Fujisawa
09c26bcaa0 Bug 1143281 - Check argument type in StructType.prototype.addressOfField. r=jorendorff 2015-03-17 07:28:57 +09:00
Steve Fink
ac3ea7625d Bug 1095290 - Make unlazified scripts same-compartment with their functions, r=bhackett 2015-03-16 15:13:28 -07:00
Steve Fink
d245e47de1 Bug 1139456 - Do not let compaction set the alloc threshold to unreasonably small sizes, r=terrence 2015-03-16 15:13:20 -07:00
Ryan VanderMeulen
5bc3cce5e7 Backed out changeset df82a0b667bb (bug 1137180) for causing intermittent crashes. 2015-03-16 13:17:19 -04:00
Terrence Cole
f5192ea952 Bug 1141234 - Part 7: Reorder the allocator methods for clarity; r=sfink 2015-03-11 11:11:29 -07:00
Terrence Cole
b5a8f018b9 Bug 1141234 - Part 6: Namespace the allocator into GCRuntime; r=sfink 2015-03-11 11:09:31 -07:00
Terrence Cole
d276a584d6 Bug 1141234 - Part 5: Inline the one user of ShouldNurseryAllocate; r=sfink 2015-03-11 11:07:57 -07:00
Terrence Cole
d85cdea52b Bug 1141234 - Part 4: Move off-thread object allocation above unimplementable operations; r=sfink 2015-03-11 11:07:38 -07:00
Terrence Cole
b2cc60735e Bug 1141234 - Part 3: Share the code to allocate a tenured thing; r=sfink 2015-03-11 11:07:23 -07:00
Terrence Cole
180d3adfed Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink 2015-03-11 11:06:20 -07:00
Benjamin Bouvier
4017c4020a Bug 1135039: Apply swizzle type policy changes in Ion too; r=sunfish 2015-03-02 19:40:06 +01:00
Benjamin Bouvier
018bea5fdc Bug 1135039: Throw on non-int32 or out-of-bounds lanes arguments to swizzle/shuffle; r=sunfish 2015-03-05 11:55:10 +01:00
Benjamin Bouvier
66f72a41b6 Bug 1139473: File some metadata for the js/src/ subdirectory; r=jorendorff 2015-03-04 17:43:27 +01:00
ProgramFOX
fe5a1b6a4e Bug 1141629 - SIMD: Clarify that reciprocal and reciprocalSqrt are approximations. r=bbouvier 2015-03-13 19:13:08 +01:00
ziyunfei
f651038761 Bug 1141392 - Disallow a line break between ArrowParameters and the arrow. r=jorendorff 2015-03-15 03:39:00 +01:00
Nick Fitzgerald
085063970d Bug 1137844 - Part 4: Test the Debugger.Memory.prototype.onGarbageCollection hook; r=sfink 2015-03-13 13:03:00 +01:00
Nick Fitzgerald
022b670752 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
53853453a1 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
c9d9ffa585 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
493a7cdcb1 Bug 1137844 - Part 0 - Add docs for Debugger.Memory.prototype.onGarbageCollection; r=jimb 2015-03-13 13:02:00 +01:00
Brian Hackett
8206a9c752 Bug 1137180 - Allow unboxed objects to be extended with new properties, r=jandem. 2015-03-15 14:26:42 -06:00
Brian Hackett
3d07947507 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
debd3d6f0c 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
656bfa8b8d Bug 805052 part 3. Remove parents from SpiderMonkey. r=waldo,terrence 2015-03-14 01:36:17 -04:00
Boris Zbarsky
f215223a81 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
42b6dec9d4 Bug 805052 part 1. Remove assertParentIs. r=waldo 2015-03-14 01:36:17 -04:00
Boris Zbarsky
e1fac50d77 Bug 1142864. Remove the parent argument from NewObject. r=waldo 2015-03-14 01:36:17 -04:00
Boris Zbarsky
f51abf101c Bug 1142865. Remove the parent argument from NewObjectWithGroup. r=waldo 2015-03-14 01:36:17 -04:00
Boris Zbarsky
7940b3f5eb Bug 1142304. Remove the parent argument from NewObjectWithGivenTaggedProto. r=waldo 2015-03-14 01:36:17 -04:00
Boris Zbarsky
374e58e1e0 Bug 1142309. Remove the parent argument from NewObjectWithClassProto. r=waldo 2015-03-14 01:36:17 -04:00
Boris Zbarsky
ddc1f84215 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
3fdec6eae7 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
d5910e32ce 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
f914c00f6d 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
cbaf27c1b2 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
7bd3044b40 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
cd27775281 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
0d622c0e8f 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
38cddbe9ac 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
abc20df641 Bug 1142296. Remove the parent argument from NewObjectWithGivenProto. r=waldo 2015-03-14 01:36:16 -04:00
Nick Fitzgerald
0259e36505 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
d243e02aa9 Bug 1135731 - fix encoding inconsistency in NS_NewXBLProtoImpl; r=mrbkap 2015-03-13 12:05:57 -07:00
Nicolas B. Pierron
9910fcbf0f 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
5b02a8b7e0 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
eb1eb45edd 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