Commit graph

332 commits

Author SHA1 Message Date
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
85df465355 1175823 - Import test262 mapped arguments tests. 2019-07-22 19:47:21 +08:00
Gaming4JC
3ce5343851 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. 2019-07-22 19:47:18 +08:00
Gaming4JC
1af9026a89 1333045 - Update Location object properties to current spec.
Specifically, three changes:
1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.
2019-07-22 19:47:15 +08:00
Gaming4JC
337cdbd0ce 1333143 - Self-host Object.prototype.valueOf. 2019-07-22 19:47:12 +08:00
Gaming4JC
5d929d8c47 903389 - Make Make NativeGet[Getter]PureInline handle dense/typed array shapes. 2019-07-22 19:47:09 +08:00
Gaming4JC
2391e18681 903389 - Fix uses of ClassMethodIsNative. 2019-07-22 19:47:04 +08:00
Gaming4JC
ee1e2aba19 1317375 - Implement "Template Literals Revision / Lifting Template Literal Restriction" ECMAScript proposal 2019-07-22 19:47:00 +08:00
Gaming4JC
8350dfc515 1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name. 2019-07-22 19:46:55 +08:00
Gaming4JC
146dbe7bee 1323324 - Part 1: Make Promise::unforgeable{Resolve,Reject} spec-compliant. 2019-07-22 19:46:50 +08:00
Gaming4JC
ff46e0c58c 1325606 - Return wrapped async function from caller property. 2019-07-22 19:46:47 +08:00
Gaming4JC
e4867e8b4d 1326454 - Don't report an error when SourceCoords::add fails, because it fails only when an underlying Vector::append fails, and that vector handles OOM reporting itself. 2019-07-22 19:46:43 +08:00
Gaming4JC
6828c2c09b 1326454 - Add assertions to TokenStream::skipChars{,IgnoreEOL} verifying EOF isn't yet hit and that newlines aren't skipped, if appropriate. 2019-07-22 19:46:40 +08:00
Gaming4JC
a91f1769b7 1326454 - Make TokenStream::skipChars{,IgnoreEOL} accept an unsigned integral number of chars to skip. 2019-07-22 19:46:36 +08:00
Gaming4JC
c7d3f8e8a3 1326454 - Make TokenStream::peekChar's signature fallible. 2019-07-22 19:46:33 +08:00
Gaming4JC
3d4f7e67fc 1326454 - Rename TokenStream::getBracedUnicode to TokenStream::matchBracedUnicode and make its signature fallible. 2019-07-22 19:46:30 +08:00
Gaming4JC
cd2bccf4c0 1326454 - Introduce TokenStream::warning that warns at the current offset. 2019-07-22 19:46:27 +08:00
Gaming4JC
c94ed16b4f 1326454 - Introduce TokenStream::error that reports an error at the current offset. 2019-07-22 19:46:24 +08:00
Gaming4JC
94c6eea52b 1325157 - Implement a ParserBase class that holds functionality that's identical between syntax parsing and full parsing. 2019-07-22 19:46:21 +08:00
Gaming4JC
baab6a6ca9 1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types. 2019-07-22 19:46:18 +08:00
Gaming4JC
d451930d58 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox. 2019-07-22 19:46:14 +08:00
Gaming4JC
7f7b0a029c 636635 - Do not create named lambda binding for a function created by Function constructor. 2019-07-22 19:46:11 +08:00
Gaming4JC
dd359c6105 1317379 - Disallow generator functions and async functions as direct children of if/else. 2019-07-22 19:46:07 +08:00
Gaming4JC
8589f6e316 1296814 - Move FunctionDeclaration-as-consequent/alternative handling out of Parser::functionStmt into Parser::consequentOrAlternative. 2019-07-22 19:46:04 +08:00
Gaming4JC
02761b7fc2 1317153 - Provide better error message when errornous syntax possibly match "await SOMETHING" outside async function. 2019-07-22 19:46:00 +08:00
Gaming4JC
bf35c6ba70 1317090: Remove js::FindBody; 2019-07-22 19:45:56 +08:00
Gaming4JC
578e96b2cc 1315815 - Don't treat async or await as a keyword when they contain escapes. 2019-07-22 19:45:53 +08:00
Lars T Hansen
b97da34a21 Define JumpImmediateRange on ARM64.
There are comments in the code suggesting that we've made plans at some
point to handle very far jumps via patching + indirect jumps, but all of
those comments are TODO/FIXME. Absent such a strategy, the furthest jump
is 2^27-1 bytes, and we need to define JumpImmediateRange to reflect
that.
2019-07-22 19:45:17 +08:00
wolfbeast
0221618762 Avoid type confusion in ArrayJoinDenseKernel 2019-07-08 20:28:57 +08:00
Gaming4JC
db85a69fdb Issue #1142 - Cleanup unused debug code for unboxed objects
Also fixes an assertion during compile if debug is enabled since unboxed objects have been removed.
2019-07-05 21:30:00 +08:00
g4jc
2b5f3e87c8 Issue #1142 - Remove uneeded assertion (#1145)
Since unboxed objects were removed, isUnboxed is undefined. This causes a build failure when debuging is enabled. This patch fixes the issue by removing the uneeeded assertion.
2019-07-05 21:29:58 +08:00
Travis W
f3c2a3596c Add StoreBuffer-inl.h header to jsobj.cpp
This should fix deprot on the Linux and Macintosh
2019-06-28 20:11:30 +08:00
wolfbeast
e4c7c846c8 Remove anyNewScript() 2019-06-28 20:11:27 +08:00
wolfbeast
0342ac0a6b Clean up MObjectState 2019-06-28 20:11:24 +08:00
wolfbeast
c2c997f393 Remove now-unused parameter (prev. used for unboxed objects). 2019-06-28 20:11:21 +08:00
wolfbeast
82e3eafecf Remove UnboxedObjects ObjectGroup addendum 2019-06-28 20:11:18 +08:00
wolfbeast
30b5b0a6da Remove unboxed object tests. 2019-06-28 20:11:15 +08:00
wolfbeast
05daa3c420 Remove Unboxed Objects Option Code 2019-06-28 20:11:12 +08:00
wolfbeast
aa89a14709 Remove Unboxed Object code from /vm, Part 3. 2019-06-28 20:11:10 +08:00
wolfbeast
7ec709fb70 Remove Unboxed Object code from jit, Part 4. 2019-06-28 20:11:07 +08:00
wolfbeast
bc5121a769 Remove Unboxed Object code from jit, Part 3. 2019-06-28 20:11:04 +08:00
wolfbeast
0c434f7244 Fix unified deprot 2019-06-28 20:11:01 +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