Commit Graph

33887 Commits

Author SHA1 Message Date
Brian Hackett
4fcf086b5c Bug 1013586 - Detect and immediately crash on cross compartment bugs in RegExpShared, r=billm. 2014-06-09 16:15:55 -06:00
Terrence Cole
b24329f678 Bug 1011474 - Work around a codegen bug on ARM; r=sfink 2014-06-09 12:15:54 -07:00
Eric Faust
16ae149f74 Bug 1017862 - Followup: Fix bustage on a CLOSED TREE. (r=Waldo over IRC) 2014-06-09 14:34:34 -07:00
Eric Faust
f5cf6555d9 Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff) 2014-06-09 14:12:17 -07:00
Nathan Froyd
e96fd6233c Bug 1022785 - disable android snippets for reftests/crashtests/jsreftests; r=jmaher 2014-06-09 13:37:21 -04:00
Bill McCloskey
99787ebd6d Bug 1016738 - Back out for webrtc crashes. 2014-06-09 12:30:38 -07:00
Lars T Hansen
438c5a7612 Bug 1018686 - Fix latent NPE in Nursery.cpp. r=jonco 2014-06-06 09:39:11 +02:00
Eric Faust
bc1819a27a Bug 978229 - Remove now unused NormalizeAndCompletePropertyDescriptor(). (r=Waldo) 2014-06-09 12:28:41 -07:00
Benjamin Peterson
d4c0f4954e Bug 1022396 - Remove Number.toInteger. r=jorendorff
--HG--
extra : rebase_source : b9083a824d6a436f7da4c9e158cb78b4ba81fb8c
2014-06-09 10:48:26 -07:00
Jeff Walden
ab86401fe2 Bug 1022784 - Make all users of AutoGCRooter depend upon its definition, not upon forward declarations of it. r=terrence 2014-06-09 10:35:59 -07:00
Jeff Walden
7e698a4907 Bug 1021001 - Remove AutoCheckCannotGC from NamespaceImports.h, and require users to use the sole definition in GCAPI.h. r=terrence 2014-06-09 09:44:30 -07:00
Sushant Dinesh
31b51271ed Bug 1003726 - Uses (w)memchar where possible in StringMatcher, r=h4writer 2014-06-08 14:15:12 +02:00
Jon Coppeard
fe6d3a4b70 Bug 1021114 - Remove GCMethods::kind() in favour or RootKind::rootKind() r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
0d943dd656 Bug 988486 - Make more GCRuntime members private and add necessary accessors r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
62086f2135 Bug 988486 - Move scriptAndCountsVector from GCRuntime to JSRuntime r=terrence 2014-06-07 10:34:56 +01:00
Ehsan Akhgari
07aa9a5e86 Bug 1021378 - Add support for clang-cl to the build system; r=glandium
This patch does two things: 1. Treat clang on Windows explicitly as MSVC. There
are some places in our build system where we try to detect clang by looking at
the output of $(CC) -v, and that will cause us to believe that we are using
clang, which is not helpful.  This patch defines the CLANG_CL variable when it
detects clang being used on Windows.  It also masquarades clang-cl as MSVC
2012, which is how the compiler introduces itself through the _MSC_VER
predefined variable.

2. Disable a bunch of things which currently are not supported on clang-cl.  As
we proceed with this port, hopefully we'll be able to remove everything in this
list, but this will get us closer to be able to build with clang-cl.

With this patch and clang-cl trunk, we can get past the configure stage of the
build.

