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

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

Issue 2664083002: [ignition] desugar async functions/generators/modules in BytecodeGenerator
Patch Set: get rid of lambdas, for better or worse.. Created 3 years, 10 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..49f34ab37137b8dded7d0a978304c66dfa028c9a 100644
--- a/test/cctest/interpreter/bytecode_expectations/Modules.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Modules.golden
@@ -13,7 +13,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 131
+bytecode array length: 122
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -23,7 +23,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(JumpIfTrue), U8(54),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -35,26 +35,21 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 13 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -85,7 +80,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 131
+bytecode array length: 122
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -95,7 +90,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(JumpIfTrue), U8(54),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -107,26 +102,21 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 24 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -159,7 +149,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 201
+bytecode array length: 192
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -169,7 +159,7 @@ bytecodes: [
B(Star), R(2),
B(LdaZero),
B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(63),
+ B(JumpIfTrue), U8(54),
B(LdaSmi), I8(78),
B(Star), R(4),
B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
@@ -181,26 +171,21 @@ bytecodes: [
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(5),
B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
B(LdaZero),
- B(SuspendGenerator), R(5),
+ B(SuspendGenerator), R(4),
B(Ldar), R(4),
/* 64 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
B(Star), R(7),
B(LdaZero),
B(TestEqualStrict), R(7), U8(0),
@@ -265,7 +250,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 166
+bytecode array length: 157
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -275,7 +260,7 @@ bytecodes: [
B(Star), R(2),
B(LdaZero),
B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(63),
+ B(JumpIfTrue), U8(54),
B(LdaSmi), I8(78),
B(Star), R(4),
B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
@@ -287,26 +272,21 @@ bytecodes: [
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(5),
B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
B(LdaZero),
- B(SuspendGenerator), R(5),
+ B(SuspendGenerator), R(4),
B(Ldar), R(4),
/* 49 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
B(Star), R(7),
B(LdaZero),
B(TestEqualStrict), R(7), U8(0),
@@ -356,7 +336,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 170
+bytecode array length: 161
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -366,7 +346,7 @@ bytecodes: [
B(Star), R(2),
B(LdaZero),
B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(67),
+ B(JumpIfTrue), U8(58),
B(LdaSmi), I8(78),
B(Star), R(4),
B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
@@ -378,28 +358,23 @@ bytecodes: [
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(5),
B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
B(LdaZero),
- B(SuspendGenerator), R(5),
+ B(SuspendGenerator), R(4),
B(Ldar), R(4),
/* 49 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
B(Star), R(7),
B(LdaZero),
B(TestEqualStrict), R(7), U8(0),
@@ -449,7 +424,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 174
+bytecode array length: 165
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -459,7 +434,7 @@ bytecodes: [
B(Star), R(2),
B(LdaZero),
B(TestEqualStrict), R(2), U8(0),
- B(JumpIfTrue), U8(67),
+ B(JumpIfTrue), U8(58),
B(LdaSmi), I8(78),
B(Star), R(4),
B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
@@ -471,28 +446,23 @@ bytecodes: [
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(5),
B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(4),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(5),
B(LdaZero),
- B(SuspendGenerator), R(5),
+ B(SuspendGenerator), R(4),
B(Ldar), R(4),
/* 51 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(2),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
B(Star), R(6),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
B(Star), R(7),
B(LdaZero),
B(TestEqualStrict), R(7), U8(0),
@@ -540,7 +510,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 142
+bytecode array length: 133
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -550,7 +520,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(67),
+ B(JumpIfTrue), U8(58),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -562,28 +532,23 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 32 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -617,7 +582,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 179
+bytecode array length: 170
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -627,7 +592,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(67),
+ B(JumpIfTrue), U8(58),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -639,28 +604,23 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 26 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -689,8 +649,8 @@ bytecodes: [
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(StaCurrentContextSlot), U8(5),
+ B(LdaCurrentContextSlot), U8(5),
/* 16 E> */ B(StaModuleVariable), I8(1), U8(0),
B(LdaUndefined),
/* 26 S> */ B(Return),
@@ -708,7 +668,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 131
+bytecode array length: 122
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -718,7 +678,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(JumpIfTrue), U8(54),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -730,26 +690,21 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 30 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -780,7 +735,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 131
+bytecode array length: 122
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -790,7 +745,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(63),
+ B(JumpIfTrue), U8(54),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -802,26 +757,21 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 19 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -853,7 +803,7 @@ snippet: "
"
frame size: 9
parameter count: 2
-bytecode array length: 170
+bytecode array length: 161
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -863,7 +813,7 @@ bytecodes: [
B(Star), R(1),
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
- B(JumpIfTrue), U8(73),
+ B(JumpIfTrue), U8(64),
B(LdaSmi), I8(78),
B(Star), R(3),
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
@@ -875,30 +825,25 @@ bytecodes: [
B(Mov), R(closure), R(4),
B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), 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),
+ B(StaCurrentContextSlot), U8(5),
/* 0 E> */ B(StackCheck),
- B(LdaCurrentContextSlot), U8(4),
- B(Star), R(4),
B(Mov), R(closure), R(3),
+ B(Mov), R(this), R(4),
/* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8(2),
- B(StaCurrentContextSlot), U8(5),
+ B(StaCurrentContextSlot), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(5),
- B(Star), R(4),
B(LdaZero),
- B(SuspendGenerator), R(4),
+ B(SuspendGenerator), R(3),
B(Ldar), R(3),
/* 45 S> */ B(Return),
B(LdaSmi), I8(-2),
B(Star), R(1),
- B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3), U8(1),
B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8(1),
+ B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8(1),
B(Star), R(6),
B(LdaZero),
B(TestEqualStrict), R(6), U8(0),
@@ -914,13 +859,13 @@ bytecodes: [
/* 45 S> */ B(Return),
B(Ldar), R(5),
/* 0 E> */ B(Throw),
- /* 27 S> */ B(LdaCurrentContextSlot), U8(6),
+ /* 27 S> */ B(LdaCurrentContextSlot), U8(5),
B(Star), R(4),
/* 30 E> */ B(LdaNamedProperty), R(4), U8(1), U8(4),
B(Star), R(3),
- B(LdaCurrentContextSlot), U8(6),
+ B(LdaCurrentContextSlot), U8(5),
B(Star), R(5),
- B(LdaCurrentContextSlot), U8(6),
+ B(LdaCurrentContextSlot), U8(5),
B(Star), R(6),
/* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6),
B(Star), R(6),

Powered by Google App Engine
This is Rietveld 408576698