Jeff Walden
6578f9c064
Bug 1052139 - Refactor global-object creation code to distinguish the unique self-hosting global from all other run-of-the-mill globals. r=till
...
--HG--
extra : rebase_source : fe126e03e2fa778fdee3420ad5c39f00caea2495
2014-11-26 16:04:55 -05:00
Jon Coppeard
eb3f2122ea
Bug 1104843 - Fix JSRuntime::isSelfHostingZone() to not crash before self hosting has been initialized r=terrence
2014-12-01 06:12:21 -08:00
Hannes Verschore
b41b205bbf
Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till,jonco
2014-11-18 15:53:58 +01:00
Jan de Mooij
5f60319597
Bug 1093573 part 15 - Add and optimize IsSuspendedStarGenerator. r=wingo
2014-11-13 21:10:05 +01:00
Jan de Mooij
b6d70bfd97
Bug 1093573 part 14 - Remove newborn generator state. r=wingo
...
--HG--
extra : rebase_source : 63c0f3d2708867c891ed5c70aa9566d282eeabcf
2014-11-13 17:39:53 +01:00
Brian Hackett
b35d8d112a
Bug 1092318 - Remove unsized array typed objects, r=nmatsakis.
2014-11-07 08:37:21 -07:00
Wes Kocher
9a58cdc67e
Backed out changeset f28d2350eb43 (bug 1092318) for jsreftest permafails
2014-11-05 20:43:33 -08:00
Brian Hackett
4474a5818f
Bug 1092318 - Remove unsized array typed objects, r=nmatsakis.
2014-11-05 17:58:35 -07:00
Carsten "Tomcat" Book
7e2b2f67ef
Backed out changeset 2e9f81c5d00c (bug 1052839) for ggc bustage
2014-11-05 14:03:58 +01:00
Hannes Verschore
e7583ebe0c
Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till,jonco
2014-11-04 23:31:28 +01:00
Benjamin Bouvier
20123d42e3
Bug 1092110: Make a few functions and members debug only; r=dougc
2014-11-04 15:30:45 +01:00
Carsten "Tomcat" Book
40db4dd688
Backed out changeset 88041cfff520 (bug 1052839) for rootanalysis test failures
2014-11-04 10:53:25 +01:00
Hannes Verschore
bd7bdb5ff6
Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till
2014-11-04 09:43:00 +01:00
Jason Orendorff
2cacf236ed
Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
...
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Jon Coppeard
cf756a07dc
Bug 650161 - Don't move objects in the self hosting zone as it can be shared between runtimes r=terrence
2014-10-20 09:07:43 +01:00
André Bargull
d4f4670ea2
Bug 1084278 - Correct function length for functions exported to self-hosting environment. r=till
2014-10-17 11:10:29 +02:00
Jan de Mooij
d0fa9bef04
Bug 987560 - Greatly refactor generator implementation. Patch mostly written by Andy Wingo. r=wingo
2014-10-17 10:19:40 +02:00
Brian Hackett
805662ad08
Bug 1073842 - Rename ObjectImpl to NativeObject, sr=luke.
2014-10-07 18:50:34 -07:00
Brian Hackett
b6419e9f3a
Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke.
2014-10-02 19:32:39 -07:00
Jim Blandy
d65487fb91
Bug 1075591: Make js::gc::TenuredCell::asTenured return a TenuredCell &, not a TenuredCell *. r=terrence
2014-10-02 10:19:11 +01:00
Nicolas B. Pierron
a30117e0b9
Bug 1074911 - Replace JS_ASSERT_IF by MOZ_ASSERT_IF. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT_IF(/ {
s/JS_ASSERT_IF(/MOZ_ASSERT_IF(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT_IF (/MOZ_ASSERT_IF(/;
'
2014-10-01 19:17:53 +02:00
Nicolas B. Pierron
206d7d6d49
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT(/ {
s/JS_ASSERT(/MOZ_ASSERT(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT (/MOZ_ASSERT(/;
'
Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Till Schneidereit
276cd0a709
Bug 1067459 - Only install a small subset of the standard builtins in the self-hosting global. r=jorendorff
2014-09-16 10:01:09 -04:00
Brian Hackett
8ce12a05a9
Bug 1069688 - Use inline data for small opaque typed objects, r=sfink, nmatsakis.
2014-09-25 18:17:55 -07:00
Johannes Schulte
5407e293c5
Bug 994018 - Remove Memcpy-optimization for Typed Objects. r=nmatsakis
2014-09-17 22:57:33 +02:00
Terrence Cole
fd64eb51f9
Bug 1068223 - Clean up the Cell hierarchy; r=jonco
...
--HG--
extra : rebase_source : 3b9e05416971eee3eb9e8cdc30008fe41f2fd539
2014-09-17 10:32:37 -07:00
Ryan VanderMeulen
04eba7c166
Backed out 6 changesets (bug 918828) for mass bustage on a CLOSED TREE.
...
Backed out changeset b59c02df792f (bug 918828)
Backed out changeset 12e7deed1b17 (bug 918828)
Backed out changeset b87ca498ea9a (bug 918828)
Backed out changeset 621224c58e71 (bug 918828)
Backed out changeset 4faff84eb1ba (bug 918828)
Backed out changeset 3695c1c812a5 (bug 918828)
2014-09-16 17:26:34 -04:00
Jason Orendorff
68b38c7094
Bug 918828, part 2 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=nbp.
...
--HG--
extra : rebase_source : 529d0cd48cd1993cd8cc648ac385ca12342ecfd1
2014-07-01 21:01:21 -05:00
Lars T Hansen
ef7ed4ebde
Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff
2014-09-16 18:45:31 +02:00
Bobby Holley
7c712dca7b
Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz
2014-09-09 16:02:10 -07:00
Nicholas Nethercote
94bc3e8dde
Bug 1040593 (attempt 2) - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
...
--HG--
extra : rebase_source : 2bcccb3aa1543649eb30cd8c43680fc09ec6df91
2014-08-27 23:35:57 -07:00
Wes Kocher
edce5ffd3c
Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE
2014-09-04 18:00:59 -07:00
Nicholas Nethercote
10873906cf
Bug 1040593 - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
...
This patch makes |new Array(N)| always allocate at least
|EagerAllocationsMaxLength| elements up front.
It also changes |EagerAllocationsMaxLength| from 2048 to 2046, so that when the
two extra slots needed for |ObjectElements| are included, the resulting
allocation size is a power-of-two.
--HG--
extra : rebase_source : 17e069bc9d39c5d5ee957a99e11ab189f7493540
2014-08-27 23:35:57 -07:00
Jan de Mooij
71b3705a95
Bug 1002473 - Make IsConstructing fast for JIT frames. r=nbp
2014-09-03 18:12:16 +02:00
Bobby Holley
e9fb2caf27
Bug 981218 - Remove default compartment objects. r=luke
...
\o/
2014-08-21 17:13:51 -07:00
Terrence Cole
bf14f83354
Bug 1033442 - Add allocation functions to Cell to make it more obvious which allocator to use; r=jonco
2014-08-08 17:00:46 -07:00
Tom Schuster
aaa1a77b95
Bug 792439 - Implement ES6 WeakSet. r=till
2014-08-19 12:42:13 +02:00
Terrence Cole
b057565fa0
Bug 1033442 - Remove non-pod malloc from MallocProvider and AllocPolicy; r=jonco
2014-08-08 13:22:39 -07:00
Nathan Braswell
b7d635af1c
Bug 1052358 - Support copying over symbol properties in Object.assign. r=jwalden
2014-08-12 16:07:47 -07:00
Jan de Mooij
9dd0f57269
Bug 1031529 part 2 - Remove JS_THREADSAFE #ifdefs everywhere. r=bhackett
2014-07-24 11:56:43 +02:00
Mike Hommey
86e20b3392
Bug 1039197 - Always build js engine with zlib. r=luke
2014-07-17 08:42:17 +09:00
Jan de Mooij
cfcce18b5a
Bug 1037613 - rm js_GetLocalizedErrorMessage, localeGetErrorMessage callback. r=jorendorff
2014-07-15 15:14:38 +02:00
Steve Fink
e0b7644d4e
Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
...
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Conner McConkey
821c5897ee
Bug 1021739 - Transform the selfhosting IsObject function into an intrinsic, r=h4writer
2014-06-30 12:32:05 +02:00
Jan de Mooij
b55731dba4
Bug 1028866 part 4 - Add NewStringCopyNDontDeflate. r=luke
2014-06-25 08:05:45 +02:00
Jan de Mooij
2e31a7324b
Bug 1028866 part 1 - Move string allocation functions into js namespace, remove js_* prefix. r=luke
...
--HG--
extra : rebase_source : 1f4c940dce07a7ced533c641c60cf76592fd61ac
2014-06-24 17:33:27 +02:00
Jan de Mooij
62dbea1c96
Bug 1027528 part 20 - Make enough code work with Latin1 strings to pass shell tests. r=luke
2014-06-24 12:01:41 +02:00
Jan de Mooij
8850aea66b
Bug 1027528 part 14 - Make self-hosting string cloning work with Latin1 strings. r=till
2014-06-21 19:56:23 +02:00
Jan de Mooij
d56b70afc1
Bug 1025875 part 8 - Make JS_EncodeStringToUTF8, print etc work with Latin1 strings. r=Waldo
2014-06-17 15:18:23 +02:00
Lars T Hansen
f6cd570167
Bug 933313: Per-worker generational GC for PJS. r=jandem r=terrence r=shu r=jonco
2014-06-09 22:04:14 -07:00
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