Jeff Walden
e70c19ec8c
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
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
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
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
Jan de Mooij
b90f317a8c
Bug 1015917 part 1 - Support string concatenation for Latin1 strings. r=luke
2014-05-31 10:44:32 +02:00
Till Schneidereit
434076b0f2
Bug 1015205 - Part 2: Inline self-hosting intrinsic ToString. r=bbouvier,h4writer
2014-05-25 13:06:36 +02:00
Wes Kocher
3ca1adab0e
Backed out 2 changesets (bug 1015205) for build bustage on a CLOSED TREE
...
Backed out changeset 482f29587b3c (bug 1015205)
Backed out changeset 8fc644f6e3b8 (bug 1015205)
2014-05-27 15:41:14 -07:00
Till Schneidereit
03f78e077a
Bug 1015205 - Part 2: Inline self-hosting intrinsic ToString. r=bbouvier,h4writer
2014-05-25 13:06:36 +02:00
Till Schneidereit
3e0ef132c3
Bug 1015144 - Inline self-hosting intrinsic ToInteger. r=h4writer
2014-05-24 15:04:34 +02:00
Ehsan Akhgari
5b0272c079
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00
Till Schneidereit
84c2b10a36
Bug 1015119 - Replace self-hosted ToString function with intrinsic to avoid cloning of String.prototype. r=jandem
...
Relanding after the last landing's bustage turned out to be infrastructure-related.
2014-05-23 13:36:20 +02:00
Carsten "Tomcat" Book
4938b0585d
Backed out changeset 91eb27108c0b (bug 1015119) for build bustages and other test failures on a CLOSED TREE
2014-05-23 15:09:20 +02:00
Till Schneidereit
ea3a5a9735
Bug 1015119 - Replace self-hosted ToString function with intrinsic to avoid cloning of String.prototype. r=jandem
2014-05-23 14:22:13 +02:00
Brian Hackett
e73115995a
Bug 976446 - Add port of irregexp regexp engine, and use by default, r=jandem.
2014-05-15 16:48:21 -07:00
Jon Coppeard
1216544376
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Bobby Holley
9766fa5987
Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
...
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.
More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Benjamin Bouvier
681b0216a5
Bug 979867: Kill mixed sign comparison warning; r=lth
...
--HG--
extra : rebase_source : 91d3898d7716b3bfb36d20503d8d14b32b85152c
2014-04-14 17:03:11 +02:00
Till Schneidereit
fec05328b8
Bug 995200 - Enable strict mode for self-hosted code in opt builds, too. r=jorendorff
...
--HG--
extra : rebase_source : bd1ba070396f8556b112dd1dc5b30b3ff5e40fb0
2014-04-11 16:07:30 +02:00
Luke Wagner
36f271fb97
Bug 994937 - remove some JSOP_CALL opcodes (r=djvj)
...
--HG--
extra : rebase_source : 8859238bb98fe91f6c7bbb99d3eab3fee6936b69
2014-04-10 17:52:52 -05:00
Till Schneidereit
2dc3f51948
Bug 988416 - Part 2: Add safe _DefineValueProperty self-hosting intrinsic. r=jwalden
...
--HG--
extra : rebase_source : 029e4b5f57b692657b55781959e65c59ebfe355e
2014-04-10 14:07:03 +02:00
Jan de Mooij
f9f45af324
Bug 988993 - Ion-compile scripts with arrow functions. r=bhackett
2014-04-09 13:57:32 +02:00
Eric Faust
edf5e61761
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Nicholas D. Matsakis
026df43863
Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu
2014-03-20 10:04:46 -04:00
Wes Kocher
1af20f9415
Backed out 3 changesets (bug 977126) for mochitest-2 bustage on Windows
...
Backed out changeset 2daa537b62e6 (bug 977126)
Backed out changeset d87a13b71afc (bug 977126)
Backed out changeset 3bd335914852 (bug 977126)
2014-04-03 13:52:36 -07:00
Nicholas D. Matsakis
aaf9be92af
Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu
2014-03-20 10:04:46 -04:00
Wes Kocher
0e7e7336b3
Backed out 3 changesets (bug 977126) for b2g build bustage on a CLOSED TREE
...
Backed out changeset 88a167e0ca30 (bug 977126)
Backed out changeset a3df7451c35c (bug 977126)
Backed out changeset bab702b3df10 (bug 977126)
2014-04-02 18:34:20 -07:00
Nicholas D. Matsakis
054a9eeb46
Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu
2014-03-20 10:04:46 -04:00
Terrence Cole
302daf9535
Bug 889543 - Use AutoCycleDetector instead of CloneMemory; r=till
...
--HG--
extra : rebase_source : 394255ac2da12eaea09c8be95847a5d19f6b3b21
2014-03-11 09:00:16 -07:00
Jon Coppeard
fb6ccb11db
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Nicholas D. Matsakis
e4dc5a97c1
Bug 988493 -- improve error message for missing self-hosted prop r=till
2014-03-26 13:36:39 -04:00
Shu-yu Guo
0aa3f76856
Bug 985312 - PJS: Remove the bounds function from ForkJoin. (r=nmatsakis)
...
--HG--
rename : js/src/builtin/Parallel.js => js/src/builtin/ParallelUtilities.js
2014-03-26 05:30:22 -07:00
Phil Ringnalda
59d5225af7
Back out 033a5dd2e159 (bug 985312) for build bustage
...
CLOSED TREE
--HG--
rename : js/src/builtin/ParallelUtilities.js => js/src/builtin/Parallel.js
2014-03-25 23:24:33 -07:00
Shu-yu Guo
3a5fbe2c79
Bug 985312 - PJS: Remove the bounds function from ForkJoin. (r=nmatsakis)
...
--HG--
rename : js/src/builtin/Parallel.js => js/src/builtin/ParallelUtilities.js
2014-03-25 22:59:26 -07:00
Lars T Hansen
469542aa31
Bug 983675 - Intrinsify and inline TypeDescrIsArrayType, TypeDescrIsUnsizedArrayType, TypeDescrIsSizedArrayType, TypeDescrIsSimpleType, ObjectIsTypedObject. r=shu
2014-03-21 09:18:09 -04:00
Nicholas D. Matsakis
f7be52658f
Bug 983486 - Collect parallel arenas during parallel iterations r=terrence
2014-03-13 20:55:38 -04:00
Lars T Hansen
b69f73213e
Bug 979867 - Call UnsafePutElements to update the array in the parallel worker code and implement support for TypedObject in the UnsafePutElements intrinsic and in the JIT's inliner. r=nmatsakis, r=jandem
2014-03-14 09:59:44 -04:00
Brian Hackett
3f4ddb88bd
Bug 695438 - Make typed arrays native objects, allow adding new named properties, r=luke.
2014-03-04 12:42:08 -07:00
Lars T Hansen
68cd7bf617
Bug 977117 - Enable inlining of the ObjectIsTypeDescr primitive. r=nmatsakis
2014-02-28 09:54:44 -05:00
Till Schneidereit
65d48642e2
Bug 957004 - Guard against object being lazily typed in IsPackedArray self-hosting intrinsic. r=jandem
...
--HG--
extra : rebase_source : 824ff8327c37b430d600dd2fc070fac793f1cf1c
2014-02-28 23:48:07 +13:00
Shu-yu Guo
5de4470f00
Bug 969722 - Part 1: Remove ThreadPoolWorker subclasses for ease of inlining. (r=nmatsakis)
2014-02-14 13:59:13 -08:00
Lars T Hansen
d532d3e956
Bug 976504 -- Enabling inlining of TypedObject primitives
2014-02-26 11:57:51 -05:00
Jim Blandy
fd29d2c80f
Bug 935203: Provide introductionType information for all sources of JS in SpiderMonkey. r=djvj
2014-02-24 15:31:47 -08:00
Nicholas D. Matsakis
ec9d0a481a
Bug 972581 part 2 -- Add 1-dim mapPar r=shu
2014-02-13 16:38:21 -05:00
Brian Hackett
3955bbd3b5
Bug 964057 - Share self hosted state between runtimes, r=till.
2014-02-21 16:54:25 -07:00
Jason Orendorff
96076a1bed
Bug 970001 - Fix Valgrind-detected leaks involving sourcePolicy. r=till
2014-02-20 20:22:36 -05:00
Nicholas D. Matsakis
557bc50fcd
Bug 898356 Part 8 -- Rename from Datum to TypedObject (or typedObj) r=sfink
2014-02-12 11:46:51 -05:00
Nicholas D. Matsakis
f652ca5c39
Bug 898356 Part 7 -- Rename TypedObject/TypedHandle to TransparentTypedObject/OpaqueTypedObject r=sfink
2014-02-12 11:39:34 -05:00
Nicholas D. Matsakis
3a2dedabf5
Bug 898356 Part 5 -- Use ArrayBufferObjects as the "backing store" for a typed object r=sfink
2014-02-12 15:15:47 -05:00
Kannan Vijayan
21e7995fb4
Bug 952891 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff DONTBUILD
2014-02-13 14:29:00 -05:00
Kannan Vijayan
158468a425
Backed out changeset 45f374858666 (bug 852891) for bad commit message referencing wrong bug. DONTBUILD
2014-02-13 14:24:37 -05:00
Kannan Vijayan
d07b085e92
Bug 972087 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff
2014-02-13 14:20:27 -05:00
Shu-yu Guo
efb3e6b1ff
Bug 949296 - Ignore DontStopIon interrupt triggers during ForkJoin. (r=nmatsakis)
2014-02-07 14:40:31 -08:00
Shu-yu Guo
6728ff0e19
Bug 958370 - Unify chunks and slices; self-host the scheduler's slice processing loop. (r=nmatsakis)
2014-02-07 14:40:29 -08:00
Nicholas D. Matsakis
2dc923d586
Bug 966575 (Part 1) -- Refactor so that Type Descriptors and Typed Datums make
...
use of the is<> and as<> methods, making typed object code much more typesafe.
r=sfink
2014-01-27 18:33:06 -05:00
Nicholas Nethercote
8ad98d5f7b
Bug 964238 (part 1) - Remove JSStableString and StableTwoByteChars. r=terrence.
...
--HG--
extra : rebase_source : 1859ce0b42661494fa13628551359a5a5d5663c0
2014-01-30 14:58:53 -08:00
Bobby Holley
3fbba66dcb
Bug 962449 - Make various getOrCreate methods static to efficiently fix hazards. r=Waldo
2014-01-31 14:51:42 -08:00
Luke Wagner
301a4f71cc
Bug 960860 - Don't include zlib.h from jsutil.h (r=njn)
...
--HG--
extra : rebase_source : 668c256e7867091b1fd747270f03907b09f363b2
2014-01-17 09:15:59 -06:00
Nathan Froyd
5800422e32
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Nathan Froyd
021c7795c1
Backout 524be0420e79 and 4c39a7047e96:b3d04b01c319 (bug 952777) for build bustage that led to this CLOSED TREE
2014-01-15 19:51:28 -05:00
Nathan Froyd
ada036e541
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Boris Zbarsky
93ba1b0ab7
Bug 959932. Fix some unsafe address issues in js/src/vm. r=sfink
2014-01-15 09:04:33 -05:00
Nicholas D. Matsakis
ac01bb4cb2
Bug 933317 - Improve write guard to consider out pointers r=shu
2014-01-07 21:35:32 -05:00
Christian Holler
61c08ebc86
Bug 959208 - Handle OOM in CloneObject. r=jandem
...
--HG--
extra : rebase_source : 3832f184a7a0f81efcead90460dfcb95efb90f41
2014-01-13 17:03:01 +01:00
Till Schneidereit
69129507fd
Bug 886193 - Part 3: Relazify non-JITted JSFunctions on GC. r=jandem
...
--HG--
extra : rebase_source : 6e2ee0613ae04c9bcaeb987ddf76fa733df5ce02
2013-12-19 14:07:24 +01:00
Till Schneidereit
10e4c56a16
Bug 886193 - Part 1: Remove usages of fun->nonLazyScript. r=jandem
...
--HG--
extra : rebase_source : 1b21c291669c181e057a65c9e0d73840a0af41d2
2014-01-02 20:53:59 +01:00
Shu-yu Guo
0bf4facd39
Bug 919638 - Part 1: Implement a work stealing thread pool for PJS. Original patch by Daniele Bonetta. (r=shu,nmatsakis)
2013-10-11 12:32:28 -07:00
Ivan Jibaja
311063f1a7
Bug 946042 - Add all SIMD functions to the interpreter. r=till
2013-12-18 16:28:32 -05:00
Jon Coppeard
815c5e706e
Bug 948162 - Update DependentAddPtr's ptr on GC r=terrence
2013-12-18 15:25:31 +00:00
Till Schneidereit
56b7f10b53
Bug 911400 - Create OpaqueWrappers when wrapping objects for use in the self-hosting global and OpaqueWrapperWithCalls when wrapping self-hosted function for use in other compartments. r=bholley
2013-11-26 13:45:54 +00:00
Terrence Cole
f3f1364e6e
Bug 950923 - Fix an exact rooting hazard in GlobalObject::getIntrinsicValue; r=sfink
...
--HG--
extra : rebase_source : f49223dbfb97147d43bbf3720098b97e516c406a
2013-12-16 14:28:35 -08:00
Brian Hackett
03fbbbdef7
Bug 785905 - Build Ion MIR graph off thread, r=jandem.
2013-12-16 10:53:02 -08:00
Brian Hackett
ecb06a8b95
Bug 949747 - Use accessor methods for JSFunction fields, r=jandem.
2013-12-14 16:38:07 -08:00
Shu-yu Guo
d917ee6f02
Bug 944074 - Remove the ParallelArray constructor. (r=nmatsakis)
2013-12-12 23:18:43 -08:00
Brian Hackett
4956d62509
Bug 948230 - Use accessor methods for JSScript bitfields, r=jandem.
2013-12-10 18:22:28 -08:00
Nicholas D. Matsakis
209c17a9b2
Bug 933760 - Track a type object for each type representation, associate with the type descriptor r=bhackett
2013-11-01 11:10:47 -04:00
Jeff Walden
a51194c4dc
Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
...
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Chris Peterson
578f5d193a
Bug 784295 - Part 2: Compile self-hosted JS in extra warnings mode (in DEBUG builds). r=till
2013-11-30 00:16:43 -08:00
Chris Peterson
e0cbcf4987
Bug 784295 - Part 1: Compile self-hosted JS in strict mode (in DEBUG builds). r=till
2013-11-24 21:56:20 -08:00
Till Schneidereit
c079fa7b96
Bug 911578 - Introduce self-hosting intrinsic isPackedArray. r=jandem
...
--HG--
extra : rebase_source : de128118f4a52553efa77f70bb4699dfb94d97c4
2013-11-29 17:54:31 +01:00
Jon Coppeard
7f491d978f
Bug 939993 - Fix places where HashTable::AddPtr could be used with out-of-date hash value under GGC r=sfink
2013-11-25 11:26:10 +00:00
Carsten "Tomcat" Book
13099086fa
Backed out changeset 042ab55b8476 (bug 939993) for Spidermonkey rootanalysis orange on a CLOSED TREE
2013-11-25 15:04:35 +01:00
Jon Coppeard
af4f430fcb
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-25 11:26:10 +00:00
Nicholas D. Matsakis
1e13d8499d
Bug 917454 - Add objectType function r=till
2013-09-12 12:29:40 -04:00
Nicholas D. Matsakis
c000e8b96a
Bug 898359 - Implement reference types in typed objects r=sfink
2013-09-22 20:18:31 -04:00
Brian Hackett
2140481adb
Bug 935324 - Clean up adding of type properties to objects, r=jandem.
2013-11-07 11:12:15 -08:00
Birunthan Mohanathas
5bfe05a87c
Bug 784739 - Switch from NULL to nullptr in js/; r=ehsan
2013-10-28 10:06:30 -04:00
Nicholas D. Matsakis
dab1097160
Bug 898342 - Implement movable handles for Typed Objects r=till
2013-09-11 16:24:23 -04:00
André Bargull
0f042d57f9
Bug 928508 - Change String.prototype.@@iterator to iterate over code points. r=jorendorff.
2013-10-23 11:42:25 -05:00
Felix S. Klock II
9292f7a2bf
Bug 928029: SelfHosting: check ThrowError argument count (r=till).
2013-10-21 10:08:01 -04:00
Nicholas D. Matsakis
d374e623da
Bug 898362 - Self-host portions of the typed object logic r=till
2013-09-10 10:35:53 -04:00
Andy Wingo
42d8ea0ae4
Bug 919948 - Convert Array.prototype.@@iterator to use new iteration protocol. r=jorendorff
...
--HG--
extra : rebase_source : d67252851178e66e8d7ef82ef83edddf79535a4e
2013-10-17 12:10:02 +02:00
Jeff Walden
71c6c1b0cf
Bug 925739 - Rename cx->names().classPrototype to just cx->names().prototype, for readability/predictability. r=jorendorff
2013-10-11 15:24:44 +02:00
Eddy Bruel
6432194dec
Bug 880330 - Replace options bitfield in JSContext with a struct; r=bholley
2013-10-14 13:25:47 +02:00
Dan Gohman
c862ace034
Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn
2013-10-10 05:18:01 -07:00
Andy Wingo
53ce73ba77
Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden
2013-10-03 13:37:57 +01:00
Brian Hackett
b73f647121
Bug 922283 - Remove the self hosted class mechanism, r=shu.
2013-10-02 08:16:04 -06:00
Ryan VanderMeulen
18fe7ab8b2
Backed out changesets 6d72b823b67f and acdff324d588 (bug 907077) for ASAN debug jit-test failures.
2013-10-01 16:18:39 -04:00
Andy Wingo
28a193c95f
Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden
...
--HG--
extra : rebase_source : 93c5b9d6a28a42468d9ca9ac7da3b4e1b6d92820
2013-10-01 06:25:00 +02:00
Birunthan Mohanathas
c5dce56c1e
Bug 784739 - Switch from NULL to nullptr in js/src/vm/ (4/5); r=ehsan
...
--HG--
extra : rebase_source : 8b559506fc5c434fb6a53324d296a2dfc87ba493
2013-09-27 16:31:25 -04:00
Till Schneidereit
4f25f56e4f
Bug 918823 - Make multiple methods using the same self-hosted function reuse one cloned version instead of replacing previous ones in the intrinsics holder. r=jorendorff,wingo
...
--HG--
extra : rebase_source : b7020989dbc6eaddd8edfe50e944d7fef5c57c15
2013-09-20 19:05:40 +02:00
Dan Gohman
a50084b38d
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Bobby Holley
a699320c1d
Bug 899367 - Add an API to opt out of default compartment objects. r=luke
...
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-09-04 14:06:55 -07:00
Till Schneidereit
589fb2423f
Bug 908472 - make JSFunction::generatorKind() treat lazy self-hosted functions as non-generators. r=jwalden
...
--HG--
extra : rebase_source : bc946eb476b6ba6dc98ea01b76c8aefc8827ddc5
2013-08-23 23:23:38 +02:00
Till Schneidereit
660428947b
Bug 905370 - Move SelfHostedClass list to JSRuntime. r=bhackett,shu
...
--HG--
extra : rebase_source : e45e182038fdc5267aa9b50853eefb43c7f9cf54
2013-08-23 13:29:01 +02:00
Bobby Holley
dd996d1173
Bug 907937 - Move object wrapping into the object-overloaded wrap() function. r=billm
...
There are a couple of changes to the wrap code, so it probably needs to be
looked over.
2013-08-22 12:40:31 -07:00
Nicholas Nethercote
6b214e6801
Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
...
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Nicholas Nethercote
9624be5713
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Bobby Holley
6f87931f0a
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Terrence Cole
93a57a5bf7
Bug 899827 - Allow self-hosting cloning to work on nursery things; r=till
...
--HG--
extra : rebase_source : 594ce2dfc868f25c4e4416af1123d3243636562b
2013-07-30 15:09:44 -07:00
Bobby Holley
43974de990
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Bobby Holley
acaaa3b1a2
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
Till Schneidereit
637d9040dd
Bug 892059 - Assert on unclonable values in self-hosting CloneValue. r=jimb
...
--HG--
extra : rebase_source : 0b39e57643965fc41ff1220a2c049eecce24e8c8
2013-07-26 03:04:28 +02:00
Terrence Cole
28afcc4d1d
Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
...
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Shu-yu Guo
60c816a831
Bug 897137 - Remove unnecessary inlining for the Dump intrinsic in Ion. (r=nmatsakis)
2013-07-24 07:19:05 -07:00
Emanuel Hoogeveen
01d2a49592
Bug 888088 (part 8) - Fix #include ordering in js/src/vm/. r=nnethercote.
...
--HG--
extra : rebase_source : f5f3f5d2de9bc583db770c2d814013337a1ed565
2013-07-23 17:35:14 -07:00
Bobby Holley
42413d79c9
Bug 887334 - Move faulty JSAutoRequest in initSelfHosting. r=luke
...
The call to JS_SetGlobalObject causes cx->compartment_ to be set to the self-
hosting global, which means that the JSAutoCompartment picks up that compartment
as the 'previous' compartment. So despite the attempt to restore things with
JS_SetGlobalObject at the end of the function, the JSAutoCompartment destructor
actually ends up leaving cx in the self-hosting global's compartment at the end
of this function. Moving the JSAutoCompartment construction above the call to
JS_SetGlobalObject fixes the problem.
2013-07-17 11:53:51 -07:00
Nicholas Nethercote
e5799a9b9b
Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
...
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Nicholas D. Matsakis
eb3b74035a
Bug 841621 - Add inline hint for self-hosted code r=dvander
2013-05-31 14:59:38 -04:00
Norbert Lindenberg
7968ef59e4
Bug 834989 - Use of RegExp in self-hosted code can be observed through RegExp statics. r=jwalden
2013-07-11 09:53:56 -04:00
Shu-yu Guo
8b812db12c
Bug 881593 - Part 2: Add ParallelSpew intrinsic. (r=nmatsakis)
2013-07-10 18:25:34 -07:00
Brian Hackett
aafb978437
Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm.
2013-07-10 09:29:52 -06:00
Till Schneidereit
3338bb00a8
Bug 872644 - Rename UnsafeSetElement intrinsic to UnsafePutElements. r=shu
...
--HG--
extra : rebase_source : 0f7e49b1a29a33b38b6be3c77073e11d3d6373c9
extra : amend_source : 529aa068a6592e8f1b1c818dc7d29612b3528908
2013-07-05 21:57:43 +02:00
Nicholas Nethercote
371d39417d
Bug 889146 (part 15) - Remove jstypedarrayinlines.h. r=sfink.
...
--HG--
extra : rebase_source : 019bdcc8d44be12a6b6cabb88d87f081ed3fcb71
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
f5bec1b37d
Bug 889146 (part 12) - Remove JSObject::isTypedArray(). r=sfink.
...
--HG--
extra : rebase_source : 01cd2c6476d99ae663b6c43aa17df1515ad7adde
2013-07-02 20:58:38 -07:00
Nicholas Nethercote
c3e0eed6ed
Bug 889146 (part 11) - Move some functions into TypedArrayObject and make its SLOT members private. r=sfink.
...
--HG--
extra : rebase_source : dc626c3c0df3cfea856dd7e5b49122c6ef092d36
2013-07-02 13:30:37 -07:00
Nicholas Nethercote
32abc7ea9a
Bug 889146 (part 5) - Rename TypedArray as TypedArrayObject. r=sfink.
...
--HG--
extra : rebase_source : 2eb626fb70a2ef510705c5d9d1fd483871158059
2013-07-02 12:48:35 -07:00
Terrence Cole
68307928b7
Bug 879079 - Fix static root analysis hazards around ToInteger; r=sfink
...
--HG--
extra : rebase_source : 645febaf4b4044e28ba9d53a301a7c3ca7468487
2013-06-26 14:46:23 -07:00
Nicholas Nethercote
82d0cc84f8
Bug 884124 (part 6) - Add an ArrayObject class. r=jwalden.
...
--HG--
extra : rebase_source : 17a9703165cb665326ff94bc574450ba59ede7f7
2013-06-18 23:55:38 -07:00
Nicholas Nethercote
532112ee66
Bug 884124 (part 5) - Add a DateObject class. r=jwalden.
...
--HG--
extra : rebase_source : bc39dcc8e2f8f2fcc71389a3ea199e264c445bc8
2013-06-20 20:17:15 -07:00
Nicholas Nethercote
435d36ff71
Bug 880041 (part 22) - Use JSObject::{is,as} for JSFunction. r=sfink.
...
--HG--
extra : rebase_source : 43c8c65c7d00edffde12c5b1ec8a1aff42acc7fe
2013-06-17 23:53:49 -07:00
Nicholas Nethercote
52908a1abe
Bug 880041 (part 21) - Use JSObject::{is,as} for GlobalObject. r=sfink.
...
--HG--
extra : rebase_source : 676539d76be0aee1c5450aacefed27a4f45efc81
2013-06-17 16:23:11 -07:00
Shu-yu Guo
9ec088b762
Bug 844882 - Part 4: Ion inlining for self-hosted classes. (r=jandem)
2013-06-19 17:33:14 -07:00
Shu-yu Guo
95a42f9e3e
Bug 844882 - Part 3: Add self-hosted classes (general encapsulation mechanism from entirely within self-hosted code). (r=till)
2013-06-19 17:33:14 -07:00
Shu-yu Guo
c7c6c1c984
Bug 844882 - Part 1: Intrinsics to set/get reserved slots. (r=till)
2013-06-19 17:33:13 -07:00
Nicholas Nethercote
c320e89807
Bug 880041 (part 19) - Use JSObject::{is,as} for {Boolean,Number,String}Object. r=evilpies.
...
--HG--
extra : rebase_source : fa2594ae2ff16ec64f949191d014cfb844e30c3b
2013-06-17 03:18:55 -07:00
Nicholas Nethercote
549fd96b30
Bug 634839 (part 2b) - Remove more unnecessary headers (as found by include-what-you-use) from SpiderMonkey. r=jorendorff.
...
--HG--
extra : rebase_source : 5d6a4d653160a9c4a9645b14bebbcfab71b50ef4
2013-06-12 22:20:27 -07:00
Nicholas Nethercote
b57ff1695a
Bug 880041 (part 9) - Use JSObject::{is,as} for RegExpObject. r=sfink.
...
--HG--
extra : rebase_source : 083c58e8a82bf7edb2a46e24cae47236af51a2ac
2013-06-16 17:39:43 -07:00
Gary Kwong
ada1c6e81d
Backout rev 18c1fd169792 for causing issues with the fuzzers. r=luke in-person
2013-06-14 17:00:49 -07:00
Nicholas D. Matsakis
85d4cce0e5
Bug 880208 - Add UnsafeGet and UnsafeGetImmutable intrinsics r=djvj
2013-06-06 11:01:15 -04:00
Brian Hackett
327a300d21
Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke.
2013-06-10 15:22:18 -06:00
Terrence Cole
92c0bf02c4
Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
...
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Benjamin Peterson
2d0a00f459
Bug 778948 - Move jsinterp.cpp/h to the vm/ dir. r=luke
...
--HG--
rename : js/src/jsinterpinlines.h => js/src/vm/Interpreter-inl.h
rename : js/src/jsinterp.cpp => js/src/vm/Interpreter.cpp
rename : js/src/jsinterp.h => js/src/vm/Interpreter.h
2013-06-02 15:30:43 -07:00
Brian Hackett
1fdaad701e
Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke.
2013-05-30 06:29:56 -06:00
Nicholas D. Matsakis
cb4e49b262
Bug 862892 - Support off-main-thread compilation for parallel execution. r=shu,bhackett
2013-05-25 09:05:05 -04:00
Jeff Walden
902777362b
Bug 873718 - Add a second argument to MakeConstructible, a value to be set as .prototype on the function. This ensures that .prototype is always an object, and that |new|ing the function will never invoke user-defined code trying to access the .prototype (and possibly hitting such a property along the prototype chain). r=till
...
--HG--
extra : rebase_source : 039448500590360f99e24350fdaa8da4c17f9487
2013-05-21 17:42:34 -07:00
Bobby Holley
8f823bfe9a
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Terrence Cole
e61de5ae64
Bug 872384 - Clone self hosted objects directly into tenured; r=till
...
The jit is allowed to bake pointers to intrinsics into jitcode. Since all
self-hosted clones are intrinsics, we need these to always be tenured.
--HG--
extra : rebase_source : b4e6b63db874a95d5eac4cafa34a7aaadd163f58
2013-05-16 10:24:22 -07:00