Commit graph

107 commits

Author SHA1 Message Date
Gaming4JC
8a42a64748 1320408 - Part 23: Change RegExpObject::{getShared,createShared,dumpBytecode} to static method. 2019-07-22 19:48:59 +08:00
Gaming4JC
317605333c 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. 2019-07-22 19:48:52 +08:00
Gaming4JC
62eeeb76b5 1320408 - Part 19: Remove JSContext* parameter from ModuleObject::fixEnvironmentsAfterCompartmentMerge. 2019-07-22 19:48:36 +08:00
Gaming4JC
3fb93ffdf6 1320408 - Part 18: Change StringObject::init to static method. 2019-07-22 19:48:30 +08:00
Gaming4JC
d102bd41c8 1320408 - Part 17: Change NativeObject::clearFlag to static method. 2019-07-22 19:48:27 +08:00
Gaming4JC
9e0f10ac59 1320408 - Part 16: Change NativeObject::removeProperty to static method. 2019-07-22 19:48:22 +08:00
Gaming4JC
a2451c8234 1320408 - Part 15: Change NativeObject::addDataProperty to static method. 2019-07-22 19:48:18 +08:00
Gaming4JC
cc8cb910dd 1320408 - Part 14: Change some GlobalObject methods to static method. 2019-07-22 19:48:14 +08:00
Gaming4JC
b237ae6437 1320408 - Part 13: Change DebugEnvironmentProxy::getMaybeSentinelValue to static method. 2019-07-22 19:48:09 +08:00
Gaming4JC
d208cccd10 1320408 - Part 12: Change JSScript::sourceData to static method. 2019-07-22 19:48:01 +08:00
Gaming4JC
7f856ff769 1320408 - Part 9: Change JSObject::setFlags and depending methods to static method. 2019-07-22 19:47:51 +08:00
Gaming4JC
7e0b20a7bf 1320408 - Part 8: Change JSObject::reportNotConfigurable and JSObject::reportNotExtensible to static method. 2019-07-22 19:47:47 +08:00
Gaming4JC
f32edc66ae 1320408 - Part 7: Remove JSContext* parameter from JSObject::shouldSplicePrototype. 2019-07-22 19:47:44 +08:00
Gaming4JC
a38594f890 1320408 - Part 6: Change JSObject::splicePrototype to static method. 2019-07-22 19:47:40 +08:00
Gaming4JC
6a21912a94 1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method. 2019-07-22 19:47:37 +08:00
Gaming4JC
87bfc02f09 1320408 - Part 4: Change JSObject::getGroup to static method. 2019-07-22 19:47:34 +08:00
Gaming4JC
ed78b21cf0 1320408 - Part 3: Remove JSContext* parameter from JSFunction::getBoundFunctionArgument. 2019-07-22 19:47:31 +08:00
Gaming4JC
07cd213071 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. 2019-07-22 19:47:27 +08:00
Gaming4JC
6633322957 1320408 - Part 1: Change JSFunction::getLength and JSFunction::getUnresolvedLength to static method. 2019-07-22 19:47:24 +08:00
Gaming4JC
3ce5343851 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. 2019-07-22 19:47:18 +08:00
Gaming4JC
337cdbd0ce 1333143 - Self-host Object.prototype.valueOf. 2019-07-22 19:47:12 +08:00
Gaming4JC
2391e18681 903389 - Fix uses of ClassMethodIsNative. 2019-07-22 19:47:04 +08:00
wolfbeast
e4c7c846c8 Remove anyNewScript() 2019-06-28 20:11:27 +08:00
wolfbeast
82e3eafecf Remove UnboxedObjects ObjectGroup addendum 2019-06-28 20:11:18 +08:00
wolfbeast
aa89a14709 Remove Unboxed Object code from /vm, Part 3. 2019-06-28 20:11:10 +08:00
wolfbeast
3e1ffa6cf6 Remove Unboxed Object code from jit, Part 2. 2019-06-28 20:10:58 +08:00
wolfbeast
bd6c34b56a Revert "Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again."
This reverts commit 912c3f5cbc512557794a3dfd7bc5cb4994413dfe.
2019-06-28 20:10:21 +08:00
wolfbeast
a6bb928fa4 Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again. 2019-06-19 21:34:38 +08:00
wolfbeast
1d499496a2 Update comment 2019-06-19 21:34:36 +08:00
wolfbeast
90bb3e7f1d Remove and clean up more code. 2019-06-19 21:34:34 +08:00
wolfbeast
c6c456b12b Replace SetOrExtendBoxedOrUnboxedDenseElements with direct calls. 2019-06-19 21:34:33 +08:00
wolfbeast
79dfc644d3 Clean up and rename MoveBoxedOrUnboxedDenseElements. 2019-06-19 21:34:31 +08:00
wolfbeast
ec0e78d127 Convert CopyBoxedOrUnboxedDenseElements to something that doesn't crash. 2019-06-19 21:34:29 +08:00
wolfbeast
18166cf949 Remove functors for array natives. 2019-06-19 21:34:26 +08:00
wolfbeast
ea2349157d Remove unboxed array context option and shell flag. 2019-06-19 21:34:25 +08:00
wolfbeast
87f3c86484 Make use of ArrayObjects in favor of generic JS objects.
ArrayObjects has been a thing for years but been under-used. About time
they are used where prudent.
2019-06-19 21:34:21 +08:00
wolfbeast
1176a9ace1 Inline combined methods for NativeObject and UnboxedArrayObject accesses. 2019-06-19 21:34:19 +08:00
wolfbeast
54b6b407a9 Remove UnboxedArray code part 2 2019-06-19 21:34:02 +08:00
wolfbeast
f5923f0626 Add Atomics.notify instead of Atomics.wake according to revised spec.
- Keep .wake as an alias until we're certain it can be removed.
- Enable SAB memory
2019-06-15 06:27:46 +08:00
wolfbeast
2db998a4f8 Remove Unboxed Objects from vm/ - Part 2 2019-05-24 21:56:16 +08:00
wolfbeast
cc936df2e5 Remove unboxed object code from jit, Part 1 2019-05-24 21:56:13 +08:00
wolfbeast
37315e4898 Remove Unboxed Objects from vm/ Part 1 + fix deprot 2019-05-24 21:56:09 +08:00
wolfbeast
fb23522087 Remove initial chunk of Unboxed Objects machinery part 2 2019-05-24 21:55:50 +08:00
wolfbeast
7b0eb7be8c remove unboxed code chunk (wip1) 2019-05-24 21:55:45 +08:00
wolfbeast
3538814b92 Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-24 21:54:58 +08:00
wolfbeast
dee48511aa Implement String.prototype.trimStart and trimEnd.
This renames our internal function names because *Left and *Right might
be deprecated and have to be removed later, making that trivial.
Resolves #1089
2019-05-17 22:17:20 +08:00
wolfbeast
78d61fd2b1 Issue #187: Remove solaris conditional code. 2019-04-04 20:26:26 +08:00
adeshkp
f922e8ae0e Remove a couple of unused variables 2019-03-16 07:04:13 +08:00
wolfbeast
becadd3588 Align instanceof with the final ES6 spec. 2019-02-16 00:28:03 +08:00
adeshkp
521c918660 Remove telemetry leftovers from JS engine. 2019-02-16 00:27:38 +08:00