Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: test/cctest/interpreter/bytecode_expectations/Modules.golden

Issue 2654423004: [async-functions] support await expressions in finally statements (Closed)
Patch Set: I'd like to build with -Wunused-variables locally, but how!? Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/interpreter/bytecode_expectations/Modules.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Modules.golden b/test/cctest/interpreter/bytecode_expectations/Modules.golden
index c6d6a24cdf7c2540748f88581d6425eab04d3ab4..4145a0c6ee55a6b44f227acd00fd1f98bae8d897 100644
--- a/test/cctest/interpreter/bytecode_expectations/Modules.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Modules.golden
@@ -11,64 +11,60 @@ top level: yes
snippet: "
import \"bar\";
"
-frame size: 9
+frame size: 10
parameter count: 2
-bytecode array length: 131
+bytecode array length: 123
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 13 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 13 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
B(LdaUndefined),
/* 13 S> */ B(Return),
@@ -83,64 +79,60 @@ handlers: [
snippet: "
import {foo} from \"bar\";
"
-frame size: 9
+frame size: 10
parameter count: 2
-bytecode array length: 131
+bytecode array length: 123
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 24 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 24 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
B(LdaUndefined),
/* 24 S> */ B(Return),
@@ -157,76 +149,72 @@ snippet: "
goo(42);
{ let x; { goo(42) } };
"
-frame size: 10
+frame size: 11
parameter count: 2
-bytecode array length: 201
+bytecode array length: 193
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(3),
+ B(PushContext), R(4),
B(ResumeGenerator), R(new_target),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaZero),
- B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(63),
+ B(TestEqualStrict), R(3), U8(0),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(78),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
+ B(Star), R(5),
+ B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaConstant), U8(0),
- B(Star), R(6),
- B(Mov), R(arg0), R(4),
- B(Mov), R(closure), R(5),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
+ B(Star), R(7),
+ B(Mov), R(arg0), R(5),
+ B(Mov), R(closure), R(6),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(5), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(5),
- B(Mov), R(closure), R(4),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
+ B(LdaUndefined),
+ B(Star), R(2),
+ B(Mov), R(closure), R(5),
+ B(Mov), R(this), R(6),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2),
+ B(Star), R(2),
B(LdaZero),
- B(SuspendGenerator), R(5),
- B(Ldar), R(4),
+ B(SuspendGenerator), R(2),
+ B(Ldar), R(2),
/* 64 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(Star), R(3),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(2), U8(1),
B(Star), R(7),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(2), U8(1),
+ B(Star), R(8),
B(LdaZero),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(9),
- B(Mov), R(6), R(8),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
+ B(Star), R(10),
+ B(Mov), R(7), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2),
/* 64 S> */ B(Return),
- B(Ldar), R(6),
+ B(Ldar), R(7),
/* 0 E> */ B(Throw),
/* 32 S> */ B(LdaUndefined),
- B(Star), R(5),
+ B(Star), R(8),
/* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(1),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
- B(Star), R(4),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(9), U8(1),
+ B(Star), R(7),
B(LdaSmi), I8(42),
- B(Star), R(6),
- /* 32 E> */ B(Call), R(4), R(5), U8(2), U8(2),
+ B(Star), R(9),
+ /* 32 E> */ B(Call), R(7), R(8), U8(2), U8(2),
B(Ldar), R(closure),
B(CreateBlockContext), U8(2),
B(PushContext), R(1),
@@ -235,16 +223,16 @@ bytecodes: [
/* 47 S> */ B(LdaUndefined),
/* 47 E> */ B(StaCurrentContextSlot), U8(4),
/* 52 S> */ B(LdaUndefined),
- B(Star), R(5),
+ B(Star), R(8),
/* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(1),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
- B(Star), R(4),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(9), U8(1),
+ B(Star), R(7),
B(LdaSmi), I8(42),
- B(Star), R(6),
- /* 52 E> */ B(Call), R(4), R(5), U8(2), U8(4),
+ B(Star), R(9),
+ /* 52 E> */ B(Call), R(7), R(8), U8(2), U8(4),
B(PopContext), R(1),
B(LdaUndefined),
/* 64 S> */ B(Return),
@@ -263,64 +251,60 @@ snippet: "
foo++;
{ let x; { foo++ } };
"
-frame size: 10
+frame size: 11
parameter count: 2
-bytecode array length: 166
+bytecode array length: 158
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(3),
+ B(PushContext), R(4),
B(ResumeGenerator), R(new_target),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaZero),
- B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(63),
+ B(TestEqualStrict), R(3), U8(0),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(78),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
+ B(Star), R(5),
+ B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaConstant), U8(0),
- B(Star), R(6),
- B(Mov), R(arg0), R(4),
- B(Mov), R(closure), R(5),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
+ B(Star), R(7),
+ B(Mov), R(arg0), R(5),
+ B(Mov), R(closure), R(6),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(5), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(5),
- B(Mov), R(closure), R(4),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
+ B(LdaUndefined),
+ B(Star), R(2),
+ B(Mov), R(closure), R(5),
+ B(Mov), R(this), R(6),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2),
+ B(Star), R(2),
B(LdaZero),
- B(SuspendGenerator), R(5),
- B(Ldar), R(4),
+ B(SuspendGenerator), R(2),
+ B(Ldar), R(2),
/* 49 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(Star), R(3),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(2), U8(1),
B(Star), R(7),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(2), U8(1),
+ B(Star), R(8),
B(LdaZero),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(9),
- B(Mov), R(6), R(8),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
+ B(Star), R(10),
+ B(Mov), R(7), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2),
/* 49 S> */ B(Return),
- B(Ldar), R(6),
+ B(Ldar), R(7),
/* 0 E> */ B(Throw),
/* 17 S> */ B(LdaSmi), I8(42),
/* 17 E> */ B(StaModuleVariable), I8(1), U8(0),
@@ -354,66 +338,62 @@ snippet: "
foo++;
{ let x; { foo++ } };
"
-frame size: 10
+frame size: 11
parameter count: 2
-bytecode array length: 170
+bytecode array length: 162
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(3),
+ B(PushContext), R(4),
B(ResumeGenerator), R(new_target),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaZero),
- B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(67),
+ B(TestEqualStrict), R(3), U8(0),
+ B(JumpIfTrue), U8(59),
B(LdaSmi), I8(78),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
+ B(Star), R(5),
+ B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaConstant), U8(0),
- B(Star), R(6),
- B(Mov), R(arg0), R(4),
- B(Mov), R(closure), R(5),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
+ B(Star), R(7),
+ B(Mov), R(arg0), R(5),
+ B(Mov), R(closure), R(6),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(5), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
B(LdaTheHole),
B(StaModuleVariable), I8(1), U8(0),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(5),
- B(Mov), R(closure), R(4),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
+ B(LdaUndefined),
+ B(Star), R(2),
+ B(Mov), R(closure), R(5),
+ B(Mov), R(this), R(6),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2),
+ B(Star), R(2),
B(LdaZero),
- B(SuspendGenerator), R(5),
- B(Ldar), R(4),
+ B(SuspendGenerator), R(2),
+ B(Ldar), R(2),
/* 49 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(Star), R(3),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(2), U8(1),
B(Star), R(7),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(2), U8(1),
+ B(Star), R(8),
B(LdaZero),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(9),
- B(Mov), R(6), R(8),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
+ B(Star), R(10),
+ B(Mov), R(7), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2),
/* 49 S> */ B(Return),
- B(Ldar), R(6),
+ B(Ldar), R(7),
/* 0 E> */ B(Throw),
/* 17 S> */ B(LdaSmi), I8(42),
/* 17 E> */ B(StaModuleVariable), I8(1), U8(0),
@@ -447,66 +427,62 @@ snippet: "
foo++;
{ let x; { foo++ } };
"
-frame size: 10
+frame size: 11
parameter count: 2
-bytecode array length: 174
+bytecode array length: 166
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(3),
+ B(PushContext), R(4),
B(ResumeGenerator), R(new_target),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaZero),
- B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(67),
+ B(TestEqualStrict), R(3), U8(0),
+ B(JumpIfTrue), U8(59),
B(LdaSmi), I8(78),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
+ B(Star), R(5),
+ B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(2),
+ B(Star), R(3),
B(LdaConstant), U8(0),
- B(Star), R(6),
- B(Mov), R(arg0), R(4),
- B(Mov), R(closure), R(5),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
+ B(Star), R(7),
+ B(Mov), R(arg0), R(5),
+ B(Mov), R(closure), R(6),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(5), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
B(LdaTheHole),
B(StaModuleVariable), I8(1), U8(0),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(5),
- B(Mov), R(closure), R(4),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
+ B(LdaUndefined),
+ B(Star), R(2),
+ B(Mov), R(closure), R(5),
+ B(Mov), R(this), R(6),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8(2),
+ B(Star), R(2),
B(LdaZero),
- B(SuspendGenerator), R(5),
- B(Ldar), R(4),
+ B(SuspendGenerator), R(2),
+ B(Ldar), R(2),
/* 51 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(Star), R(3),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(2), U8(1),
B(Star), R(7),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(2), U8(1),
+ B(Star), R(8),
B(LdaZero),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(7), U8(0),
+ B(TestEqualStrict), R(8), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(9),
- B(Mov), R(6), R(8),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
+ B(Star), R(10),
+ B(Mov), R(7), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2),
/* 51 S> */ B(Return),
- B(Ldar), R(6),
+ B(Ldar), R(7),
/* 0 E> */ B(Throw),
/* 19 S> */ B(LdaSmi), I8(42),
/* 19 E> */ B(StaModuleVariable), I8(1), U8(0),
@@ -538,66 +514,62 @@ handlers: [
snippet: "
export default (function () {});
"
-frame size: 9
+frame size: 10
parameter count: 2
-bytecode array length: 142
+bytecode array length: 134
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(67),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(59),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
B(LdaTheHole),
B(StaModuleVariable), I8(1), U8(0),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 32 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 32 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
B(CreateClosure), U8(1), U8(2), U8(0),
B(StaModuleVariable), I8(1), U8(0),
@@ -615,82 +587,78 @@ handlers: [
snippet: "
export default (class {});
"
-frame size: 9
+frame size: 11
parameter count: 2
-bytecode array length: 179
+bytecode array length: 171
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(67),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(59),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
B(LdaTheHole),
B(StaModuleVariable), I8(1), U8(0),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 26 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 26 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
/* 16 S> */ B(CreateClosure), U8(1), U8(2), U8(0),
- B(Star), R(3),
+ B(Star), R(6),
B(LdaTheHole),
- B(Star), R(4),
+ B(Star), R(7),
B(LdaSmi), I8(16),
- B(Star), R(6),
+ B(Star), R(9),
B(LdaSmi), I8(24),
+ B(Star), R(10),
+ B(Mov), R(6), R(8),
+ B(CallRuntime), U16(Runtime::kDefineClass), R(7), U8(4),
B(Star), R(7),
- B(Mov), R(3), R(5),
- B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U8(1),
- B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
- B(StaCurrentContextSlot), U8(6),
- B(LdaCurrentContextSlot), U8(6),
+ B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(6), U8(1),
+ B(CallRuntime), U16(Runtime::kToFastProperties), R(6), U8(1),
+ B(StaCurrentContextSlot), U8(4),
+ B(LdaCurrentContextSlot), U8(4),
/* 16 E> */ B(StaModuleVariable), I8(1), U8(0),
B(LdaUndefined),
/* 26 S> */ B(Return),
@@ -706,64 +674,60 @@ handlers: [
snippet: "
export {foo as goo} from \"bar\"
"
-frame size: 9
+frame size: 10
parameter count: 2
-bytecode array length: 131
+bytecode array length: 123
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 30 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 30 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
B(LdaUndefined),
/* 30 S> */ B(Return),
@@ -778,64 +742,60 @@ handlers: [
snippet: "
export * from \"bar\"
"
-frame size: 9
+frame size: 10
parameter count: 2
-bytecode array length: 131
+bytecode array length: 123
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 19 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 19 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
B(LdaUndefined),
/* 19 S> */ B(Return),
@@ -851,80 +811,76 @@ snippet: "
import * as foo from \"bar\"
foo.f(foo, foo.x);
"
-frame size: 9
+frame size: 10
parameter count: 2
-bytecode array length: 170
+bytecode array length: 162
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(2),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaZero),
- B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(73),
+ B(TestEqualStrict), R(2), U8(0),
+ B(JumpIfTrue), U8(65),
B(LdaSmi), I8(78),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), I8(-2),
- B(Star), R(1),
+ B(Star), R(2),
B(LdaConstant), U8(0),
- B(Star), R(5),
- B(Mov), R(arg0), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
+ B(Star), R(6),
+ B(Mov), R(arg0), R(4),
+ B(Mov), R(closure), R(5),
+ B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
B(PushContext), R(0),
- B(Ldar), R(this),
- B(StaCurrentContextSlot), U8(4),
B(LdaZero),
- B(Star), R(3),
- B(CallRuntime), U16(Runtime::kGetModuleNamespace), R(3), U8(1),
- B(StaCurrentContextSlot), U8(6),
- /* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
- B(Mov), R(closure), R(3),
- /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kGetModuleNamespace), R(4), U8(1),
+ B(StaCurrentContextSlot), U8(4),
+ /* 0 E> */ B(StackCheck),
+ B(LdaUndefined),
+ B(Star), R(1),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
+ B(Star), R(1),
B(LdaZero),
- B(SuspendGenerator), R(4),
- B(Ldar), R(3),
+ B(SuspendGenerator), R(1),
+ B(Ldar), R(1),
/* 45 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(Star), R(2),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1), U8(1),
B(Star), R(6),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(1), U8(1),
+ B(Star), R(7),
B(LdaZero),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(25),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(0),
+ B(TestEqualStrict), R(7), U8(0),
B(JumpIfTrue), U8(15),
B(Jump), U8(2),
B(LdaTrue),
- B(Star), R(8),
- B(Mov), R(5), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(9),
+ B(Mov), R(6), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
/* 45 S> */ B(Return),
- B(Ldar), R(5),
+ B(Ldar), R(6),
/* 0 E> */ B(Throw),
- /* 27 S> */ B(LdaCurrentContextSlot), U8(6),
- B(Star), R(4),
- /* 30 E> */ B(LdaNamedProperty), R(4), U8(1), U8(4),
- B(Star), R(3),
- B(LdaCurrentContextSlot), U8(6),
- B(Star), R(5),
- B(LdaCurrentContextSlot), U8(6),
- B(Star), R(6),
- /* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6),
+ /* 27 S> */ B(LdaCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ /* 30 E> */ B(LdaNamedProperty), R(7), U8(1), U8(4),
B(Star), R(6),
- /* 31 E> */ B(CallProperty), R(3), R(4), U8(3), U8(2),
+ B(LdaCurrentContextSlot), U8(4),
+ B(Star), R(8),
+ B(LdaCurrentContextSlot), U8(4),
+ B(Star), R(9),
+ /* 41 E> */ B(LdaNamedProperty), R(9), U8(2), U8(6),
+ B(Star), R(9),
+ /* 31 E> */ B(CallProperty), R(6), R(7), U8(3), U8(2),
B(LdaUndefined),
/* 45 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698