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

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

Issue 2902423002: Revert of Make non-Module generators only context allocate parameters. (Closed)
Patch Set: Created 3 years, 7 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/Generators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden
index e175343d3f5805dfdf80c96525039a91f847b70e..84f9ed700db5ec735bee62cc7bc1fc2793228e33 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -13,7 +13,7 @@
"
frame size: 11
parameter count: 1
-bytecode array length: 163
+bytecode array length: 173
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(25),
@@ -27,15 +27,19 @@
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
B(LdaSmi), I8(-2),
B(Star), R(1),
+ B(CreateFunctionContext), U8(1),
+ B(PushContext), R(0),
B(Mov), R(closure), R(3),
B(Mov), R(this), R(4),
B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(3), U8(2),
- B(Star), R(0),
+ B(StaCurrentContextSlot), U8(4),
/* 11 E> */ B(StackCheck),
B(Mov), R(context), R(5),
- B(LdaZero),
- B(Mov), R(0), R(7),
- B(Mov), R(0), R(6),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(6),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(LdaZero),
/* 11 E> */ B(SuspendGenerator), R(6), U8(0),
B(Ldar), R(7),
/* 16 S> */ B(Return),
@@ -79,7 +83,9 @@
B(LdaTheHole),
B(SetPendingMessage),
B(Star), R(5),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(0), U8(1),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(6),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(6), U8(1),
B(Ldar), R(5),
B(SetPendingMessage),
B(Ldar), R(3),
@@ -93,12 +99,12 @@
/* 16 S> */ B(Return),
]
constant pool: [
- Smi [46],
+ Smi [52],
Smi [6],
Smi [9],
]
handlers: [
- [47, 124, 130],
+ [51, 130, 136],
]
---
@@ -108,7 +114,7 @@
"
frame size: 11
parameter count: 1
-bytecode array length: 234
+bytecode array length: 245
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(25),
@@ -122,15 +128,19 @@
B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
B(LdaSmi), I8(-2),
B(Star), R(1),
+ B(CreateFunctionContext), U8(1),
+ B(PushContext), R(0),
B(Mov), R(closure), R(3),
B(Mov), R(this), R(4),
B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(3), U8(2),
- B(Star), R(0),
+ B(StaCurrentContextSlot), U8(4),
/* 11 E> */ B(StackCheck),
B(Mov), R(context), R(5),
- B(LdaZero),
- B(Mov), R(0), R(7),
- B(Mov), R(0), R(6),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(6),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(LdaZero),
/* 11 E> */ B(SuspendGenerator), R(6), U8(0),
B(Ldar), R(7),
/* 25 S> */ B(Return),
@@ -153,17 +163,18 @@
B(Star), R(4),
B(LdaZero),
B(Star), R(3),
- B(Jump), U8(105),
+ B(Jump), U8(106),
B(Ldar), R(7),
/* 11 E> */ B(Throw),
- /* 16 S> */ B(LdaSmi), I8(42),
+ /* 16 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(6),
+ B(LdaSmi), I8(42),
B(Star), R(7),
B(LdaFalse),
B(Star), R(8),
/* 16 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
B(Star), R(7),
B(LdaSmi), I8(1),
- B(Mov), R(0), R(6),
B(SuspendGenerator), R(6), U8(0),
B(Ldar), R(7),
/* 25 S> */ B(Return),
@@ -207,7 +218,9 @@
B(LdaTheHole),
B(SetPendingMessage),
B(Star), R(5),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(0), U8(1),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(6),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(6), U8(1),
B(Ldar), R(5),
B(SetPendingMessage),
B(Ldar), R(3),
@@ -221,13 +234,13 @@
/* 25 S> */ B(Return),
]
constant pool: [
- Smi [46],
- Smi [117],
+ Smi [52],
+ Smi [124],
Smi [6],
Smi [9],
]
handlers: [
- [47, 195, 201],
+ [51, 202, 208],
]
---
@@ -235,265 +248,318 @@
function* f() { for (let x of [42]) yield x }
f();
"
-frame size: 25
+frame size: 17
parameter count: 1
-bytecode array length: 529
+bytecode array length: 677
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(25),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(12),
+ B(PushContext), R(4),
B(ResumeGenerator), R(new_target),
- B(Star), R(11),
+ B(Star), R(3),
B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
B(LdaSmi), I8(79),
- B(Star), R(13),
- B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1),
- B(LdaSmi), I8(-2),
- B(Star), R(11),
- B(Mov), R(closure), R(13),
- B(Mov), R(this), R(14),
- B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(13), U8(2),
- B(Star), R(2),
+ B(Star), R(5),
+ B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
+ B(LdaSmi), I8(-2),
+ B(Star), R(3),
+ B(CreateFunctionContext), U8(8),
+ B(PushContext), R(0),
+ B(Mov), R(closure), R(5),
+ B(Mov), R(this), R(6),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5), U8(2),
+ B(StaCurrentContextSlot), U8(4),
/* 11 E> */ B(StackCheck),
- B(Mov), R(context), R(15),
- B(LdaZero),
- B(Mov), R(2), R(17),
- B(Mov), R(2), R(16),
- /* 11 E> */ B(SuspendGenerator), R(16), U8(0),
- B(Ldar), R(17),
+ B(Mov), R(context), R(7),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(8),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(9),
+ B(LdaZero),
+ /* 11 E> */ B(SuspendGenerator), R(8), U8(0),
+ B(Ldar), R(9),
/* 44 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(11),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(16), U8(1),
- B(Star), R(17),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(16), U8(1),
- B(Star), R(18),
- B(LdaZero),
- B(TestEqualStrictNoFeedback), R(18),
+ B(Star), R(3),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(8), U8(1),
+ B(Star), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(8), U8(1),
+ B(Star), R(10),
+ B(LdaZero),
+ B(TestEqualStrictNoFeedback), R(10),
B(JumpIfTrue), U8(28),
B(LdaSmi), I8(2),
- B(TestEqualStrictNoFeedback), R(18),
+ B(TestEqualStrictNoFeedback), R(10),
B(JumpIfTrue), U8(19),
B(LdaTrue),
- B(Star), R(20),
- B(Mov), R(17), R(19),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(19), U8(2),
- B(Star), R(14),
- B(LdaZero),
+ B(Star), R(12),
+ B(Mov), R(9), R(11),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11), U8(2),
+ B(Star), R(6),
+ B(LdaZero),
+ B(Star), R(5),
+ B(JumpConstant), U8(17),
+ B(Ldar), R(9),
+ /* 11 E> */ B(Throw),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(2),
+ B(PushContext), R(1),
+ B(LdaTheHole),
+ B(StaCurrentContextSlot), U8(4),
+ B(LdaZero),
+ B(StaContextSlot), R(1), U8(8), U8(0),
+ B(Mov), R(context), R(10),
+ B(Mov), R(context), R(11),
+ /* 30 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17),
+ B(Star), R(12),
+ B(LdaNamedProperty), R(12), U8(4), U8(4),
B(Star), R(13),
- B(JumpConstant), U8(15),
- B(Ldar), R(17),
- /* 11 E> */ B(Throw),
- B(LdaZero),
- B(Star), R(6),
- B(Mov), R(context), R(18),
- B(Mov), R(context), R(19),
- /* 30 S> */ B(CreateArrayLiteral), U8(2), U8(3), U8(17),
- B(Star), R(20),
- B(LdaNamedProperty), R(20), U8(3), U8(4),
- B(Star), R(21),
- B(CallProperty0), R(21), R(20), U8(6),
+ B(CallProperty0), R(13), R(12), U8(6),
B(JumpIfJSReceiver), U8(7),
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
- B(Star), R(4),
- B(Ldar), R(11),
- B(SwitchOnSmiNoFeedback), U8(4), U8(1), I8(1),
- B(LdaSmi), I8(-2),
- /* 30 E> */ B(TestEqualStrictNoFeedback), R(11),
+ /* 30 E> */ B(StaContextSlot), R(1), U8(6), U8(0),
+ B(Ldar), R(3),
+ B(SwitchOnSmiNoFeedback), U8(5), U8(1), I8(1),
+ B(LdaSmi), I8(-2),
+ B(TestEqualStrictNoFeedback), R(3),
B(JumpIfTrue), U8(11),
B(LdaSmi), I8(79),
- B(Star), R(20),
- B(CallRuntime), U16(Runtime::kAbort), R(20), U8(1),
- /* 25 S> */ B(LdaNamedProperty), R(4), U8(5), U8(10),
- B(Star), R(20),
- B(CallProperty0), R(20), R(4), U8(8),
- B(Star), R(5),
- /* 25 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
+ B(Star), R(12),
+ B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
+ /* 25 S> */ B(LdaContextSlot), R(1), U8(6), U8(0),
+ B(Star), R(13),
+ B(LdaNamedProperty), R(13), U8(6), U8(10),
+ B(Star), R(12),
+ B(CallProperty0), R(12), R(13), U8(8),
+ /* 25 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
+ B(Star), R(12),
+ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
B(ToBooleanLogicalNot),
- B(JumpIfFalse), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(5), U8(1),
- B(LdaNamedProperty), R(5), U8(6), U8(12),
- B(JumpIfToBooleanTrue), U8(95),
- B(LdaNamedProperty), R(5), U8(7), U8(14),
- B(Star), R(7),
+ B(JumpIfFalse), U8(13),
+ B(LdaContextSlot), R(1), U8(7), U8(0),
+ B(Star), R(12),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1),
+ B(LdaContextSlot), R(1), U8(7), U8(0),
+ B(Star), R(12),
+ B(LdaNamedProperty), R(12), U8(7), U8(12),
+ B(JumpIfToBooleanTrue), U8(132),
+ B(LdaContextSlot), R(1), U8(7), U8(0),
+ B(Star), R(12),
+ B(LdaNamedProperty), R(12), U8(8), U8(14),
+ B(StaContextSlot), R(1), U8(9), U8(0),
B(LdaSmi), I8(2),
- B(Star), R(6),
- B(Mov), R(7), R(3),
+ B(StaContextSlot), R(1), U8(8), U8(0),
+ B(LdaContextSlot), R(1), U8(9), U8(0),
+ B(StaContextSlot), R(1), U8(5), U8(0),
/* 16 E> */ B(StackCheck),
- B(Mov), R(3), R(0),
- /* 36 S> */ B(LdaFalse),
- B(Star), R(22),
- B(Mov), R(3), R(21),
- /* 42 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(21), U8(2),
- B(Star), R(21),
- B(LdaSmi), I8(1),
- B(Mov), R(2), R(20),
- B(SuspendGenerator), R(20), U8(0),
- B(Ldar), R(21),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(9),
+ B(PushContext), R(2),
+ B(LdaTheHole),
+ B(StaCurrentContextSlot), U8(4),
+ B(LdaContextSlot), R(1), U8(5), U8(0),
+ B(StaCurrentContextSlot), U8(4),
+ /* 36 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
+ B(Star), R(12),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(13),
+ B(LdaFalse),
+ B(Star), R(14),
+ /* 42 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(13), U8(2),
+ B(Star), R(13),
+ B(LdaSmi), I8(1),
+ B(SuspendGenerator), R(12), U8(0),
+ B(Ldar), R(13),
/* 44 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(11),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(20), U8(1),
- B(Star), R(21),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(20), U8(1),
- B(Star), R(22),
- B(LdaZero),
- B(TestEqualStrictNoFeedback), R(22),
- B(JumpIfTrue), U8(28),
+ B(Star), R(3),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
+ B(Star), R(13),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12), U8(1),
+ B(Star), R(14),
+ B(LdaZero),
+ B(TestEqualStrictNoFeedback), R(14),
+ B(JumpIfTrue), U8(30),
B(LdaSmi), I8(2),
- B(TestEqualStrictNoFeedback), R(22),
- B(JumpIfTrue), U8(19),
- B(LdaTrue),
- B(Star), R(24),
- B(Mov), R(21), R(23),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(23), U8(2),
- B(Star), R(17),
- B(LdaZero),
+ B(TestEqualStrictNoFeedback), R(14),
+ B(JumpIfTrue), U8(21),
+ B(LdaTrue),
B(Star), R(16),
- B(Jump), U8(59),
- B(Ldar), R(21),
+ B(Mov), R(13), R(15),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15), U8(2),
+ B(PopContext), R(2),
+ B(Star), R(9),
+ B(LdaZero),
+ B(Star), R(8),
+ B(Jump), U8(71),
+ B(Ldar), R(13),
/* 36 E> */ B(Throw),
- B(LdaZero),
- B(Star), R(6),
- B(JumpLoop), U8(141), I8(0),
- B(Jump), U8(36),
- B(Star), R(20),
+ B(PopContext), R(2),
+ B(LdaZero),
+ B(StaContextSlot), R(1), U8(8), U8(0),
+ B(JumpLoop), U8(200), I8(0),
+ B(Jump), U8(44),
+ B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(20), U8(8), U8(9),
- B(PushContext), R(10),
- B(Star), R(19),
+ B(CreateCatchContext), R(12), U8(10), U8(11),
+ B(PushContext), R(2),
+ B(Star), R(11),
+ B(LdaContextSlot), R(1), U8(8), U8(0),
+ B(Star), R(12),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(6), U8(16),
- B(JumpIfFalse), U8(6),
- B(LdaSmi), I8(1),
- B(Star), R(6),
- B(LdaImmutableCurrentContextSlot), U8(4),
- B(Star), R(20),
- B(CallRuntime), U16(Runtime::kReThrow), R(20), U8(1),
- B(PopContext), R(10),
+ B(TestEqualStrict), R(12), U8(16),
+ B(JumpIfFalse), U8(8),
+ B(LdaSmi), I8(1),
+ B(StaContextSlot), R(1), U8(8), U8(0),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(12),
+ B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
+ B(PopContext), R(2),
B(LdaSmi), I8(-1),
- B(Star), R(16),
+ B(Star), R(8),
B(Jump), U8(8),
- B(Star), R(17),
- B(LdaSmi), I8(1),
- B(Star), R(16),
+ B(Star), R(9),
+ B(LdaSmi), I8(1),
+ B(Star), R(8),
B(LdaTheHole),
B(SetPendingMessage),
- B(Star), R(18),
- B(LdaZero),
- B(TestEqualStrict), R(6), U8(17),
- B(JumpIfTrue), U8(104),
- B(LdaNamedProperty), R(4), U8(10), U8(18),
- B(Star), R(8),
+ B(Star), R(10),
+ B(LdaContextSlot), R(1), U8(8), U8(0),
+ B(Star), R(11),
+ B(LdaZero),
+ B(TestEqualStrict), R(11), U8(17),
+ B(JumpIfTrue), U8(150),
+ B(LdaContextSlot), R(1), U8(6), U8(0),
+ B(Star), R(11),
+ B(LdaNamedProperty), R(11), U8(12), U8(18),
+ B(StaContextSlot), R(1), U8(10), U8(0),
+ B(LdaContextSlot), R(1), U8(10), U8(0),
B(TestUndetectable),
B(JumpIfFalse), U8(4),
- B(Jump), U8(93),
- B(LdaSmi), I8(1),
- B(TestEqualStrict), R(6), U8(21),
- B(JumpIfFalse), U8(61),
- B(Ldar), R(8),
+ B(Jump), U8(127),
+ B(LdaContextSlot), R(1), U8(8), U8(0),
+ B(Star), R(11),
+ B(LdaSmi), I8(1),
+ B(TestEqualStrict), R(11), U8(21),
+ B(JumpIfFalse), U8(69),
+ B(LdaContextSlot), R(1), U8(10), U8(0),
B(TestTypeOf), U8(5),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), I16(130),
- B(Star), R(19),
- B(LdaConstant), U8(11),
- B(Star), R(20),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(19), U8(2),
+ B(Star), R(11),
+ B(LdaConstant), U8(13),
+ B(Star), R(12),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
B(Throw),
- B(Mov), R(context), R(19),
- B(Mov), R(8), R(20),
- B(Mov), R(4), R(21),
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(20), U8(2),
+ B(Mov), R(context), R(11),
+ B(LdaContextSlot), R(1), U8(10), U8(0),
+ B(Star), R(12),
+ B(LdaContextSlot), R(1), U8(6), U8(0),
+ B(Star), R(13),
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
B(Jump), U8(20),
- B(Star), R(20),
+ B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(20), U8(8), U8(12),
- B(Star), R(19),
+ B(CreateCatchContext), R(12), U8(10), U8(14),
+ B(Star), R(11),
B(LdaTheHole),
B(SetPendingMessage),
- B(Ldar), R(19),
- B(PushContext), R(10),
- B(PopContext), R(10),
- B(Jump), U8(27),
- B(Mov), R(8), R(19),
- B(Mov), R(4), R(20),
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(19), U8(2),
- B(Star), R(9),
- B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1),
+ B(Ldar), R(11),
+ B(PushContext), R(2),
+ B(PopContext), R(2),
+ B(Jump), U8(47),
+ B(LdaContextSlot), R(1), U8(10), U8(0),
+ B(Star), R(11),
+ B(LdaContextSlot), R(1), U8(6), U8(0),
+ B(Star), R(12),
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2),
+ B(StaContextSlot), R(1), U8(11), U8(0),
+ B(LdaContextSlot), R(1), U8(11), U8(0),
+ B(Star), R(11),
+ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(9), U8(1),
- B(Ldar), R(18),
- B(SetPendingMessage),
- B(Ldar), R(16),
- B(SwitchOnSmiNoFeedback), U8(13), U8(2), I8(0),
- B(Jump), U8(19),
- B(LdaZero),
- B(Star), R(13),
- B(Mov), R(17), R(14),
- B(Jump), U8(40),
- B(LdaSmi), I8(1),
- B(Star), R(13),
- B(Mov), R(17), R(14),
- B(Jump), U8(31),
+ B(Jump), U8(13),
+ B(LdaContextSlot), R(1), U8(11), U8(0),
+ B(Star), R(11),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1),
+ B(Ldar), R(10),
+ B(SetPendingMessage),
+ B(Ldar), R(8),
+ B(SwitchOnSmiNoFeedback), U8(15), U8(2), I8(0),
+ B(Jump), U8(23),
+ B(PopContext), R(1),
+ B(LdaZero),
+ B(Star), R(5),
+ B(Mov), R(9), R(6),
+ B(Jump), U8(44),
+ B(PopContext), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(5),
+ B(Mov), R(9), R(6),
+ B(Jump), U8(33),
+ B(PopContext), R(1),
B(LdaUndefined),
- B(Star), R(16),
- B(LdaTrue),
- B(Star), R(17),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16), U8(2),
- B(Star), R(14),
- B(LdaZero),
- B(Star), R(13),
+ B(Star), R(8),
+ B(LdaTrue),
+ B(Star), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
+ B(Star), R(6),
+ B(LdaZero),
+ B(Star), R(5),
B(Jump), U8(14),
B(LdaSmi), I8(-1),
- B(Star), R(13),
+ B(Star), R(5),
B(Jump), U8(8),
- B(Star), R(14),
- B(LdaSmi), I8(1),
- B(Star), R(13),
+ B(Star), R(6),
+ B(LdaSmi), I8(1),
+ B(Star), R(5),
B(LdaTheHole),
B(SetPendingMessage),
- B(Star), R(15),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(2), U8(1),
- B(Ldar), R(15),
- B(SetPendingMessage),
- B(Ldar), R(13),
- B(SwitchOnSmiNoFeedback), U8(16), U8(2), I8(0),
+ B(Star), R(7),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(8), U8(1),
+ B(Ldar), R(7),
+ B(SetPendingMessage),
+ B(Ldar), R(5),
+ B(SwitchOnSmiNoFeedback), U8(18), U8(2), I8(0),
B(Jump), U8(8),
- B(Ldar), R(14),
+ B(Ldar), R(6),
/* 44 S> */ B(Return),
- B(Ldar), R(14),
+ B(Ldar), R(6),
B(ReThrow),
B(LdaUndefined),
/* 44 S> */ B(Return),
]
constant pool: [
- Smi [46],
- Smi [127],
+ Smi [52],
+ Smi [146],
+ FIXED_ARRAY_TYPE,
TUPLE2_TYPE,
SYMBOL_TYPE,
- Smi [89],
+ Smi [142],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
+ FIXED_ARRAY_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
FIXED_ARRAY_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
FIXED_ARRAY_TYPE,
Smi [6],
- Smi [14],
- Smi [400],
+ Smi [16],
+ Smi [538],
Smi [6],
Smi [9],
]
handlers: [
- [47, 490, 496],
- [113, 321, 327],
- [116, 285, 287],
- [388, 398, 400],
+ [51, 634, 640],
+ [130, 407, 413],
+ [133, 363, 365],
+ [500, 516, 518],
]
---
@@ -502,269 +568,332 @@
function* f() { yield* g() }
f();
"
-frame size: 20
+frame size: 12
parameter count: 1
-bytecode array length: 573
+bytecode array length: 679
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(25),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_target), U8(1),
- B(PushContext), R(11),
+ B(PushContext), R(3),
B(ResumeGenerator), R(new_target),
- B(Star), R(10),
+ B(Star), R(2),
B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
B(LdaSmi), I8(79),
- B(Star), R(12),
- B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
- B(LdaSmi), I8(-2),
- B(Star), R(10),
- B(Mov), R(closure), R(12),
- B(Mov), R(this), R(13),
- B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(12), U8(2),
- B(Star), R(0),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
+ B(LdaSmi), I8(-2),
+ B(Star), R(2),
+ B(CreateFunctionContext), U8(9),
+ B(PushContext), R(0),
+ B(Mov), R(closure), R(4),
+ B(Mov), R(this), R(5),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(4), U8(2),
+ B(StaCurrentContextSlot), U8(4),
/* 38 E> */ B(StackCheck),
- B(Mov), R(context), R(14),
- B(LdaZero),
- B(Mov), R(0), R(16),
- B(Mov), R(0), R(15),
- /* 38 E> */ B(SuspendGenerator), R(15), U8(0),
- B(Ldar), R(16),
+ B(Mov), R(context), R(6),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(8),
+ B(LdaZero),
+ /* 38 E> */ B(SuspendGenerator), R(7), U8(0),
+ B(Ldar), R(8),
/* 54 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(10),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(15), U8(1),
- B(Star), R(16),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(15), U8(1),
- B(Star), R(17),
- B(LdaZero),
- B(TestEqualStrictNoFeedback), R(17),
+ B(Star), R(2),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(7), U8(1),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(7), U8(1),
+ B(Star), R(9),
+ B(LdaZero),
+ B(TestEqualStrictNoFeedback), R(9),
B(JumpIfTrue), U8(28),
B(LdaSmi), I8(2),
- B(TestEqualStrictNoFeedback), R(17),
+ B(TestEqualStrictNoFeedback), R(9),
B(JumpIfTrue), U8(19),
B(LdaTrue),
- B(Star), R(19),
- B(Mov), R(16), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(18), U8(2),
- B(Star), R(13),
- B(LdaZero),
- B(Star), R(12),
- B(JumpConstant), U8(13),
- B(Ldar), R(16),
+ B(Star), R(11),
+ B(Mov), R(8), R(10),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10), U8(2),
+ B(Star), R(5),
+ B(LdaZero),
+ B(Star), R(4),
+ B(JumpConstant), U8(15),
+ B(Ldar), R(8),
/* 38 E> */ B(Throw),
/* 43 S> */ B(LdaUndefined),
- B(Star), R(1),
- B(LdaZero),
- B(Star), R(2),
+ B(StaCurrentContextSlot), U8(5),
+ B(LdaZero),
+ B(StaCurrentContextSlot), U8(6),
B(LdaUndefined),
- B(Star), R(3),
+ B(StaCurrentContextSlot), U8(7),
B(LdaGlobal), U8(2), U8(5),
- B(Star), R(17),
- /* 50 E> */ B(CallUndefinedReceiver0), R(17), U8(3),
- B(Star), R(15),
- B(LdaNamedProperty), R(15), U8(3), U8(7),
- B(Star), R(16),
- B(CallProperty0), R(16), R(15), U8(9),
+ B(Star), R(9),
+ /* 50 E> */ B(CallUndefinedReceiver0), R(9), U8(3),
+ B(Star), R(7),
+ B(LdaNamedProperty), R(7), U8(3), U8(7),
+ B(Star), R(8),
+ B(CallProperty0), R(8), R(7), U8(9),
B(JumpIfJSReceiver), U8(7),
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
- B(Star), R(4),
- B(Ldar), R(10),
+ B(StaCurrentContextSlot), U8(8),
+ B(Ldar), R(2),
B(SwitchOnSmiNoFeedback), U8(4), U8(1), I8(1),
B(LdaSmi), I8(-2),
- B(TestEqualStrictNoFeedback), R(10),
+ B(TestEqualStrictNoFeedback), R(2),
B(JumpIfTrue), U8(11),
B(LdaSmi), I8(79),
- B(Star), R(15),
- B(CallRuntime), U16(Runtime::kAbort), R(15), U8(1),
+ B(Star), R(7),
+ B(CallRuntime), U16(Runtime::kAbort), R(7), U8(1),
B(StackCheck),
- B(LdaZero),
- B(TestEqualStrict), R(2), U8(15),
- B(Mov), R(2), R(15),
+ B(LdaCurrentContextSlot), U8(6),
+ B(Star), R(7),
+ B(LdaZero),
+ B(TestEqualStrict), R(7), U8(15),
B(JumpIfTrue), U8(18),
B(LdaSmi), I8(1),
- B(TestEqualStrict), R(15), U8(19),
- B(JumpIfTrue), U8(39),
+ B(TestEqualStrict), R(7), U8(19),
+ B(JumpIfTrue), U8(55),
B(LdaSmi), I8(2),
- B(TestEqualStrict), R(15), U8(28),
- B(JumpIfTrue), U8(88),
- B(Jump), U8(246),
- B(LdaNamedProperty), R(4), U8(5), U8(13),
- B(Star), R(16),
- B(CallProperty1), R(16), R(4), R(1), U8(11),
- B(Star), R(3),
- B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
+ B(TestEqualStrict), R(7), U8(28),
+ B(JumpIfTrue), U8(122),
+ B(JumpConstant), U8(11),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(9),
+ B(LdaNamedProperty), R(9), U8(5), U8(13),
+ B(Star), R(8),
+ B(LdaCurrentContextSlot), U8(5),
+ B(Star), R(10),
+ B(CallProperty1), R(8), R(9), R(10), U8(11),
+ B(StaCurrentContextSlot), U8(7),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(8), U8(1),
B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(3), U8(1),
- B(Jump), U8(218),
- B(LdaNamedProperty), R(4), U8(6), U8(16),
- B(Star), R(3),
+ B(Jump), U8(11),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(8), U8(1),
+ B(JumpConstant), U8(12),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(8),
+ B(LdaNamedProperty), R(8), U8(6), U8(16),
+ B(StaCurrentContextSlot), U8(7),
+ B(LdaCurrentContextSlot), U8(7),
B(TestUndetectable),
- B(JumpIfFalse), U8(19),
- B(LdaTrue),
- B(Star), R(17),
- B(Mov), R(1), R(16),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16), U8(2),
- B(Star), R(13),
- B(LdaZero),
- B(Star), R(12),
- B(JumpConstant), U8(14),
- B(Mov), R(3), R(16),
- B(Mov), R(4), R(17),
- B(Mov), R(1), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(16), U8(3),
- B(Star), R(3),
- B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
+ B(JumpIfFalse), U8(20),
+ B(LdaCurrentContextSlot), U8(5),
+ B(Star), R(8),
+ B(LdaTrue),
+ B(Star), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
+ B(Star), R(5),
+ B(LdaZero),
+ B(Star), R(4),
+ B(JumpConstant), U8(16),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(9),
+ B(LdaCurrentContextSlot), U8(5),
+ B(Star), R(10),
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(8), U8(3),
+ B(StaCurrentContextSlot), U8(7),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(8), U8(1),
B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(3), U8(1),
- B(Jump), U8(162),
- B(LdaNamedProperty), R(4), U8(7), U8(20),
- B(Star), R(5),
+ B(Jump), U8(11),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(8), U8(1),
+ B(Jump), U8(197),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(8),
+ B(LdaNamedProperty), R(8), U8(7), U8(20),
+ B(StaCurrentContextSlot), U8(9),
+ B(LdaCurrentContextSlot), U8(9),
B(TestUndetectable),
- B(JumpIfFalse), U8(123),
- B(LdaNamedProperty), R(4), U8(6), U8(23),
- B(Star), R(6),
+ B(JumpIfFalse), U8(141),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(8),
+ B(LdaNamedProperty), R(8), U8(6), U8(23),
+ B(StaCurrentContextSlot), U8(10),
+ B(LdaCurrentContextSlot), U8(10),
B(TestUndetectable),
B(JumpIfFalse), U8(4),
- B(Jump), U8(96),
- B(LdaZero),
- B(Star), R(16),
- B(LdaSmi), I8(1),
- B(TestEqualStrict), R(16), U8(26),
- B(JumpIfFalse), U8(61),
- B(Ldar), R(6),
+ B(Jump), U8(108),
+ B(LdaZero),
+ B(Star), R(8),
+ B(LdaSmi), I8(1),
+ B(TestEqualStrict), R(8), U8(26),
+ B(JumpIfFalse), U8(63),
+ B(LdaCurrentContextSlot), U8(10),
B(TestTypeOf), U8(5),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), I16(130),
- B(Star), R(16),
+ B(Star), R(8),
B(LdaConstant), U8(8),
- B(Star), R(17),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(16), U8(2),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(8), U8(2),
B(Throw),
- B(Mov), R(context), R(16),
- B(Mov), R(6), R(17),
- B(Mov), R(4), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(17), U8(2),
+ B(Mov), R(context), R(8),
+ B(LdaCurrentContextSlot), U8(10),
+ B(Star), R(9),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(10),
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(9), U8(2),
B(Jump), U8(20),
- B(Star), R(17),
+ B(Star), R(9),
B(Ldar), R(closure),
- B(CreateCatchContext), R(17), U8(9), U8(10),
- B(Star), R(16),
+ B(CreateCatchContext), R(9), U8(9), U8(10),
+ B(Star), R(8),
B(LdaTheHole),
B(SetPendingMessage),
- B(Ldar), R(16),
- B(PushContext), R(9),
- B(PopContext), R(9),
- B(Jump), U8(27),
- B(Mov), R(6), R(16),
- B(Mov), R(4), R(17),
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(16), U8(2),
- B(Star), R(7),
- B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1),
+ B(Ldar), R(8),
+ B(PushContext), R(1),
+ B(PopContext), R(1),
+ B(Jump), U8(37),
+ B(LdaCurrentContextSlot), U8(10),
+ B(Star), R(8),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(9),
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(8), U8(2),
+ B(StaCurrentContextSlot), U8(11),
+ B(LdaCurrentContextSlot), U8(11),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(8), U8(1),
B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(7), U8(1),
+ B(Jump), U8(11),
+ B(LdaCurrentContextSlot), U8(11),
+ B(Star), R(8),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(8), U8(1),
B(Wide), B(LdaSmi), I16(144),
- B(Star), R(16),
+ B(Star), R(8),
B(LdaConstant), U8(8),
- B(Star), R(17),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(16), U8(2),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(8), U8(2),
B(Throw),
- B(Mov), R(5), R(16),
- B(Mov), R(4), R(17),
- B(Mov), R(1), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_Call), R(16), U8(3),
- B(Star), R(3),
- B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
+ B(LdaCurrentContextSlot), U8(9),
+ B(Star), R(8),
+ B(LdaCurrentContextSlot), U8(8),
+ B(Star), R(9),
+ B(LdaCurrentContextSlot), U8(5),
+ B(Star), R(10),
+ B(InvokeIntrinsic), U8(Runtime::k_Call), R(8), U8(3),
+ B(StaCurrentContextSlot), U8(7),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(8), U8(1),
B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(3), U8(1),
+ B(Jump), U8(11),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(8), U8(1),
B(Jump), U8(2),
- B(LdaNamedProperty), R(3), U8(11), U8(29),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(7),
+ B(LdaNamedProperty), R(7), U8(13), U8(29),
B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(42),
- B(LdaSmi), I8(1),
- B(Mov), R(0), R(15),
- B(Mov), R(3), R(16),
- B(SuspendGenerator), R(15), U8(1),
- B(Ldar), R(16),
+ B(Jump), U8(52),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(8),
+ B(LdaSmi), I8(1),
+ B(SuspendGenerator), R(7), U8(1),
+ B(Ldar), R(8),
/* 54 S> */ B(Return),
B(LdaSmi), I8(-2),
- B(Star), R(10),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(15), U8(1),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(0), U8(1),
- B(Star), R(1),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
B(Star), R(2),
- B(Wide), B(JumpLoop), U16(334), I16(0),
- B(LdaSmi), I8(1),
- B(TestEqualStrict), R(2), U8(31),
- B(JumpIfFalse), U8(22),
- B(LdaNamedProperty), R(3), U8(12), U8(32),
- B(Star), R(15),
- B(LdaTrue),
- B(Star), R(16),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15), U8(2),
- B(Star), R(13),
- B(LdaZero),
- B(Star), R(12),
- B(Jump), U8(37),
- B(LdaNamedProperty), R(3), U8(12), U8(34),
- B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(7), U8(1),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(7), U8(1),
+ B(StaCurrentContextSlot), U8(5),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(7), U8(1),
+ B(StaCurrentContextSlot), U8(6),
+ B(Wide), B(JumpLoop), U16(418), I16(0),
+ B(LdaCurrentContextSlot), U8(6),
+ B(Star), R(7),
+ B(LdaSmi), I8(1),
+ B(TestEqualStrict), R(7), U8(31),
+ B(JumpIfFalse), U8(26),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(7),
+ B(LdaNamedProperty), R(7), U8(14), U8(32),
+ B(Star), R(7),
+ B(LdaTrue),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(5),
+ B(LdaZero),
+ B(Star), R(4),
+ B(Jump), U8(41),
+ B(LdaCurrentContextSlot), U8(7),
+ B(Star), R(7),
+ B(LdaNamedProperty), R(7), U8(14), U8(34),
+ B(StaCurrentContextSlot), U8(12),
B(LdaUndefined),
- B(Star), R(15),
- B(LdaTrue),
- B(Star), R(16),
- B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15), U8(2),
- B(Star), R(13),
- B(LdaZero),
- B(Star), R(12),
+ B(Star), R(7),
+ B(LdaTrue),
+ B(Star), R(8),
+ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
+ B(Star), R(5),
+ B(LdaZero),
+ B(Star), R(4),
B(Jump), U8(14),
B(LdaSmi), I8(-1),
- B(Star), R(12),
+ B(Star), R(4),
B(Jump), U8(8),
- B(Star), R(13),
- B(LdaSmi), I8(1),
- B(Star), R(12),
+ B(Star), R(5),
+ B(LdaSmi), I8(1),
+ B(Star), R(4),
B(LdaTheHole),
B(SetPendingMessage),
- B(Star), R(14),
- B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(0), U8(1),
- B(Ldar), R(14),
- B(SetPendingMessage),
- B(Ldar), R(12),
- B(SwitchOnSmiNoFeedback), U8(15), U8(2), I8(0),
+ B(Star), R(6),
+ B(LdaImmutableCurrentContextSlot), U8(4),
+ B(Star), R(7),
+ B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(7), U8(1),
+ B(Ldar), R(6),
+ B(SetPendingMessage),
+ B(Ldar), R(4),
+ B(SwitchOnSmiNoFeedback), U8(17), U8(2), I8(0),
B(Jump), U8(8),
- B(Ldar), R(13),
+ B(Ldar), R(5),
/* 54 S> */ B(Return),
- B(Ldar), R(13),
+ B(Ldar), R(5),
B(ReThrow),
B(LdaUndefined),
/* 54 S> */ B(Return),
]
constant pool: [
- Smi [46],
- Smi [131],
+ Smi [52],
+ Smi [137],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"],
SYMBOL_TYPE,
- Smi [311],
+ Smi [387],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["throw"],
ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
FIXED_ARRAY_TYPE,
+ Smi [315],
+ Smi [271],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
- Smi [444],
- Smi [302],
+ Smi [540],
+ Smi [374],
Smi [6],
Smi [9],
]
handlers: [
- [47, 534, 540],
- [333, 343, 345],
+ [51, 636, 642],
+ [386, 398, 400],
]

Powered by Google App Engine
This is Rietveld 408576698