--HG--
extra : rebase_source : e5b8d77e4571c936820cec858953d58b6f31e0d5
2014-06-07 10:27:43 -04:00
Sankha Narayan Guria
b82d597872 Bug 1011541 - Implement Div Recover instruction. r=nbp 2014-06-06 17:32:15 +02:00
Sankha Narayan Guria
09680b730e Bug 1011540 - Implement Mul Recover Instruction. r=nbp 2014-06-06 17:29:45 +02:00
Ryan VanderMeulen
9c350ad8b0 Backed out 3 changesets (bug 1021114, bug 988486) for GC crashes on a CLOSED TREE.
Backed out changeset f56234ba7ec7 (bug 1021114)
Backed out changeset 14a4a9062253 (bug 988486)
Backed out changeset 03eccac81e15 (bug 988486)
2014-06-07 00:03:17 -04:00
Jan de Mooij
6a5ad11498 Bug 1020869 - Make IdToTypeId, StringIsArrayIndex etc work with Latin1 strings. r=bhackett 2014-06-07 14:59:52 +02:00
Jan de Mooij
88da63623a Bug 1021209 - Make QuoteString support Latin1 strings. r=bhackett 2014-06-07 14:59:50 +02:00
Nicholas Nethercote
355f7423fd Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
--HG--
extra : rebase_source : 5a842c36cf7202f6751290da80cefb005fd8db95
2014-04-15 19:43:18 -07:00
"Kan-Ru Chen (陳侃如)"
0896e79e4f Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
Chris Peterson
896c23a2ee Bug 1018680 - Fix jsd_xpc.cpp warning and mark js/ductwork, js/jsd, and js/xpconnet as FAIL_ON_WARNINGS. r=ejpbruel 2014-05-31 19:50:24 -07:00
Bobby Holley
772facfeb4 Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff 2014-06-10 20:15:56 -07:00
Bobby Holley
499052748f Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Boris Zbarsky
3dc420b015 Bug 1020715. Remove the quickstubs for quota API. r=peterv 2014-06-10 22:38:06 -04:00
Luke Wagner
a8bc6e4579 Bug 1022027 - Fix leak in off-main-thread parsing (r=bhackett)
--HG--
extra : rebase_source : 06d12e96de4397dc3f7dfba5efd4088251defc38
2014-06-10 10:43:05 -05:00
Brian Hackett
b47f2d70ec Bug 1013586 - Detect and immediately crash on cross compartment bugs in RegExpShared, r=billm. 2014-06-10 16:46:51 -06:00
Terrence Cole
8484f2aa70 Bug 1021286 - Remove a GC analysis suppression which is now defunct; r=luke 2014-06-09 16:40:10 -07:00
Jon Coppeard
41c1b35893 Bug 1011474 - Don't trash CallTemp1 register in malloc/free stubs; r=mjrosenb 2014-06-10 07:50:00 -07:00
Lars T Hansen
c29212c7ce Bug 1019821 - Test cases and benchmarks for PJS garbage collection. r=shu
--HG--
rename : js/src/parjs-benchmarks/README.txt => js/src/parjs-benchmarks/obsolete/README.txt
rename : js/src/parjs-benchmarks/allocator.js => js/src/parjs-benchmarks/obsolete/allocator.js
rename : js/src/parjs-benchmarks/edges.js => js/src/parjs-benchmarks/obsolete/edges.js
rename : js/src/parjs-benchmarks/liquid-resize-par.js => js/src/parjs-benchmarks/obsolete/liquid-resize-par.js
rename : js/src/parjs-benchmarks/liquid-resize.js => js/src/parjs-benchmarks/obsolete/liquid-resize.js
rename : js/src/parjs-benchmarks/mandelbrot.js => js/src/parjs-benchmarks/obsolete/mandelbrot.js
rename : js/src/parjs-benchmarks/nbody-seeded.js => js/src/parjs-benchmarks/obsolete/nbody-seeded.js
rename : js/src/parjs-benchmarks/rectarray.js => js/src/parjs-benchmarks/obsolete/rectarray.js
rename : js/src/parjs-benchmarks/run.sh => js/src/parjs-benchmarks/obsolete/run.sh
rename : js/src/parjs-benchmarks/seedrandom.js => js/src/parjs-benchmarks/obsolete/seedrandom.js
rename : js/src/parjs-benchmarks/util.js => js/src/parjs-benchmarks/obsolete/util.js
2014-06-10 20:10:17 +02:00
Nicholas D. Matsakis
d67570c322 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
fc3f647f64 Bug 973238 Part 8 -- Remove dead code (FillTypedArrayWithValue) r=sfink 2014-03-26 14:33:55 -04:00
Nicholas D. Matsakis
7e2d4b5559 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
dea7e3bb5f Bug 973238 Part 6 -- Consult prototype rather than typed object addendum r=bhackett 2014-03-11 13:23:24 -04:00
Nicholas D. Matsakis
6daced7c0a 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
83129e58de 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
ada00d07b2 Bug 1021114 - Remove GCMethods::kind() in favour or RootKind::rootKind() r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
ae458fbb93 Bug 988486 - Make more GCRuntime members private and add necessary accessors r=terrence 2014-06-07 10:34:57 +01:00
Jon Coppeard
efb8fda24d Bug 988486 - Move scriptAndCountsVector from GCRuntime to JSRuntime r=terrence 2014-06-07 10:34:56 +01:00
Mauricio Collares Neto
9eee7513ec Bug 998704 - Test coverage for integer div and mod. r=sunfish 2014-06-06 15:59:17 -07:00
Dan Gohman
73dd8410ca Bug 1020517 - OdinMonkey: Loosen the munmap assert to ignore ENOMEM r=luke 2014-06-06 15:59:17 -07:00
Dan Gohman
1dcbe44441 Bug 1020468 - IonMonkey: More debugging output. r=bhackett 2014-06-06 15:59:17 -07:00
Jim Chen
64ede06933 Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke 2014-06-06 18:39:40 -04:00
Jim Chen
1a88865e7b Bug 1013326 - Change js::RunScript to a JS pseudostack entry; r=djvj 2014-06-06 18:39:39 -04:00
Bobby Holley
7101d42dad Bug 1021312 - Followup to fix incorrect test. r=me on a CLOSED TREE 2014-06-06 13:49:38 -07:00
Wes Kocher
ea2a050547 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
6378d04757 Bug 1014290 - Remove unreachable case in setprop MIR building. (r=efaust) 2014-06-06 14:16:23 -07:00
Bobby Holley
590c41edb7 Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff 2014-06-06 13:49:38 -07:00
Bobby Holley
906c4108c1 Bug 1021312 - Followup to fix incorrect test. r=me 2014-06-06 13:49:38 -07:00
Luke Wagner
5de7bfa36b Bug 1021229 - hoist enoughMemory_ into AssemblerShared (r=jandem)
--HG--
extra : rebase_source : 2f04773c01e3bf3850cede67243a3508349ed38a
2014-06-06 15:45:04 -05:00
Trevor Saunders
833a69a7df bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo 2014-06-06 15:31:30 -04:00
Jason Orendorff
b3212f9f5f 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)
c982ca84c1 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
82ce758a00 Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 14:02:00 -04:00
Jason Orendorff
672efced61 Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 13:59:46 -04:00
Luke Wagner
b4128d546b Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
7189a9f2ab Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj 2014-06-06 12:12:43 -04:00
Dan Gohman
f4bd880816 Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
2da97d676f Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
e45de8398e 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
5ca79e4256 Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer 2014-06-06 08:21:48 -07:00
Dan Gohman
38fcb50369 Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem 2014-06-06 08:21:48 -07:00
Hannes Verschore
0bde66c326 Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj 2014-06-02 23:28:44 +02:00
Jason Orendorff
88fe7dbf67 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
052b79914e Bug 904723, part 3 - Implement Array.from. r=till. 2014-06-06 11:15:22 -04:00
Jason Orendorff
939f9d0dbf 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
ad184af108 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
e48c02c29e Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust. 2014-06-06 11:15:21 -04:00
Jason Orendorff
89f5b4b3cc Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett. 2014-06-05 13:23:40 -04:00
Jason Orendorff
feb5c344e3 Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Jason Orendorff
617916990c 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
c216f0178a Bug 1021001 - Fix some GCC warnings. r=terrence. 2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
3401eb8b0d Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE 2014-06-06 15:49:45 +02:00
Lars T Hansen
cb3a49ad4e 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
29a27a547e Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-06 12:21:36 +01:00
Jan de Mooij
09f077a98b 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
a4eee954a6 Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn 2014-06-06 11:17:52 +02:00
Jan de Mooij
66afe359e5 Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn 2014-06-06 11:17:51 +02:00
Jan de Mooij
7585ece26e Bug 1020420 part 2 - Refactor js_strtod. r=njn 2014-06-06 11:17:49 +02:00
Jan de Mooij
bf5026e75f Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn 2014-06-06 11:17:47 +02:00
Jan de Mooij
c5a77bbf50 Bug 1020892 - Quell some GCC warnings. r=luke 2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
1f3b65a7e2 Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE 2014-06-06 10:18:04 +02:00
Lars T Hansen
6eab9bb8a5 Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence 2014-06-06 09:21:52 +02:00
Eric Faust
9da3a7dfbb Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
997870d7ce Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Bobby Holley
39ad5659cd Bug 987111 - Tests. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
011d301bcf Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
d8d9bb0da7 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
fe21607285 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
e068af9052 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
bd1f06fe45 Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
23f82282b6 Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
c1024a1099 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
8b18cc3256 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
14943a03e1 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
1e02a0c208 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
d0c454279b 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
333e3921f1 Bug 1021312 - Tests. r=mccr8 2014-06-05 22:32:36 -07:00
Bobby Holley
40b9a11acf Bug 1021312 - use a fresh zone for xpcshell. r=mccr8 2014-06-05 22:32:36 -07:00
Bobby Holley
b6f5a8c755 Bug 1021312 - Wrap strings in CloneNonReflectors. r=mccr8 2014-06-05 22:32:36 -07:00
Wes Kocher
f56f262ffb Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE 2014-06-05 18:23:22 -07:00
Eric Faust
8cd0b6c43e Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff) 2014-06-03 13:00:59 -07:00
Nathan Braswell
3cb264cd82 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
9532f00a71 Bug 1002737 - Fix PropDesc vector rooting in DebugObject_defineProperties. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
7df8b2e42b Bug 1002737 - Implement PropDesc::wrapInto as JSCompartment::wrap. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
013d6ea97f Bug 1002737 - Assert more about PropDesc definedness in various functions. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
865167cb7b Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
0ca0b376aa Bug 1002737 - Make PropDesc::setUndefined() play nicer with our asserts. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
9fc9c1d840 Bug 1002737 - Make AutoPropDescRooter into an AutoVectorRooter. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
aaec6b5787 Bug 1002737 - Find a new home for PropDesc::unwrapDebuggerObjectsInto. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
815a36ef4b 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
fbb2eed3cd Bug 997894 - Part 1: Implement Rooted API for PropDesc. (r=terrence) 2014-06-03 12:05:46 -07:00
Eric Faust
b6a5d37cd3 Bug 997894 - Part 0: Factor PropDesc out into its own header. (r=jorendorff) 2014-06-03 12:01:08 -07:00
Bobby Holley
fd0a382cac Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-05 16:24:07 -07:00
Nicholas Nethercote
b1ede4a8e8 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
b16f977db1 Bug 1016523 - Followup: fix include order. 2014-06-05 15:41:55 -07:00
Jon Coppeard
773bc32603 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
4a089c98e4 Bug 1019612 - Fix setting of gServceInterrupt in js shell. (r=jorendorff) 2014-06-05 15:10:33 -07:00
Shu-yu Guo
f59b90eac3 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
edfc90978c Bug 1016523 - Test. (r=jimb) 2014-06-05 15:10:33 -07:00
Shu-yu Guo
5aff22d12a Bug 1016523 - Part 2: Handle propagated forced returns in Baseline. (r=jandem) 2014-06-05 15:10:33 -07:00
Shu-yu Guo
413e93f6ff 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
58b8d5e55a Bug 989276 Part 2 -- Refactor the slots to group by subtype r=sfink 2014-03-28 10:38:49 -04:00
Nicholas D. Matsakis
fc62aa8ca4 Bug 989276 -- Remove BYTELENGTH in favor of just LENGTH r=sfink 2014-03-28 06:36:41 -04:00
Bobby Holley
fe63d40ba5 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
fde08202dc Backed out changeset 846ee7c7debf (bug 1020690) for bustage.
CLOSED TREE
2014-06-05 14:39:11 -04:00
Jon Coppeard
76cdb96d0b Bug 1020690 - Type exact stack rooting machinery. r=sfink 2014-06-05 10:38:00 -04:00
Vincent St-Amour
344e1bea25 Bug 1020655 - Fix comments about LLoadElementHole and MLoadTypedArrayElementHole. r=nbp 2014-06-04 15:56:00 -04:00
Brian Hackett
b2092632fa 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
7e7c881f32 Bug 1019003: Kill default visibility warning; r=Waldo 2014-06-05 17:24:04 +02:00
Benjamin Bouvier
e8d60bc9c3 Bug 860736: Use StackKeptAligned instead of forceAlign in CodeGeneratorShared ctor; r=mjrosenb 2014-06-05 17:22:27 +02:00
Branislav Rankov
52e3eaeebd Bug 1013906 - Assert on condition in branchTest32. r=bhackett 2014-06-04 11:32:11 +02:00
Branislav Rankov
81721f4277 Bug 1013906 - Update irregexp to work on MIPS. r=bhackett 2014-06-03 18:12:36 +02:00
Branislav Rankov
1c08ec5944 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
1af32f4446 Bug 1001346 - IonMonkey MIPS: Adding MIPS OdinMonkey code part 2 (shared code). r=luke 2014-06-05 12:56:57 +02:00
Branislav Rankov
d2818f0e5c Bug 1001346 - IonMonkey MIPS: Adding MIPS OdinMonkey code part 1. r=luke 2014-05-29 14:08:16 +02:00
Lars T Hansen
45fd37cea2 Bug 1019821 - Run slow jit tests when asked to. r=jandem 2014-06-04 02:25:00 +02:00
Douglas Crosher
cc4054c86f 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
8403891baa Bug 1020110 - Handle zero test cases. r=jandem 2014-06-05 01:34:00 +02:00
Jon Coppeard
024decf3eb Bug 1018995 - Make some forward class declarations match their definitions r=jandem 2014-06-05 11:40:24 +01:00
Vivien Nicolas
aaba27476c Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Jan de Mooij
42ff18f4cc Bug 1019585 part 2 - Make RopeMatch work with Latin1 strings. r=luke 2014-06-05 12:02:00 +02:00
Jan de Mooij
5a05eabb50 Bug 1019585 part 1 - Make FlatMatch work with Latin1 strings. r=luke 2014-06-05 12:01:58 +02:00
Jan de Mooij
0ba01d12f6 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
a7755fcfb1 Bug 1019512 part 1 - Make trim/trimLeft/trimRight work with Latin1 strings. r=luke 2014-06-05 12:01:54 +02:00
Wes Kocher
8f41a2dd1c 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
40a1340af8 Merge m-c to inbound on a CLOSED TREE 2014-06-04 18:48:20 -07:00
Ehsan Akhgari
029fed160e 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
3ea2e18583 Bug 987111 - Tests. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
8bdd4083bc Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
51838f32a9 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
570171b56e Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
5c1033b8d1 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
e47ffede64 Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley
1b207bbcf1 Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley
05b170063b 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
ac9db93d82 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
7668461108 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
32a5ba085c 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
67b3be8d7e 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
4acf373b49 Bug 1017790 - Expose category information in the profiler data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof
3e39d84b5c Bug 1019182 - ProfileEntry flags should be zeroed when setting frame data, r=djvj 2014-06-04 14:37:49 -04:00
Jeff Walden
78842c3ab0 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
081cb57b98 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Ryan VanderMeulen
4c7181d021 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
8a45398ca9 Backed out changeset e89d2416585f (bug 978236) for jsreftest failures. 2014-06-03 17:06:55 -04:00
Ryan VanderMeulen
58f1e02923 Backed out changesets ea412568c4be and c25abea181d7 (bug 978238) for Linux64 debug crashes during packaging. 2014-06-03 17:06:39 -04:00
Eric Faust
bd95ae14ee Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
871dc7faa6 Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Eric Faust
332d19fd0a Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff) 2014-06-03 13:00:59 -07:00
Eric Faust
bbcfcb473e Bug 1002737 - Fix PropDesc vector rooting in DebugObject_defineProperties. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
92f760a6d8 Bug 1002737 - Implement PropDesc::wrapInto as JSCompartment::wrap. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
64a47ad899 Bug 1002737 - Assert more about PropDesc definedness in various functions. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
5ace71aae3 Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
ff71d78099 Bug 1002737 - Make PropDesc::setUndefined() play nicer with our asserts. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
cf43c222ee Bug 1002737 - Make AutoPropDescRooter into an AutoVectorRooter. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
93fbfec7dd Bug 1002737 - Find a new home for PropDesc::unwrapDebuggerObjectsInto. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Tooru Fujisawa
488ab57001 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
7d96533635 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
838ac3298f Bug 1020455 - IonMonkey: Optimize LPhi allocation r=sstangl 2014-06-04 14:08:22 -07:00
Dan Gohman
76a9df0256 Bug 1020455 - IonMonkey: Remove LIRGraph's redundant osrBlock field. r=sstangl 2014-06-04 14:08:21 -07:00
Dan Gohman
7133661b4f 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
b121dc8e08 Bug 1020462 - IonMonkey: Use assumeUnreachable instead of breakpoints in more places. r=h4writer 2014-06-04 14:08:21 -07:00
Ryan VanderMeulen
1bad801bdd 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
32576dc916 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
e54026056b Bug 997894 - Part 1: Implement Rooted API for PropDesc. (r=terrence) 2014-06-03 12:05:46 -07:00
Eric Faust
bab7666527 Bug 997894 - Part 0: Factor PropDesc out into its own header. (r=jorendorff) 2014-06-03 12:01:08 -07:00
Boris Zbarsky
fa36d2f669 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
2078fba45b 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
ead163c485 Bug 1008473 - Fix breakage on little endian 32 bit builds r=terrence 2014-06-03 16:29:39 +01:00
Benjamin Bouvier
22472c8f01 Bug 860736: Rename AlignmentAtPrologue into AlignmentAtAsmJSPrologue; r=luke 2014-06-03 17:26:16 +02:00
Benjamin Bouvier
572dde8099 Bug 860736 - Align the local stack storage for ARM asm.js frames; r=mjrosenb 2014-06-03 17:24:28 +02:00
Amol Mundayoor
6d763b2f33 Bug 1012632 - IonMonkey: Recover Mod instructions. r=nbp 2014-06-03 07:10:26 -07:00
Jan de Mooij
ae5e9e0034 Bug 1018311 part 3 - Add tests. r=luke 2014-06-03 13:15:26 +02:00
Jan de Mooij
ea0ec46756 Bug 1018311 part 2 - Support creating dependent latin1 strings. r=luke 2014-06-03 13:13:56 +02:00
Jan de Mooij
28241e17c5 Bug 1018311 part 1 - Refactor JSDependentString a bit. r=luke 2014-06-03 13:12:46 +02:00
Jon Coppeard
e4333fb1a7 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
35ce1a1bd5 Bug 1014083: Take stack adjustment into account when computing stack offsets; r=luke 2014-05-28 19:31:06 +02:00