Brian Smith
3f4985ce6c
Issue #1691 - Part 3: Finish implementing import meta. https://bugzilla.mozilla.org/show_bug.cgi?id=1427610
...
(cherry picked from commit a8625238ac846fb7eb103646ddb8634a5860f067)
2023-04-30 21:17:00 +08:00
Martok
74032644f5
Issue #2155 - Follow-up: Reorder super-property evaluation order per latest spec change
...
Fix regression from difference between Interpreter (old) and ElemOpEmitter (new). We don't have
any Ion/IC support for these ops.
Based-on: m-c 1472211
2023-04-05 07:13:08 +08:00
Martok
6b50dd5d06
Issue #2089 - Use JS engine stack if necessary when reporting errors
...
Based-on: m-c 996060
2023-01-26 11:39:57 +08:00
Moonchild
574b295d15
Issue #1742 - Part 3: use JS::PropertyResult instead of Shape*
...
This is the meat of the issue and switches using raw shape pointers out for
PropertyResult objects where feasible.
2022-05-31 09:12:29 +08:00
Moonchild
80d7d43961
Issue #1742 - Part 1: Refactor rooting base class templates
...
Based on Bug 1325406
2022-05-31 09:12:19 +08:00
FranklinDM
3efa23472c
Issue #1894 - Part 1: Implement coalesce JS opcode
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:16 +08:00
Moonchild
dabd32f955
Issue #1656 - Part 7: Nuke vim config lines in JS
2020-09-25 22:04:24 +08:00
wolfbeast
2996c783d8
Revert #1091 Remove unboxed object code phase 1 + extras.
...
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-02-27 07:34:57 +08:00
wolfbeast
cfed2447da
Revert #1137 - Remove unboxed arrays
...
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-02-27 07:34:50 +08:00
wolfbeast
47781d6165
Revert #1142 - Remove unboxed objects
...
- accounting for removal of watch()/unwatch()
2020-02-27 07:33:11 +08:00
Roy Tam
ad9793b896
js: fix build
2019-12-18 10:21:07 +08:00
Gaming4JC
142e8bf444
Bug 1331092 - Part 7: Implement Async Generator yield*.
...
Tag #1287
2019-12-18 09:16:59 +08:00
Gaming4JC
10b93afff4
Bug 1331092 - Part 2: Implement Async Generator except yield*.
...
Tag #1287
2019-12-18 09:16:52 +08:00
Gaming4JC
a6872d9ea3
Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}.
...
Tag #1287
2019-12-18 09:15:54 +08:00
Gaming4JC
417aa02122
1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores return value.
2019-07-22 19:52:23 +08:00
Gaming4JC
f79ee2fd83
1216630 - Print class source when calling toString on the constructor.
...
This is accomplished in the following ways.
LazyScripts and JSScripts now have 4 offsets:
- Source begin and end for the actual source. This is used for lazy parsing.
- toString begin and end for toString. Some kinds of functions, like async, only have a different begin offset. Class constructors have different offsets for both begin and end.
For syntactically present (i.e. non-default) constructors, the class source span is remembered directly on the LazyScript or JSScript. The toString implementation then splices out the substring directly. For default constructors, a new SRC_CLASS SrcNote type is added. It's binary and has as its arguments the begin and end offsets of the class expression or statement. MakeDefaultConstructor reads the note and overrides the cloned self-hosted function's source object. This is probably the least intrusive way to accomplish this.
2019-07-22 19:51:38 +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
87bfc02f09
1320408 - Part 4: Change JSObject::getGroup to static method.
2019-07-22 19:47:34 +08:00
Gaming4JC
07cd213071
1320408 - Part 2: Change JSFunction::getOrCreateScript to static method.
2019-07-22 19:47:27 +08:00
wolfbeast
aa89a14709
Remove Unboxed Object code from /vm, Part 3.
2019-06-28 20:11:10 +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
90bb3e7f1d
Remove and clean up more code.
2019-06-19 21:34:34 +08:00
wolfbeast
54b6b407a9
Remove UnboxedArray code part 2
2019-06-19 21:34:02 +08:00
wolfbeast
37315e4898
Remove Unboxed Objects from vm/ Part 1 + fix deprot
2019-05-24 21:56:09 +08:00
wolfbeast
becadd3588
Align instanceof with the final ES6 spec.
2019-02-16 00:28:03 +08:00
janekptacijarabaci
ac07311b18
Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring iterator close trynote
...
Issue #74
2019-02-15 23:39:34 +08:00
janekptacijarabaci
8af5664922
Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by try statements inside for-of
...
Issue #74
2019-02-15 23:39:32 +08:00
janekptacijarabaci
444483bf81
Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)
...
Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of
Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in
JSTRY_FOR_OF
Bug 1344753 - Update for-of stack depth in
ControlFlowGenerator::processWhileOrForInLoop
Issue #74
2019-02-15 23:39:29 +08:00
janekptacijarabaci
4ac4296fce
Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception during array destructuring
...
Issue #74
2019-02-15 23:39:26 +08:00
janekptacijarabaci
95390009cc
Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*
...
Issue #74
2019-02-15 23:39:07 +08:00
janekptacijarabaci
d36d40760a
Bug 1147371: Implement IteratorClose for array destructuring
...
Issue #74
2019-02-15 23:39:05 +08:00
janekptacijarabaci
5f3e5dc3fb
Bug 1147371: Implement IteratorClose for for-of
...
Issue #74
2019-02-15 23:39:00 +08:00
janekptacijarabaci
2f27d8433c
Bug 1204028: Evaluate LHS reference before RHS in destructuring
...
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2019-02-15 23:38:57 +08:00
janekptacijarabaci
748c69d7fd
Part 1: Implement ES6 function name property semantics
...
Issue #78
2019-02-15 23:38:44 +08:00
janekptacijarabaci
e7ee7caf1e
Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
...
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:38 +08:00
wolfbeast
a8821a2177
Remove VerifyBarriers() and MaybeVerifyBarriers() stubs and callers.
2019-02-14 14:38:04 +08:00
Roy Tam
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00