Nicholas D. Matsakis
193eb946d8
Bug 973238 Part 9 -- Move kind to type
namespace, insert some const qualifiers r=sfink
2014-03-26 20:16:00 -04:00
Nicholas D. Matsakis
0375aa5feb
Bug 973238 Part 8 -- Remove dead code (FillTypedArrayWithValue) r=sfink
2014-03-26 14:33:55 -04:00
Nicholas D. Matsakis
1b3ef227e5
Bug 973238 Part 7 -- Remove type object addendum; leave the addendum mechanism in place r=bhackett
2014-03-11 13:44:58 -04:00
Nicholas D. Matsakis
249085a487
Bug 973238 Part 6 -- Consult prototype rather than typed object addendum r=bhackett
2014-03-11 13:23:24 -04:00
Nicholas D. Matsakis
895ebfd593
Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink
2014-04-01 22:46:04 -04:00
Nicholas D. Matsakis
28ea1a85ad
Bug 973238 Part 4 -- Use prototype rather than reserved slot to uncover descriptor r=jandem
2014-03-11 12:50:32 -04:00
Jon Coppeard
744336b199
Bug 1021114 - Remove GCMethods::kind() in favour or RootKind::rootKind() r=terrence
2014-06-07 10:34:57 +01:00
Jon Coppeard
388b62b349
Bug 988486 - Make more GCRuntime members private and add necessary accessors r=terrence
2014-06-07 10:34:57 +01:00
Jon Coppeard
fbfa681d98
Bug 988486 - Move scriptAndCountsVector from GCRuntime to JSRuntime r=terrence
2014-06-07 10:34:56 +01:00
Mauricio Collares Neto
611accfc03
Bug 998704 - Test coverage for integer div and mod. r=sunfish
2014-06-06 15:59:17 -07:00
Dan Gohman
a625bd4260
Bug 1020517 - OdinMonkey: Loosen the munmap assert to ignore ENOMEM r=luke
2014-06-06 15:59:17 -07:00
Dan Gohman
53ca33e10a
Bug 1020468 - IonMonkey: More debugging output. r=bhackett
2014-06-06 15:59:17 -07:00
Jim Chen
3b5c74e922
Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke
2014-06-06 18:39:40 -04:00
Jim Chen
62bcd287ce
Bug 1013326 - Change js::RunScript to a JS pseudostack entry; r=djvj
2014-06-06 18:39:39 -04:00
Bobby Holley
a652a1bba2
Bug 1021312
- Followup to fix incorrect test. r=me on a CLOSED TREE
2014-06-06 13:49:38 -07:00
Wes Kocher
0ea1bf7eb5
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
a31434de74
Bug 1014290 - Remove unreachable case in setprop MIR building. (r=efaust)
2014-06-06 14:16:23 -07:00
Bobby Holley
a0f8826cb9
Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff
2014-06-06 13:49:38 -07:00
Bobby Holley
518f1c8a2b
Bug 1021312
- Followup to fix incorrect test. r=me
2014-06-06 13:49:38 -07:00
Luke Wagner
1dc2f20bd4
Bug 1021229 - hoist enoughMemory_ into AssemblerShared (r=jandem)
...
--HG--
extra : rebase_source : 2f04773c01e3bf3850cede67243a3508349ed38a
2014-06-06 15:45:04 -05:00
Trevor Saunders
d40aea2c07
bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo
2014-06-06 15:31:30 -04:00
Jason Orendorff
e3c62c6bb9
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)
ac1619bf5e
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
a244c38c00
Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me.
2014-06-06 14:02:00 -04:00
Jason Orendorff
978fba0922
Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me.
2014-06-06 13:59:46 -04:00
Luke Wagner
aff06146d3
Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
...
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
97cad3c08e
Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj
2014-06-06 12:12:43 -04:00
Dan Gohman
f696ac037c
Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem
2014-06-06 08:21:49 -07:00
Dan Gohman
e4faa9e7c2
Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem
2014-06-06 08:21:49 -07:00
Dan Gohman
7fb5b20e0b
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
f769c20789
Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer
2014-06-06 08:21:48 -07:00
Dan Gohman
8c2c420224
Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem
2014-06-06 08:21:48 -07:00
Hannes Verschore
1351054365
Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj
2014-06-02 23:28:44 +02:00
Jason Orendorff
f16da11307
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
ecc114204a
Bug 904723, part 3 - Implement Array.from. r=till.
2014-06-06 11:15:22 -04:00
Jason Orendorff
8114af1ff0
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
5cfc6174a8
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
f737cd9258
Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust.
2014-06-06 11:15:21 -04:00
Jason Orendorff
fcd755c578
Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett.
2014-06-05 13:23:40 -04:00
Jason Orendorff
736717218a
Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett.
2014-06-05 13:19:23 -04:00
Jason Orendorff
fbe9865b64
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
ee6d7d98d7
Bug 1021001
- Fix some GCC warnings. r=terrence.
2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
056689a934
Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE
2014-06-06 15:49:45 +02:00
Lars T Hansen
432f0db8de
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
ceedb2c411
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-06 12:21:36 +01:00
Jan de Mooij
b94d500021
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
c65dce560c
Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn
2014-06-06 11:17:52 +02:00
Jan de Mooij
dc65798b7e
Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn
2014-06-06 11:17:51 +02:00
Jan de Mooij
0ac5a3d6b6
Bug 1020420 part 2 - Refactor js_strtod. r=njn
2014-06-06 11:17:49 +02:00
Jan de Mooij
99c534bc82
Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn
2014-06-06 11:17:47 +02:00
Jan de Mooij
c152e45b7d
Bug 1020892 - Quell some GCC warnings. r=luke
2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
8cd3bb75dc
Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE
2014-06-06 10:18:04 +02:00
Lars T Hansen
314ad612f7
Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence
2014-06-06 09:21:52 +02:00
Eric Faust
7c8f83ef81
Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff)
2014-06-03 13:23:03 -07:00
Eric Faust
899cfeb046
Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff)
2014-06-03 13:23:02 -07:00
Bobby Holley
833a04ca14
Bug 987111 - Tests. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
2dd36aaba5
Bug 987111 - Flip on Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
234abbdd81
Bug 987111 - Implement delete_ for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
3ac6c898b0
Bug 987111 - Implement defineProperty for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
25b181048a
Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
009fd1d137
Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
366781bbb9
Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
71a3504f8c
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
eb617d939d
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
eb1adb7e90
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
7c9af7115d
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
2645fdf613
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
66bc41a41a
Bug 1021312
- Tests. r=mccr8
2014-06-05 22:32:36 -07:00
Bobby Holley
03388b10d1
Bug 1021312
- use a fresh zone for xpcshell. r=mccr8
2014-06-05 22:32:36 -07:00
Bobby Holley
1370d9ec74
Bug 1021312
- Wrap strings in CloneNonReflectors. r=mccr8
2014-06-05 22:32:36 -07:00
Wes Kocher
9ae67107e8
Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE
2014-06-05 18:23:22 -07:00
Eric Faust
1298db51ed
Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff)
2014-06-03 13:00:59 -07:00
Nathan Braswell
bac5472dd5
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
e8a94c2948
Bug 1002737 - Fix PropDesc vector rooting in DebugObject_defineProperties. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
2825f55a73
Bug 1002737 - Implement PropDesc::wrapInto as JSCompartment::wrap. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
c20533dc99
Bug 1002737 - Assert more about PropDesc definedness in various functions. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
f1834b5e76
Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
c2f36cd49d
Bug 1002737 - Make PropDesc::setUndefined() play nicer with our asserts. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
0a6b4107a4
Bug 1002737 - Make AutoPropDescRooter into an AutoVectorRooter. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
5e725ed1c4
Bug 1002737 - Find a new home for PropDesc::unwrapDebuggerObjectsInto. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
a108b71482
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
b08ebd4445
Bug 997894 - Part 1: Implement Rooted API for PropDesc. (r=terrence)
2014-06-03 12:05:46 -07:00
Eric Faust
39346e100a
Bug 997894 - Part 0: Factor PropDesc out into its own header. (r=jorendorff)
2014-06-03 12:01:08 -07:00
Bobby Holley
8269d88340
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-05 16:24:07 -07:00
Nicholas Nethercote
ed9bac5e30
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
abc83b428b
Bug 1016523 - Followup: fix include order.
2014-06-05 15:41:55 -07:00
Jon Coppeard
ebc18728f1
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
5112201fe3
Bug 1019612 - Fix setting of gServceInterrupt in js shell. (r=jorendorff)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
c4a9b3943a
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
1d3bd2f409
Bug 1016523 - Test. (r=jimb)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
94d7592cfe
Bug 1016523 - Part 2: Handle propagated forced returns in Baseline. (r=jandem)
2014-06-05 15:10:33 -07:00
Shu-yu Guo
1222c5139d
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
edbb1cee9c
Bug 989276 Part 2 -- Refactor the slots to group by subtype r=sfink
2014-03-28 10:38:49 -04:00
Nicholas D. Matsakis
4d29a61a2f
Bug 989276 -- Remove BYTELENGTH in favor of just LENGTH r=sfink
2014-03-28 06:36:41 -04:00
Bobby Holley
46e054d2d7
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
d3795dc945
Backed out changeset 846ee7c7debf (bug 1020690) for bustage.
...
CLOSED TREE
2014-06-05 14:39:11 -04:00
Jon Coppeard
67b18cac0f
Bug 1020690 - Type exact stack rooting machinery. r=sfink
2014-06-05 10:38:00 -04:00
Vincent St-Amour
382ebc4219
Bug 1020655 - Fix comments about LLoadElementHole and MLoadTypedArrayElementHole. r=nbp
2014-06-04 15:56:00 -04:00
Brian Hackett
936bfc90b1
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
fe0ea8debf
Bug 1019003: Kill default visibility warning; r=Waldo
2014-06-05 17:24:04 +02:00
Benjamin Bouvier
25b92f6cf7
Bug 860736: Use StackKeptAligned instead of forceAlign in CodeGeneratorShared ctor; r=mjrosenb
2014-06-05 17:22:27 +02:00
Branislav Rankov
9cd7901e32
Bug 1013906 - Assert on condition in branchTest32. r=bhackett
2014-06-04 11:32:11 +02:00
Branislav Rankov
3cdb3c4f74
Bug 1013906 - Update irregexp to work on MIPS. r=bhackett
2014-06-03 18:12:36 +02:00
Branislav Rankov
3f59648cef
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
273b179109
Bug 1001346 - IonMonkey MIPS: Adding MIPS OdinMonkey code part 2 (shared code). r=luke
2014-06-05 12:56:57 +02:00
Branislav Rankov
270e99dbad
Bug 1001346 - IonMonkey MIPS: Adding MIPS OdinMonkey code part 1. r=luke
2014-05-29 14:08:16 +02:00
Lars T Hansen
e9e2a81f6f
Bug 1019821 - Run slow jit tests when asked to. r=jandem
2014-06-04 02:25:00 +02:00
Douglas Crosher
b05bb7c71f
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
0524429ec8
Bug 1020110 - Handle zero test cases. r=jandem
2014-06-05 01:34:00 +02:00
Jon Coppeard
e8ee2f4e03
Bug 1018995 - Make some forward class declarations match their definitions r=jandem
2014-06-05 11:40:24 +01:00
Vivien Nicolas
c3d13fd34a
Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley
2014-06-04 20:11:05 +02:00
Jan de Mooij
32279b121d
Bug 1019585 part 2 - Make RopeMatch work with Latin1 strings. r=luke
2014-06-05 12:02:00 +02:00
Jan de Mooij
885e76a752
Bug 1019585 part 1 - Make FlatMatch work with Latin1 strings. r=luke
2014-06-05 12:01:58 +02:00
Jan de Mooij
7b4080e7db
Bug 1019512 part 2 - Make toLowerCase and toUpperCase work with Latin1 strings. r=luke
2014-06-05 12:01:56 +02:00
Jan de Mooij
252475f532
Bug 1019512 part 1 - Make trim/trimLeft/trimRight work with Latin1 strings. r=luke
2014-06-05 12:01:54 +02:00
Wes Kocher
a0fb5a53d9
Backed out 13 changesets (bug 987111) for disagreeing with some patch from b-i or fx-team in tonight's merge to hopefully fix a CLOSED TREE
...
Backed out changeset d4e390ceac27 (bug 987111)
Backed out changeset 5f88b5ef9496 (bug 987111)
Backed out changeset cdfd24ddf448 (bug 987111)
Backed out changeset 7883150e5471 (bug 987111)
Backed out changeset 407c7ca82ada (bug 987111)
Backed out changeset e7140ccf7e09 (bug 987111)
Backed out changeset 0a4d18d6306f (bug 987111)
Backed out changeset e7b7548867d9 (bug 987111)
Backed out changeset 944d128f135a (bug 987111)
Backed out changeset 33860f30fc4f (bug 987111)
Backed out changeset 518a915fb81b (bug 987111)
Backed out changeset 7576a51cf72e (bug 987111)
Backed out changeset 1a8dc1af9de6 (bug 987111)
2014-06-04 22:12:50 -07:00
Wes Kocher
f6bae13ecb
Merge m-c to inbound on a CLOSED TREE
2014-06-04 18:48:20 -07:00
Ehsan Akhgari
e8d0997c9a
Bug 1015663 - Fix more bad implicit conversion constructors in the JS engine; r=jorendorff
...
--HG--
extra : rebase_source : 98263097de3746be56f14771db660eb5308f62c9
2014-06-04 18:22:10 -04:00
Bobby Holley
febfb58743
Bug 987111 - Tests. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
33e283ee59
Bug 987111 - Flip on Object Xrays. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
10e0ea24e2
Bug 987111 - Implement delete_ for Object Xrays. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
daad01c1c3
Bug 987111 - Implement defineProperty for Object Xrays. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
58acb89152
Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor
2014-06-04 15:12:27 -07:00
Bobby Holley
677aad7fcf
Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor
2014-06-04 15:12:26 -07:00
Bobby Holley
e94e4bb4ad
Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor
2014-06-04 15:12:26 -07:00
Bobby Holley
f8f78c1d53
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-04 15:12:26 -07:00
Bobby Holley
2e29d8aded
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-04 15:12:26 -07:00
Bobby Holley
096e8dd973
Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor
2014-06-04 15:12:26 -07:00
Bobby Holley
7d18ac4515
Bug 987111 - Introduce a method to determine whether a given PropertyDescriptor is an accessor prop. r=terrence
2014-06-04 15:12:25 -07:00
Bobby Holley
ba47e0abf3
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-04 15:12:25 -07:00
Victor Porof
2a214c6cba
Bug 1017790 - Expose category information in the profiler data, r=djvj
2014-06-04 14:37:49 -04:00
Victor Porof
46455c55fd
Bug 1019182 - ProfileEntry flags should be zeroed when setting frame data, r=djvj
2014-06-04 14:37:49 -04:00
Jeff Walden
8563661b29
Add a comment next to XDR_BYTECODE_VERSION directing people changing it to update the bytecode docs wiki page as well. No bug, r=trivial
2014-06-04 12:50:41 -07:00
Kyle Huey
a87647dfb2
Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug
2014-06-03 15:52:36 -07:00
Ryan VanderMeulen
a7e6edf193
Backed out 7 changesets (bug 1002737) for sm-rootanalysis test failures.
...
CLOSED TREE
Backed out changeset ec411f0ce167 (bug 1002737)
Backed out changeset 8a63bad8faed (bug 1002737)
Backed out changeset 5afce70dad1f (bug 1002737)
Backed out changeset 6d4043272a0a (bug 1002737)
Backed out changeset ad09630ae9a3 (bug 1002737)
Backed out changeset c0dd6b9cc07a (bug 1002737)
Backed out changeset b82adb960c54 (bug 1002737)
2014-06-03 17:07:47 -04:00
Ryan VanderMeulen
b1ff4f5233
Backed out changeset e89d2416585f (bug 978236) for jsreftest failures.
2014-06-03 17:06:55 -04:00
Ryan VanderMeulen
fb5b258e60
Backed out changesets ea412568c4be and c25abea181d7 (bug 978238) for Linux64 debug crashes during packaging.
2014-06-03 17:06:39 -04:00
Eric Faust
719b2681c8
Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff)
2014-06-03 13:23:03 -07:00
Eric Faust
a1307fc868
Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff)
2014-06-03 13:23:02 -07:00
Eric Faust
cb0a4b6af3
Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff)
2014-06-03 13:00:59 -07:00
Eric Faust
1651d45e41
Bug 1002737 - Fix PropDesc vector rooting in DebugObject_defineProperties. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
1996e23097
Bug 1002737 - Implement PropDesc::wrapInto as JSCompartment::wrap. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
347c7ed924
Bug 1002737 - Assert more about PropDesc definedness in various functions. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
139f02e386
Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff)
2014-06-03 12:37:44 -07:00
Eric Faust
c9568f2ae6
Bug 1002737 - Make PropDesc::setUndefined() play nicer with our asserts. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
ddabca604e
Bug 1002737 - Make AutoPropDescRooter into an AutoVectorRooter. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Eric Faust
4dff1c5514
Bug 1002737 - Find a new home for PropDesc::unwrapDebuggerObjectsInto. (r=jorendorff)
2014-06-03 12:37:43 -07:00
Tooru Fujisawa
0b06ac9c48
Bug 471713 - Uncomment the sys.exit() in error() in the script to generate documentation for SpiderMonkey opcodes. r=jwalden
...
--HG--
extra : rebase_source : 488896716573a7309de239485a1cea268675e97c
2014-05-10 02:10:39 +09:00
Brian Hackett
a8c07fd4f1
Bug 1019188 - Transform phi(int32,boolean) into phi(int32,int32) when it is only consumed by test instructions, r=sunfish.
2014-06-04 15:54:32 -06:00
Dan Gohman
9005869a33
Bug 1020455 - IonMonkey: Optimize LPhi allocation r=sstangl
2014-06-04 14:08:22 -07:00
Dan Gohman
beee005cda
Bug 1020455 - IonMonkey: Remove LIRGraph's redundant osrBlock field. r=sstangl
2014-06-04 14:08:21 -07:00
Dan Gohman
ccc7924521
Bug 1020455 - IonMonkey: Use a FixedList instead of a Vector for LIR arrays which are never resized r=sstangl
2014-06-04 14:08:21 -07:00
Dan Gohman
8aad7b0825
Bug 1020462 - IonMonkey: Use assumeUnreachable instead of breakpoints in more places. r=h4writer
2014-06-04 14:08:21 -07:00
Ryan VanderMeulen
3a3ab13539
Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
...
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Eric Faust
bbae7d6f19
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
49e442c0af
Bug 997894 - Part 1: Implement Rooted API for PropDesc. (r=terrence)
2014-06-03 12:05:46 -07:00
Eric Faust
e29e9ee9dc
Bug 997894 - Part 0: Factor PropDesc out into its own header. (r=jorendorff)
2014-06-03 12:01:08 -07:00
Boris Zbarsky
e13e86e7dc
Bug 1017428 part 2. Add a fast path to Ion for [Cached] DOM attributes. r=efaust
2014-06-03 11:38:37 -04:00
Boris Zbarsky
cd11feea1c
Bug 1017428 part 1. Store information in jitinfo about [Cached] attribute slots in addition to [StoreInSlot] ones. r=peterv,efaust
2014-06-03 11:38:36 -04:00
Jon Coppeard
18ebc7a15f
Bug 1008473 - Fix breakage on little endian 32 bit builds r=terrence
2014-06-03 16:29:39 +01:00
Benjamin Bouvier
870e44e9f1
Bug 860736: Rename AlignmentAtPrologue into AlignmentAtAsmJSPrologue; r=luke
2014-06-03 17:26:16 +02:00
Benjamin Bouvier
85a27ff745
Bug 860736 - Align the local stack storage for ARM asm.js frames; r=mjrosenb
2014-06-03 17:24:28 +02:00
Amol Mundayoor
a3f62dd69c
Bug 1012632 - IonMonkey: Recover Mod instructions. r=nbp
2014-06-03 07:10:26 -07:00
Jan de Mooij
d915593570
Bug 1018311 part 3 - Add tests. r=luke
2014-06-03 13:15:26 +02:00
Jan de Mooij
b510492589
Bug 1018311 part 2 - Support creating dependent latin1 strings. r=luke
2014-06-03 13:13:56 +02:00
Jan de Mooij
b49b53885f
Bug 1018311 part 1 - Refactor JSDependentString a bit. r=luke
2014-06-03 13:12:46 +02:00
Jon Coppeard
ee0e24b008
Bug 1014092 - Disable incemental marking validation on B2G r=terrence
...
--HG--
extra : rebase_source : 424dd5fe000800e0386242a44c0a57181a9f2131
2014-06-03 10:06:20 +01:00
Benjamin Bouvier
75f7c867a3
Bug 1014083: Take stack adjustment into account when computing stack offsets; r=luke
2014-05-28 19:31:06 +02:00
Benjamin Bouvier
b8b14ef46a
Bug 1014083: drive-by cleanups; r=luke
2014-05-28 19:31:01 +02:00
Benjamin Bouvier
dd3b40cd16
Bug 1014083: Align local slot count with StackAlignment; r=sunfish
2014-05-28 19:30:57 +02:00
Jan de Mooij
1b1358f651
Bug 1018893 part 3 - Make startsWith and endsWith work with Latin1 strings. r=luke
...
--HG--
rename : js/src/jit-test/tests/basic/latin1.js => js/src/jit-test/tests/latin1/basic.js
rename : js/src/jit-test/tests/basic/latin1-indexOf.js => js/src/jit-test/tests/latin1/indexOf.js
rename : js/src/jit-test/tests/basic/latin1-indexing.js => js/src/jit-test/tests/latin1/indexing.js
2014-06-03 09:32:26 +02:00
Jan de Mooij
f3da5b23d3
Bug 1018568 - Make AutoAssertOnGC a nop in opt builds. r=terrence
2014-06-03 09:27:18 +02:00
Kyle Huey
34957a3bed
Back out bug 1019248 due to test failures.
2014-06-02 20:18:17 -07:00
Kyle Huey
4aab93126e
Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug
2014-06-02 19:02:37 -07:00
Shu-yu Guo
597593d256
Bug 1018533 - Fix js shell's --thread-count assertion. (r=bhackett)
2014-06-02 18:25:18 -07:00
Bill McCloskey
d765144f56
Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley)
2014-06-02 18:04:21 -07:00
Brian Hackett
0336c772d6
Bug 965068 - Rename jsworkers.* to vm/HelperThreads.*, r=jorendorff.
...
--HG--
rename : js/src/jsworkers.cpp => js/src/vm/HelperThreads.cpp
rename : js/src/jsworkers.h => js/src/vm/HelperThreads.h
2014-06-02 16:10:48 -06:00
Hannes Verschore
e50ed94029
Bug 1019224 - Fix tracelogger builds, r=bhackett
2014-06-02 23:41:18 +02:00
Ryan VanderMeulen
9acf628d52
Merge m-c to inbound.
2014-06-02 17:21:11 -04:00
Ryan VanderMeulen
6c8212c187
Merge mozilla-inbound to m-c.
2014-06-02 17:20:08 -04:00
Brian Hackett
0682d97c9f
Bug 1018620 - Make sure RegExpShareds fetched from objects are in the right compartment, r=billm.
2014-06-02 15:05:48 -06:00
Bobby Holley
0636aa6770
Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor
2014-06-02 13:55:20 -07:00
Shu-yu Guo
4977606cd6
Bug 1018476 - Untemplatize InlineFrameIterator. (r=djvj)
2014-06-02 12:44:11 -07:00
Shu-yu Guo
81aa0bd35b
Bug 1018621 - Fix strict mode arguments observability in Ion. (r=nbp)
2014-06-02 12:44:11 -07:00
Steve Fink
6a809adfba
Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
...
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
Bill McCloskey
2e3b71fa6d
Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco)
2014-05-30 07:46:12 -07:00
Bill McCloskey
71d36d87ba
Bug 1018638 - Extra zone group assertions (r=jonco)
2014-06-02 10:07:50 -07:00
Bill McCloskey
87a19e5ad0
Bug 1017150 - Fix zone assertions in breakpoint sweeping (r=jonco)
2014-05-30 07:46:09 -07:00
Jan de Mooij
c1bb70235c
Bug 1018893 part 2 - Make indexOf and contains work with Latin1 strings. r=luke
2014-06-02 18:59:38 +02:00
Jan de Mooij
a48525ab61
Bug 1018893 part 1 - Make lastIndexOf work with Latin1 strings. r=luke
2014-06-02 18:59:34 +02:00
Jan de Mooij
9baf72c05d
Bug 1018563 - Drop number of expected hazards for the shell to 0. r=sfink
2014-06-02 18:59:31 +02:00
Benjamin Bouvier
84fab9510f
Bug 1016951: Fix asm.js/bug941877.js test so that it contains valid asm.js code; r=sunfish
2014-06-02 18:03:10 +02:00
Bobby Holley
4032a3f359
Bug 1015791 - Work around ICS compiler bugs. r=luke
2014-06-02 08:38:44 -07:00
Bobby Holley
91220a1bc2
Bug 1015791 - Break up the remainder of js_InitTypedArrayClasses. r=luke
2014-06-02 08:38:44 -07:00
Bobby Holley
4db4a10c33
Bug 1015791 - Give TypedArray classes a ClassSpec. r=luke
2014-06-02 08:38:44 -07:00
Bobby Holley
b1d29f7a02
Bug 1015791 - Hoist TypedArray properties into a JSPropertySpec. r=luke
2014-06-02 08:38:44 -07:00
Bobby Holley
4056f2b1ec
Bug 1015791 - Clean up duplication in release-mode conditionality of *Array.prototype.move. r=luke
2014-06-02 08:38:44 -07:00
Bobby Holley
4c007e9f0b
Bug 1015791 - Stop assuming that all TypedArray classes are initialized simultaneously. r=luke
2014-06-02 08:38:43 -07:00
Bobby Holley
a6b46286c7
Bug 1015791 - Give Array a ClassSpec. r=luke
2014-06-02 08:38:43 -07:00
Bobby Holley
303a8732ba
Bug 1015791 - Retrieve the constructor for the slot, rather than looking up |proto.constructor|, for JSFUN_GENERIC_NATIVE functions. r=luke
...
Note that the Array and TypedArray changes here are very ephemeral, because
we're about to convert these things to ClassSpec (which does this right
automatically) in the upcoming patches.
2014-06-02 08:38:43 -07:00
Brian Hackett
471545ed23
Bug 1018290 - Add back IonScriptCounts to Asm.js modules, allow IonScriptCounts to be generated with off thread compilation, r=luke.
2014-06-02 09:35:11 -06:00
Jon Coppeard
a223582947
Bug 1008473 - Remove some redundant methods and misc tidyup r=terrence
2014-06-02 16:11:24 +01:00
Jon Coppeard
bbd134a650
Bug 1008473 - Make Value::toGCThing() return a Cell pointer rather than void* r=terrence
2014-06-02 16:10:53 +01:00
Phil Ringnalda
61966eed95
Merge f-t to m-c
2014-05-31 20:31:07 -07:00
Victor Porof
3e8338b918
Bug 1007203 - Set the categories as flags on profile entries, r=djvj
2014-05-30 21:41:11 -04:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Ryan VanderMeulen
341b17e756
Backed out 2 changesets (bug 1016738, bug 1017150) for spikes in GC-related crashes.
...
Backed out changeset 93c5b9181c84 (bug 1016738)
Backed out changeset c3ce56241969 (bug 1017150)
2014-05-30 15:23:02 -04:00
Benjamin Bouvier
e2c28a65a6
Bug 1013531: Fix build warning in GCRuntime ctor; r=jonco
2014-06-02 16:02:12 +02:00
Carsten "Tomcat" Book
fc7b2a860f
Backed out changeset 743209d15d59 (bug 1018290) for spidermonkey ggc test failure
2014-06-02 15:30:27 +02:00
Brian Hackett
6176ef42ca
Bug 1018290 - Add back IonScriptCounts to Asm.js modules, allow IonScriptCounts to be generated with off thread compilation, r=luke.
2014-06-02 06:50:28 -06:00
Jon Coppeard
cfac9f4a75
Bug 1013531 - Ensure forward declaration of AutoCheckCannotGC has same visibility r=jandem
2014-06-02 13:01:08 +01:00
Jan de Mooij
f9e9e6abbc
Bug 1018243 - Use unsigned char instead of char for latin1 strings. r=luke
2014-05-31 10:44:32 +02:00
Jan de Mooij
d1f1ef3fa6
Bug 1016379 - Implement charAt, charCodeAt, str[index] for Latin1 strings. r=luke
2014-05-31 10:44:32 +02:00
Jan de Mooij
2929deb6c1
Bug 1015917 part 3 - Add tests. r=luke
2014-05-31 10:44:32 +02:00
Jan de Mooij
b2ff33318a
Bug 1015917 part 2 - Make JSRope::flatten work with Latin1 strings. r=luke
2014-05-31 10:44:32 +02:00
Jan de Mooij
a5f2833dee
Bug 1015917 part 1 - Support string concatenation for Latin1 strings. r=luke
2014-05-31 10:44:32 +02:00
Jan de Mooij
7ce655fe56
Bug 1015902 - Latin1 strings: support equality operators. r=luke
2014-05-31 10:44:31 +02:00
Brian R. Bondy
05858a6c0e
Bug 1017945 - Make the XPConnect shell Vista aware to avoid registry virtualization. r=rstrong
2014-05-29 22:54:25 -04:00
Bill McCloskey
84acd059f7
Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco)
2014-05-30 07:46:12 -07:00
Bill McCloskey
d9d79b3412
Bug 1017150 - Fix zone assertions in breakpoint sweeping (r=jonco)
2014-05-30 07:46:09 -07:00
Brian Hackett
1fcf449977
Bug 965068 - Rename WorkerThread to HelperThread, r=jorendorff.
2014-05-30 08:45:02 -06:00
Dan Gohman
d536e55679
Bug 1016137 - IonMonkey: Don't set successorWithPhis when the successor does not have phis. r=nbp
2014-05-30 06:28:09 -07:00
Carsten "Tomcat" Book
7435e1ca4f
Merge mozilla-central to mozilla-inbound
2014-05-30 14:45:33 +02:00
Ms2ger
af6c726c7d
Merge mozilla-inbound to mozilla-central.
2014-05-30 14:07:35 +02:00
Jan de Mooij
a0d486b8f0
Bug 1017539 part 7 - Move StoreSlotT codegen to platform-independent code, remove some code duplication. r=sstangl
2014-05-30 12:51:42 +02:00
Jan de Mooij
1173fe4b11
Bug 1017539 part 6 - Move InterruptCheck codegen to platform-independent code. r=sstangl
2014-05-30 12:51:42 +02:00
Jan de Mooij
892c579f8f
Bug 1017539 part 5 - rm unused MImplicitThis/LImplicitThis. r=sstangl
2014-05-30 12:51:42 +02:00
Jan de Mooij
c05b08ea86
Bug 1017539 part 4 - Move LoadElementT codegen to platform-independent code. r=sstangl
2014-05-30 12:51:42 +02:00
Jan de Mooij
3859d6b7c2
Bug 1017539 part 3 - Some LoadElementT cleanup. r=sstangl
2014-05-30 12:51:41 +02:00
Jan de Mooij
2ab1fce662
Bug 1017539 part 2 - Move LoadSlotT codegen to platform-independent code. r=sstangl
2014-05-30 12:51:41 +02:00
Jan de Mooij
ec7ec7cb51
Bug 1017539 part 1 - Move LoadSlotV codegen to platform-independent code. r=sstangl
2014-05-30 12:51:41 +02:00
Ms2ger
5a626cc600
Bug 832750 - Improve python 3 compat in js/src/tests/; r=terrence
2014-05-30 09:36:53 +02:00
Ms2ger
2550ea2c64
Bug 829942 - Make jit_test.py Py3k-readier; f=decoder r=terrence+jhammel
2014-05-30 09:36:52 +02:00
Eric Faust
5b42f172f8
Bug 1008791 - Temporarily disable background finalization of ProxyObjects. (r=jorendorff)
2014-05-29 12:53:31 -07:00
Nathan Braswell
47b5052d3c
Bug 1003764 - Implement ES6 Number.isSafeInteger(). r=jwalden
...
--HG--
extra : rebase_source : 1e9ba232b8939bcf7c74ffa43c55b8f7287802a8
2014-05-29 11:54:09 -07:00
Brian Hackett
6fe0a1d95d
Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm.
2014-05-29 13:06:23 -06:00
Dan Gohman
ba8f5227b9
Bug 1012922 - IonMonkey: Micro-optimize some x64 MacroAssembler sequences to avoid using copies r=jandem
2014-05-29 20:20:53 -07:00
Dan Gohman
d57d99f36f
Bug 1005113 - IonMonkey: Mark more LUses as AtStart on x86/x64. r=bhackett
2014-05-29 20:20:52 -07:00
Shu-yu Guo
f63e259f77
Bug 1016519 - Fix handling of recursive calls in DebugModeOSR. (r=jandem)
2014-05-29 18:03:23 -07:00
Mike Hommey
81bb9d59e0
Bug 1014976 - Don't make --enable-debug imply using the debug CRT in FFI. r=ryanvm
2014-05-30 09:39:19 +09:00
Wes Kocher
5772902f5d
Backed out changeset 004d84a6905a (bug 1017862) for assertion failures on a CLOSED TREE
2014-05-29 15:49:07 -07:00
Eric Faust
552eed87ec
Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff)
2014-05-29 15:07:19 -07:00
Bobby Holley
c03ae7168d
Bug 1017777 - Tune the trusted script buffer parameters on mac again. r=luke
...
Just like bug 938429. The test has been failing locally for me for a few weeks
now.
2014-05-29 11:54:00 -04:00
Till Schneidereit
71a072dfc3
Bug 1015205 - Part 2: Inline self-hosting intrinsic ToString. r=bbouvier,h4writer
2014-05-25 13:06:36 +02:00
Hannes Verschore
57b7843472
Bug 1015205 - Part 1: Let MToString work on all types (bails for MIRType_Object) r=bbouvier
2014-05-27 15:18:51 -07:00
Vivien Nicolas
1d5d9aa7f3
Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley
2014-06-04 20:11:05 +02:00
Benjamin Bouvier
e83874b710
Bug 1007187: Make enableSPSProfilingWithSlowAssertions() return undefined; r=djvj
2014-06-04 19:54:44 +02:00
Benjamin Bouvier
2904e762ff
Bug 1006894: Make disableSPSProfiling() return undefined; r=djvj
2014-06-04 19:54:35 +02:00
Ed Morley
92683b1635
Backed out changeset 11226b2f6088 (bug 997894) for causing intermittent Jetpack failures
2014-06-04 18:49:58 +01:00
Ed Morley
b6e2644ad5
Backed out changeset 5f212af48739 (bug 997894)
2014-06-04 18:49:35 +01:00