| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
This reverts commit bb31c1c65e8b7fcdd3a1d6b80a4fe4c1f5b3d10a.
|
|
|
|
|
|
| |
This seems to work around the problem with the compiled code stack for in-line
declared JS module code. Not optimal, for sure, but better than having to kill
Ion compilation outright.
|
|
|
|
|
|
| |
with a script"
This reverts commit 15914ec5780e7867ab508a48a83311c56950f8a9.
|
|
|
|
|
|
| |
or module.
This is a prerequisite for dynamic import
|
| |
|
|
|
|
|
|
| |
{yieldAndAwaitIndex,yieldAndAwaitOffset}.
Tag #1287
|
|
|
|
|
|
| |
method.
Tag #1287
|
|
|
|
|
| |
Because of the wacko way we handle toString offsets for class default constructors, those offsets cannot be recovered if we relazify the functions.
Luckily there's no reason to relazify them, their JSScripts are very small: either a single 'retrval' for non-derived, and still fairly small for derived.
|
|
|
|
| |
toStringEnd and misc fixes.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
UXP Interdiff
|
| |
|
| |
|
| |
|
|
|
|
| |
Tag #960
|
|
|
|
|
|
| |
try statements inside for-of
Issue #74
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Issue #74
|
|
|
|
| |
Issue #74
|
|
|
|
|
|
| |
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
|
| |
|
|
|