Dan Gohman
9bfcd21128
Bug 1020517 - OdinMonkey: Loosen the munmap assert to ignore ENOMEM r=luke
2014-06-06 15:59:17 -07:00
Dan Gohman
c119305d06
Bug 1020468 - IonMonkey: More debugging output. r=bhackett
2014-06-06 15:59:17 -07:00
Jim Chen
809db03f75
Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke
2014-06-06 18:39:40 -04:00
Jim Chen
00bb3f089f
Bug 1013326 - Change js::RunScript to a JS pseudostack entry; r=djvj
2014-06-06 18:39:39 -04:00
Bobby Holley
5aecb1c33a
Bug 1021312 - Followup to fix incorrect test. r=me on a CLOSED TREE
2014-06-06 13:49:38 -07:00
Wes Kocher
2f2f97f987
Backed out 2 changesets (bug 1021312, bug 1020460) for apparently causing jsreftest orange on a CLOSED TREE
...
Backed out changeset eca7bdeb0c6e (bug 1020460)
Backed out changeset 965578443062 (bug 1021312)
2014-06-06 15:00:10 -07:00
Vincent St-Amour
1a33c979f8
Bug 1014290 - Remove unreachable case in setprop MIR building. (r=efaust)
2014-06-06 14:16:23 -07:00
Bobby Holley
fc9e2dea76
Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff
2014-06-06 13:49:38 -07:00
Bobby Holley
5be28d2508
Bug 1021312 - Followup to fix incorrect test. r=me
2014-06-06 13:49:38 -07:00
Luke Wagner
9634c25784
Bug 1021229 - hoist enoughMemory_ into AssemblerShared (r=jandem)
...
--HG--
extra : rebase_source : 2f04773c01e3bf3850cede67243a3508349ed38a
2014-06-06 15:45:04 -05:00
Trevor Saunders
dd19f59774
bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo
2014-06-06 15:31:30 -04:00
Jason Orendorff
c9849998cf
Bug 904723, part 4 - In Array.from, only fetch the @@iterator property once. r=till. DONTBUILD.
2014-06-06 14:13:16 -04:00
William Golden ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
b46fcd6a7c
Bug 904723, part 3 - Implement Array.from. r=till. Thanks also to André Bargull for his very close review of this code.
2014-06-06 14:13:13 -04:00
Jason Orendorff
b5523b956e
Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me.
2014-06-06 14:02:00 -04:00
Jason Orendorff
6fb6a7f490
Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me.
2014-06-06 13:59:46 -04:00
Luke Wagner
47e1ae4b61
Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
...
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
fa91e67f32
Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj
2014-06-06 12:12:43 -04:00
Dan Gohman
f9b5501491
Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem
2014-06-06 08:21:49 -07:00
Dan Gohman
ceefca5536
Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem
2014-06-06 08:21:49 -07:00
Dan Gohman
90ab68958a
Bug 733353 - IonMonkey: Don't allocate new instruction IDs when moving existing instructions. r=jandem
2014-06-06 08:21:48 -07:00
Dan Gohman
b742624f66
Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer
2014-06-06 08:21:48 -07:00
Dan Gohman
165806f342
Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem
2014-06-06 08:21:48 -07:00
Hannes Verschore
e77a061800
Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj
2014-06-02 23:28:44 +02:00
Jason Orendorff
752d49f525
Bug 904723, part 4 - In Array.from, only fetch the @@iterator property once. r=till.
2014-06-06 11:15:22 -04:00
Jason Orendorff
559aacf9df
Bug 904723, part 3 - Implement Array.from. r=till.
2014-06-06 11:15:22 -04:00
Jason Orendorff
3a9fd0f200
Bug 904723, part 2 - Changes to _DefineDataProperty semantics. r=till.
...
Rename the _DefineValueProperty intrinsic to _DefineDataProperty and change
it to call js::DefineProperty rather than JSObject::defineProperty. The
difference is that the former is ES5-compliant in terms of interactions with
already-existing properties and the latter is not. The new behavior is safe
to expose via Array.from as a capability anyone can use to define any element
on any object (it's just what Object.defineProperty already does).
2014-06-06 11:15:21 -04:00
Jason Orendorff
56cb95f6ad
Bug 904723, part 1 - Add new IsConstructor intrinsic for self-hosting. r=till.
...
This also renames js_IsCallable to js::IsCallable and does some related light
cleaning work.
2014-06-06 11:15:21 -04:00
Jason Orendorff
0d1a9cf9ff
Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust.
2014-06-06 11:15:21 -04:00
Jason Orendorff
90ecffe365
Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett.
2014-06-05 13:23:40 -04:00
Jason Orendorff
3362b05761
Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett.
2014-06-05 13:19:23 -04:00
Jason Orendorff
5ba799558c
Bug 1017292 - Make jstests.py start much faster when running only a few tests. r=terrence.
2014-06-05 13:18:52 -04:00
Jason Orendorff
4bf4d6023c
Bug 1021001
- Fix some GCC warnings. r=terrence.
2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
7ec9b3199d
Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE
2014-06-06 15:49:45 +02:00
Lars T Hansen
df0eb6e634
Bug 933313: Per-worker generational GC for PJS. Take 2. r=jandem, r=shu, r=terrence, r=jonco
2014-06-06 11:42:10 +02:00
Bobby Holley
32a5b36c8a
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-06 12:21:36 +01:00
Jan de Mooij
76a44ec4a5
Bug 1020420 followup - Add explicit template instantiations to fix b2g opt compile errors on a CLOSED TREE. r=bustage
2014-06-06 12:00:48 +02:00
Jan de Mooij
89492f5b1a
Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn
2014-06-06 11:17:52 +02:00
Jan de Mooij
041e159bf3
Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn
2014-06-06 11:17:51 +02:00
Jan de Mooij
33cc3f8d4d
Bug 1020420 part 2 - Refactor js_strtod. r=njn
2014-06-06 11:17:49 +02:00
Jan de Mooij
c61da03628
Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn
2014-06-06 11:17:47 +02:00
Jan de Mooij
b9f6381291
Bug 1020892 - Quell some GCC warnings. r=luke
2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
352f40fc4e
Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE
2014-06-06 10:18:04 +02:00
Lars T Hansen
3bb7337386
Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence
2014-06-06 09:21:52 +02:00
Eric Faust
169c1a117d
Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff)
2014-06-03 13:23:03 -07:00
Eric Faust
aafd528d5d
Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff)
2014-06-03 13:23:02 -07:00
Bobby Holley
22f18674b7
Bug 987111 - Tests. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
9db935d49b
Bug 987111 - Flip on Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
42f7024f5e
Bug 987111 - Implement delete_ for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
cad5e8f936
Bug 987111 - Implement defineProperty for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
88e63325ae
Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
a2ee510ecb
Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
bbc449149e
Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
6bb5e95a97
Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
...
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-05 22:32:38 -07:00
Bobby Holley
560951f0fa
Bug 987111 - Proxy::set should create enumerable properties. r=efaust
...
Properties are supposed to be enumerable by default. It's unfortunate that
the default is reversed in SpiderMonkey.
2014-06-05 22:32:38 -07:00
Bobby Holley
1951af9fcf
Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor
2014-06-05 22:32:37 -07:00
Bobby Holley
eb814054e3
Bug 987111 - Introduce a method to determine whether a given PropertyDescriptor is an accessor prop. r=terrence
2014-06-05 22:32:37 -07:00
Bobby Holley
725a10496b
Bug 987111 - Add an assign() method to MutablePropertyDescriptorOperations. r=terrence
...
It's unfortunate the we need to operate on the raw JSPropertyDescriptor for
|other|, but the specialization that makes Handle<JSPropertyDescriptor> work is
declared later in the file, which isn't kosher.
2014-06-05 22:32:37 -07:00
Bobby Holley
6cdd30ff08
Bug 1021312 - Tests. r=mccr8
2014-06-05 22:32:36 -07:00
Bobby Holley
1a478c5c5d
Bug 1021312 - use a fresh zone for xpcshell. r=mccr8
2014-06-05 22:32:36 -07:00
Bobby Holley
5122cdb7ff
Bug 1021312 - Wrap strings in CloneNonReflectors. r=mccr8
2014-06-05 22:32:36 -07:00
Wes Kocher
ac2eeb8a93
Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE
2014-06-05 18:23:22 -07:00
Eric Faust
e349c0faa8
Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff)
2014-06-03 13:00:59 -07:00
Nathan Braswell
195098d5d0
Bug 1017275 - Make Number.isNaN and Number.isFinite inlinable. r=jwalden
...
--HG--
extra : rebase_source : 3a1bc67198c948b29efdfa96e86f7fbdc22ce8d0
2014-06-05 15:40:20 -07:00
Eric Faust
b226728f90
Bug 1002737 - Fix PropDesc vector rooting in DebugObject_defineProperties. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
e1bd056427
Bug 1002737 - Implement PropDesc::wrapInto as JSCompartment::wrap. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
ec2494e5cc
Bug 1002737 - Assert more about PropDesc definedness in various functions. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
42141896c8
Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
1747cb6e6c
Bug 1002737 - Make PropDesc::setUndefined() play nicer with our asserts. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
bb5311753c
Bug 1002737 - Make AutoPropDescRooter into an AutoVectorRooter. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
f6da2a63e8
Bug 1002737 - Find a new home for PropDesc::unwrapDebuggerObjectsInto. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
cc891efb61
Bug 997894 - Part 2: Replace existing externally rooted PropDesc sites with Rooted<PropDesc>. (r=terrence)
2014-06-03 12:05:48 -07:00
Eric Faust
fb6e5ed0b6
Bug 997894 - Part 1: Implement Rooted API for PropDesc. (r=terrence)
2014-06-03 12:05:46 -07:00
Eric Faust
c0390f86ba
Bug 997894 - Part 0: Factor PropDesc out into its own header. (r=jorendorff)
2014-06-03 12:01:08 -07:00
Bobby Holley
adc4df5c66
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-05 16:24:07 -07:00
Nicholas Nethercote
082a526739
Bug 1019825
- Fix leak in error path in JS_NewRegExpObject(). r=mccr8.
...
--HG--
extra : rebase_source : be80e04714af0d3ea1108be562047195e1fa3f0a
2014-06-04 22:45:40 -07:00
Shu-yu Guo
20f4fcd39c
Bug 1016523 - Followup: fix include order.
2014-06-05 15:41:55 -07:00
Jon Coppeard
fb0a091308
Bug 1020690 - Type exact stack rooting machinery. r=sfink
...
--HG--
extra : rebase_source : 366ff0579912b8a03f29abb882cabcc982a44d47
2014-06-05 10:38:00 -04:00
Shu-yu Guo
dd2646b2e6
Bug 1019612 - Fix setting of gServceInterrupt in js shell. (r=jorendorff)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
d387ebbf34
Bug 1020800 - Check for correct thread after checking if GC is suppressed. (r=terrence)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
f8895f4b71
Bug 1016523 - Test. (r=jimb)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
fab1415209
Bug 1016523 - Part 2: Handle propagated forced returns in Baseline. (r=jandem)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
61f050f78b
Bug 1016523 - Part 1: Have Debugger treat invoking the interrupt handler as a step in the interpreter. (r=jimb)
2014-06-05 15:10:32 -07:00
Nicholas D. Matsakis
367945ed6a
Bug 989276 Part 2 -- Refactor the slots to group by subtype r=sfink
2014-03-28 10:38:49 -04:00
Nicholas D. Matsakis
83b746f0f5
Bug 989276 -- Remove BYTELENGTH in favor of just LENGTH r=sfink
2014-03-28 06:36:41 -04:00
Bobby Holley
8ff8fc55e2
Bug 1021124 - Bail out of InterruptCallback if we're too early in startup. r=bz
2014-06-05 12:29:42 -07:00
Ryan VanderMeulen
cf6ea4c31e
Backed out changeset 846ee7c7debf (bug 1020690) for bustage.
...
CLOSED TREE
2014-06-05 14:39:11 -04:00
Jon Coppeard
095ddda7f4
Bug 1020690 - Type exact stack rooting machinery. r=sfink
2014-06-05 10:38:00 -04:00
Vincent St-Amour
ad76a564bc
Bug 1020655 - Fix comments about LLoadElementHole and MLoadTypedArrayElementHole. r=nbp
2014-06-04 15:56:00 -04:00
Brian Hackett
b453419f7a
Bug 998059 - Correctly optimize accesses to typed array lengths, and allow length and other properties on typed array prototypes to be redefined, r=jandem,waldo.
2014-06-05 11:02:33 -06:00
Benjamin Bouvier
b3979d0c41
Bug 1019003: Kill default visibility warning; r=Waldo
2014-06-05 17:24:04 +02:00
Benjamin Bouvier
591a3c3d5a
Bug 860736: Use StackKeptAligned instead of forceAlign in CodeGeneratorShared ctor; r=mjrosenb
2014-06-05 17:22:27 +02:00
Branislav Rankov
71fc5f478e
Bug 1013906 - Assert on condition in branchTest32. r=bhackett
2014-06-04 11:32:11 +02:00
Branislav Rankov
9bf227c086
Bug 1013906 - Update irregexp to work on MIPS. r=bhackett
2014-06-03 18:12:36 +02:00
Branislav Rankov
10a3c661a7
Bug 1001346 - IonMonkey MIPS: Updating asm.js stack alignment (followup for bug 860736). r=luke
2014-06-05 13:02:36 +02:00
Branislav Rankov
59f1d2895e
Bug 1001346 - IonMonkey MIPS: Adding MIPS OdinMonkey code part 2 (shared code). r=luke
2014-06-05 12:56:57 +02:00
Branislav Rankov
b74b3c6b14
Bug 1001346 - IonMonkey MIPS: Adding MIPS OdinMonkey code part 1. r=luke
2014-05-29 14:08:16 +02:00
Lars T Hansen
becdb760ad
Bug 1019821 - Run slow jit tests when asked to. r=jandem
2014-06-04 02:25:00 +02:00
Douglas Crosher
b9c6d752d3
Bug 1019413 - IonMonkey: do not apply actualOffset() to the safepoint stream offsets. r=nbp
2014-06-03 16:39:27 +10:00
Lars T Hansen
d3391e4b23
Bug 1020110 - Handle zero test cases. r=jandem
2014-06-05 01:34:00 +02:00
Jon Coppeard
0dafe50dd1
Bug 1018995 - Make some forward class declarations match their definitions r=jandem
2014-06-05 11:40:24 +01:00