summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden')
-rw-r--r--deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden527
1 files changed, 258 insertions, 269 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden
index 1cafe42d28..f60e591040 100644
--- a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden
+++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden
@@ -14,9 +14,9 @@ snippet: "
}
f();
"
-frame size: 21
+frame size: 19
parameter count: 1
-bytecode array length: 325
+bytecode array length: 320
bytecodes: [
B(SwitchOnGeneratorState), R(0), U8(0), U8(2),
B(Mov), R(closure), R(4),
@@ -28,110 +28,108 @@ bytecodes: [
/* 43 S> */ B(CreateArrayLiteral), U8(2), U8(0), U8(37),
B(Star), R(7),
B(LdaNamedProperty), R(7), U8(3), U8(1),
- B(JumpIfUndefined), U8(17),
- B(JumpIfNull), U8(15),
+ B(JumpIfUndefinedOrNull), U8(15),
B(Star), R(8),
B(CallProperty0), R(8), R(7), U8(3),
- B(JumpIfJSReceiver), U8(23),
+ B(JumpIfJSReceiver), U8(22),
B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0),
- B(LdaNamedProperty), R(7), U8(4), U8(5),
+ B(GetIterator), R(7), U8(5),
B(Star), R(8),
B(CallProperty0), R(8), R(7), U8(7),
B(Star), R(8),
B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(8), U8(1),
B(Star), R(6),
- B(LdaNamedProperty), R(6), U8(5), U8(9),
+ B(LdaNamedProperty), R(6), U8(4), U8(9),
B(Star), R(5),
B(LdaFalse),
- B(Star), R(9),
- B(Mov), R(context), R(12),
+ B(Star), R(7),
+ B(Mov), R(context), R(10),
B(LdaTrue),
- B(Star), R(9),
+ B(Star), R(7),
/* 38 S> */ B(CallProperty0), R(5), R(6), U8(11),
- B(Star), R(15),
- B(Mov), R(0), R(14),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(14), U8(2),
- B(SuspendGenerator), R(0), R(0), U8(14), U8(0),
- B(ResumeGenerator), R(0), R(0), U8(14),
- B(Star), R(14),
+ B(Star), R(13),
+ B(Mov), R(0), R(12),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(12), U8(2),
+ B(SuspendGenerator), R(0), R(0), U8(12), U8(0),
+ B(ResumeGenerator), R(0), R(0), U8(12),
+ B(Star), R(12),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
- B(Star), R(15),
+ B(Star), R(13),
B(LdaZero),
- B(TestReferenceEqual), R(15),
+ B(TestReferenceEqual), R(13),
B(JumpIfTrue), U8(5),
- B(Ldar), R(14),
+ B(Ldar), R(12),
B(ReThrow),
- B(Ldar), R(14),
- B(Mov), R(14), R(13),
+ B(Ldar), R(12),
+ B(Mov), R(12), R(11),
B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
- B(LdaNamedProperty), R(13), U8(6), U8(13),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1),
+ B(LdaNamedProperty), R(11), U8(5), U8(13),
B(JumpIfToBooleanTrue), U8(23),
- B(LdaNamedProperty), R(13), U8(7), U8(15),
- B(Star), R(13),
+ B(LdaNamedProperty), R(11), U8(6), U8(15),
+ B(Star), R(11),
B(LdaFalse),
- B(Star), R(9),
- B(Mov), R(13), R(1),
+ B(Star), R(7),
+ B(Mov), R(11), R(1),
/* 23 E> */ B(StackCheck),
/* 38 S> */ B(Mov), R(1), R(3),
- B(Ldar), R(13),
+ B(Ldar), R(11),
B(JumpLoop), U8(77), I8(0),
B(LdaSmi), I8(-1),
- B(Star), R(11),
- B(Star), R(10),
+ B(Star), R(9),
+ B(Star), R(8),
B(Jump), U8(7),
- B(Star), R(11),
+ B(Star), R(9),
B(LdaZero),
- B(Star), R(10),
+ B(Star), R(8),
B(LdaTheHole),
/* 38 E> */ B(SetPendingMessage),
- B(Star), R(12),
- B(Ldar), R(9),
- B(JumpIfToBooleanTrue), U8(96),
- B(LdaNamedProperty), R(6), U8(8), U8(17),
- B(Star), R(16),
- B(JumpIfUndefined), U8(88),
- B(JumpIfNull), U8(86),
- B(Mov), R(context), R(17),
+ B(Star), R(10),
+ B(Ldar), R(7),
+ B(JumpIfToBooleanTrue), U8(94),
+ B(LdaNamedProperty), R(6), U8(7), U8(17),
+ B(Star), R(14),
+ B(JumpIfUndefinedOrNull), U8(86),
+ B(Mov), R(context), R(15),
B(TestTypeOf), U8(6),
B(JumpIfTrue), U8(18),
B(Wide), B(LdaSmi), I16(159),
- B(Star), R(18),
- B(LdaConstant), U8(9),
- B(Star), R(19),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(18), U8(2),
+ B(Star), R(16),
+ B(LdaConstant), U8(8),
+ B(Star), R(17),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(16), U8(2),
B(Throw),
- B(CallProperty0), R(16), R(6), U8(19),
- B(Star), R(19),
- B(Mov), R(0), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(18), U8(2),
- B(SuspendGenerator), R(0), R(0), U8(18), U8(1),
- B(ResumeGenerator), R(0), R(0), U8(18),
- B(Star), R(18),
+ B(CallProperty0), R(14), R(6), U8(19),
+ B(Star), R(17),
+ B(Mov), R(0), R(16),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(16), U8(2),
+ B(SuspendGenerator), R(0), R(0), U8(16), U8(1),
+ B(ResumeGenerator), R(0), R(0), U8(16),
+ B(Star), R(16),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
- B(Star), R(19),
+ B(Star), R(17),
B(LdaZero),
- B(TestReferenceEqual), R(19),
+ B(TestReferenceEqual), R(17),
B(JumpIfTrue), U8(5),
- B(Ldar), R(18),
+ B(Ldar), R(16),
B(ReThrow),
- B(Ldar), R(18),
+ B(Ldar), R(16),
B(JumpIfJSReceiver), U8(21),
- B(Star), R(20),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(20), U8(1),
+ B(Star), R(18),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(18), U8(1),
B(Jump), U8(12),
- B(Star), R(17),
+ B(Star), R(15),
B(LdaZero),
- B(TestReferenceEqual), R(10),
+ B(TestReferenceEqual), R(8),
B(JumpIfTrue), U8(5),
- B(Ldar), R(17),
+ B(Ldar), R(15),
B(ReThrow),
- B(Ldar), R(12),
+ B(Ldar), R(10),
B(SetPendingMessage),
B(LdaZero),
- B(TestReferenceEqual), R(10),
+ B(TestReferenceEqual), R(8),
B(JumpIfFalse), U8(5),
- B(Ldar), R(11),
+ B(Ldar), R(9),
B(ReThrow),
B(LdaUndefined),
B(Star), R(6),
@@ -141,7 +139,7 @@ bytecodes: [
B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(5), U8(3),
/* 57 S> */ B(Return),
B(Star), R(5),
- B(CreateCatchContext), R(5), U8(10),
+ B(CreateCatchContext), R(5), U8(9),
B(Star), R(4),
B(LdaTheHole),
B(SetPendingMessage),
@@ -156,11 +154,10 @@ bytecodes: [
/* 57 S> */ B(Return),
]
constant pool: [
- Smi [98],
- Smi [229],
+ Smi [95],
+ Smi [224],
ARRAY_BOILERPLATE_DESCRIPTION_TYPE,
SYMBOL_TYPE,
- SYMBOL_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
@@ -169,9 +166,9 @@ constant pool: [
SCOPE_INFO_TYPE,
]
handlers: [
- [20, 297, 297],
- [77, 157, 165],
- [191, 260, 262],
+ [20, 292, 292],
+ [74, 154, 162],
+ [186, 255, 257],
]
---
@@ -181,9 +178,9 @@ snippet: "
}
f();
"
-frame size: 21
+frame size: 19
parameter count: 1
-bytecode array length: 346
+bytecode array length: 341
bytecodes: [
B(SwitchOnGeneratorState), R(0), U8(0), U8(2),
B(Mov), R(closure), R(4),
@@ -195,118 +192,116 @@ bytecodes: [
/* 43 S> */ B(CreateArrayLiteral), U8(2), U8(0), U8(37),
B(Star), R(7),
B(LdaNamedProperty), R(7), U8(3), U8(1),
- B(JumpIfUndefined), U8(17),
- B(JumpIfNull), U8(15),
+ B(JumpIfUndefinedOrNull), U8(15),
B(Star), R(8),
B(CallProperty0), R(8), R(7), U8(3),
- B(JumpIfJSReceiver), U8(23),
+ B(JumpIfJSReceiver), U8(22),
B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0),
- B(LdaNamedProperty), R(7), U8(4), U8(5),
+ B(GetIterator), R(7), U8(5),
B(Star), R(8),
B(CallProperty0), R(8), R(7), U8(7),
B(Star), R(8),
B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(8), U8(1),
B(Star), R(6),
- B(LdaNamedProperty), R(6), U8(5), U8(9),
+ B(LdaNamedProperty), R(6), U8(4), U8(9),
B(Star), R(5),
B(LdaFalse),
- B(Star), R(9),
- B(Mov), R(context), R(12),
+ B(Star), R(7),
+ B(Mov), R(context), R(10),
B(LdaTrue),
- B(Star), R(9),
+ B(Star), R(7),
/* 38 S> */ B(CallProperty0), R(5), R(6), U8(11),
- B(Star), R(15),
- B(Mov), R(0), R(14),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(14), U8(2),
- B(SuspendGenerator), R(0), R(0), U8(14), U8(0),
- B(ResumeGenerator), R(0), R(0), U8(14),
- B(Star), R(14),
+ B(Star), R(13),
+ B(Mov), R(0), R(12),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(12), U8(2),
+ B(SuspendGenerator), R(0), R(0), U8(12), U8(0),
+ B(ResumeGenerator), R(0), R(0), U8(12),
+ B(Star), R(12),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
- B(Star), R(15),
+ B(Star), R(13),
B(LdaZero),
- B(TestReferenceEqual), R(15),
+ B(TestReferenceEqual), R(13),
B(JumpIfTrue), U8(5),
- B(Ldar), R(14),
+ B(Ldar), R(12),
B(ReThrow),
- B(Ldar), R(14),
- B(Mov), R(14), R(13),
+ B(Ldar), R(12),
+ B(Mov), R(12), R(11),
B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
- B(LdaNamedProperty), R(13), U8(6), U8(13),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1),
+ B(LdaNamedProperty), R(11), U8(5), U8(13),
B(JumpIfToBooleanTrue), U8(27),
- B(LdaNamedProperty), R(13), U8(7), U8(15),
- B(Star), R(13),
+ B(LdaNamedProperty), R(11), U8(6), U8(15),
+ B(Star), R(11),
B(LdaFalse),
- B(Star), R(9),
- B(Mov), R(13), R(1),
+ B(Star), R(7),
+ B(Mov), R(11), R(1),
/* 23 E> */ B(StackCheck),
/* 38 S> */ B(Mov), R(1), R(3),
/* 56 S> */ B(LdaSmi), I8(1),
- B(Mov), R(13), R(11),
- B(Star), R(10),
+ B(Mov), R(11), R(9),
+ B(Star), R(8),
B(Jump), U8(15),
B(LdaSmi), I8(-1),
- B(Star), R(11),
- B(Star), R(10),
+ B(Star), R(9),
+ B(Star), R(8),
B(Jump), U8(7),
- B(Star), R(11),
+ B(Star), R(9),
B(LdaZero),
- B(Star), R(10),
+ B(Star), R(8),
B(LdaTheHole),
B(SetPendingMessage),
- B(Star), R(12),
- B(Ldar), R(9),
- B(JumpIfToBooleanTrue), U8(96),
- B(LdaNamedProperty), R(6), U8(8), U8(17),
- B(Star), R(16),
- B(JumpIfUndefined), U8(88),
- B(JumpIfNull), U8(86),
- B(Mov), R(context), R(17),
+ B(Star), R(10),
+ B(Ldar), R(7),
+ B(JumpIfToBooleanTrue), U8(94),
+ B(LdaNamedProperty), R(6), U8(7), U8(17),
+ B(Star), R(14),
+ B(JumpIfUndefinedOrNull), U8(86),
+ B(Mov), R(context), R(15),
B(TestTypeOf), U8(6),
B(JumpIfTrue), U8(18),
B(Wide), B(LdaSmi), I16(159),
- B(Star), R(18),
- B(LdaConstant), U8(9),
- B(Star), R(19),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(18), U8(2),
+ B(Star), R(16),
+ B(LdaConstant), U8(8),
+ B(Star), R(17),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(16), U8(2),
B(Throw),
- B(CallProperty0), R(16), R(6), U8(19),
- B(Star), R(19),
- B(Mov), R(0), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(18), U8(2),
- B(SuspendGenerator), R(0), R(0), U8(18), U8(1),
- B(ResumeGenerator), R(0), R(0), U8(18),
- B(Star), R(18),
+ B(CallProperty0), R(14), R(6), U8(19),
+ B(Star), R(17),
+ B(Mov), R(0), R(16),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(16), U8(2),
+ B(SuspendGenerator), R(0), R(0), U8(16), U8(1),
+ B(ResumeGenerator), R(0), R(0), U8(16),
+ B(Star), R(16),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
- B(Star), R(19),
+ B(Star), R(17),
B(LdaZero),
- B(TestReferenceEqual), R(19),
+ B(TestReferenceEqual), R(17),
B(JumpIfTrue), U8(5),
- B(Ldar), R(18),
+ B(Ldar), R(16),
B(ReThrow),
- B(Ldar), R(18),
+ B(Ldar), R(16),
B(JumpIfJSReceiver), U8(21),
- B(Star), R(20),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(20), U8(1),
+ B(Star), R(18),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(18), U8(1),
B(Jump), U8(12),
- B(Star), R(17),
+ B(Star), R(15),
B(LdaZero),
- B(TestReferenceEqual), R(10),
+ B(TestReferenceEqual), R(8),
B(JumpIfTrue), U8(5),
- B(Ldar), R(17),
+ B(Ldar), R(15),
B(ReThrow),
- B(Ldar), R(12),
- B(SetPendingMessage),
B(Ldar), R(10),
- B(SwitchOnSmiNoFeedback), U8(10), U8(2), I8(0),
+ B(SetPendingMessage),
+ B(Ldar), R(8),
+ B(SwitchOnSmiNoFeedback), U8(9), U8(2), I8(0),
B(Jump), U8(19),
- B(Ldar), R(11),
+ B(Ldar), R(9),
B(ReThrow),
B(LdaTrue),
- B(Star), R(18),
- B(Mov), R(0), R(16),
- B(Mov), R(11), R(17),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(16), U8(3),
+ B(Star), R(16),
+ B(Mov), R(0), R(14),
+ B(Mov), R(9), R(15),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(14), U8(3),
/* 68 S> */ B(Return),
B(LdaUndefined),
B(Star), R(6),
@@ -316,7 +311,7 @@ bytecodes: [
B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(5), U8(3),
/* 68 S> */ B(Return),
B(Star), R(5),
- B(CreateCatchContext), R(5), U8(12),
+ B(CreateCatchContext), R(5), U8(11),
B(Star), R(4),
B(LdaTheHole),
B(SetPendingMessage),
@@ -331,11 +326,10 @@ bytecodes: [
/* 68 S> */ B(Return),
]
constant pool: [
- Smi [98],
- Smi [233],
+ Smi [95],
+ Smi [228],
ARRAY_BOILERPLATE_DESCRIPTION_TYPE,
SYMBOL_TYPE,
- SYMBOL_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
@@ -346,9 +340,9 @@ constant pool: [
SCOPE_INFO_TYPE,
]
handlers: [
- [20, 318, 318],
- [77, 161, 169],
- [195, 264, 266],
+ [20, 313, 313],
+ [74, 158, 166],
+ [190, 259, 261],
]
---
@@ -361,9 +355,9 @@ snippet: "
}
f();
"
-frame size: 21
+frame size: 19
parameter count: 1
-bytecode array length: 341
+bytecode array length: 336
bytecodes: [
B(SwitchOnGeneratorState), R(0), U8(0), U8(2),
B(Mov), R(closure), R(4),
@@ -375,50 +369,49 @@ bytecodes: [
/* 43 S> */ B(CreateArrayLiteral), U8(2), U8(0), U8(37),
B(Star), R(7),
B(LdaNamedProperty), R(7), U8(3), U8(1),
- B(JumpIfUndefined), U8(17),
- B(JumpIfNull), U8(15),
+ B(JumpIfUndefinedOrNull), U8(15),
B(Star), R(8),
B(CallProperty0), R(8), R(7), U8(3),
- B(JumpIfJSReceiver), U8(23),
+ B(JumpIfJSReceiver), U8(22),
B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0),
- B(LdaNamedProperty), R(7), U8(4), U8(5),
+ B(GetIterator), R(7), U8(5),
B(Star), R(8),
B(CallProperty0), R(8), R(7), U8(7),
B(Star), R(8),
B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(8), U8(1),
B(Star), R(6),
- B(LdaNamedProperty), R(6), U8(5), U8(9),
+ B(LdaNamedProperty), R(6), U8(4), U8(9),
B(Star), R(5),
B(LdaFalse),
- B(Star), R(9),
- B(Mov), R(context), R(12),
+ B(Star), R(7),
+ B(Mov), R(context), R(10),
B(LdaTrue),
- B(Star), R(9),
+ B(Star), R(7),
/* 38 S> */ B(CallProperty0), R(5), R(6), U8(11),
- B(Star), R(15),
- B(Mov), R(0), R(14),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(14), U8(2),
- B(SuspendGenerator), R(0), R(0), U8(14), U8(0),
- B(ResumeGenerator), R(0), R(0), U8(14),
- B(Star), R(14),
+ B(Star), R(13),
+ B(Mov), R(0), R(12),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(12), U8(2),
+ B(SuspendGenerator), R(0), R(0), U8(12), U8(0),
+ B(ResumeGenerator), R(0), R(0), U8(12),
+ B(Star), R(12),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
- B(Star), R(15),
+ B(Star), R(13),
B(LdaZero),
- B(TestReferenceEqual), R(15),
+ B(TestReferenceEqual), R(13),
B(JumpIfTrue), U8(5),
- B(Ldar), R(14),
+ B(Ldar), R(12),
B(ReThrow),
- B(Ldar), R(14),
- B(Mov), R(14), R(13),
+ B(Ldar), R(12),
+ B(Mov), R(12), R(11),
B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
- B(LdaNamedProperty), R(13), U8(6), U8(13),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1),
+ B(LdaNamedProperty), R(11), U8(5), U8(13),
B(JumpIfToBooleanTrue), U8(39),
- B(LdaNamedProperty), R(13), U8(7), U8(15),
- B(Star), R(13),
+ B(LdaNamedProperty), R(11), U8(6), U8(15),
+ B(Star), R(11),
B(LdaFalse),
- B(Star), R(9),
- B(Mov), R(13), R(1),
+ B(Star), R(7),
+ B(Mov), R(11), R(1),
/* 23 E> */ B(StackCheck),
/* 38 S> */ B(Mov), R(1), R(3),
/* 63 S> */ B(LdaSmi), I8(10),
@@ -431,61 +424,60 @@ bytecodes: [
/* 103 S> */ B(Jump), U8(5),
B(JumpLoop), U8(93), I8(0),
B(LdaSmi), I8(-1),
- B(Star), R(11),
- B(Star), R(10),
+ B(Star), R(9),
+ B(Star), R(8),
B(Jump), U8(7),
- B(Star), R(11),
+ B(Star), R(9),
B(LdaZero),
- B(Star), R(10),
+ B(Star), R(8),
B(LdaTheHole),
B(SetPendingMessage),
- B(Star), R(12),
- B(Ldar), R(9),
- B(JumpIfToBooleanTrue), U8(96),
- B(LdaNamedProperty), R(6), U8(8), U8(19),
- B(Star), R(16),
- B(JumpIfUndefined), U8(88),
- B(JumpIfNull), U8(86),
- B(Mov), R(context), R(17),
+ B(Star), R(10),
+ B(Ldar), R(7),
+ B(JumpIfToBooleanTrue), U8(94),
+ B(LdaNamedProperty), R(6), U8(7), U8(19),
+ B(Star), R(14),
+ B(JumpIfUndefinedOrNull), U8(86),
+ B(Mov), R(context), R(15),
B(TestTypeOf), U8(6),
B(JumpIfTrue), U8(18),
B(Wide), B(LdaSmi), I16(159),
- B(Star), R(18),
- B(LdaConstant), U8(9),
- B(Star), R(19),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(18), U8(2),
+ B(Star), R(16),
+ B(LdaConstant), U8(8),
+ B(Star), R(17),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(16), U8(2),
B(Throw),
- B(CallProperty0), R(16), R(6), U8(21),
- B(Star), R(19),
- B(Mov), R(0), R(18),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(18), U8(2),
- B(SuspendGenerator), R(0), R(0), U8(18), U8(1),
- B(ResumeGenerator), R(0), R(0), U8(18),
- B(Star), R(18),
+ B(CallProperty0), R(14), R(6), U8(21),
+ B(Star), R(17),
+ B(Mov), R(0), R(16),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionAwaitUncaught), R(16), U8(2),
+ B(SuspendGenerator), R(0), R(0), U8(16), U8(1),
+ B(ResumeGenerator), R(0), R(0), U8(16),
+ B(Star), R(16),
B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(0), U8(1),
- B(Star), R(19),
+ B(Star), R(17),
B(LdaZero),
- B(TestReferenceEqual), R(19),
+ B(TestReferenceEqual), R(17),
B(JumpIfTrue), U8(5),
- B(Ldar), R(18),
+ B(Ldar), R(16),
B(ReThrow),
- B(Ldar), R(18),
+ B(Ldar), R(16),
B(JumpIfJSReceiver), U8(21),
- B(Star), R(20),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(20), U8(1),
+ B(Star), R(18),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(18), U8(1),
B(Jump), U8(12),
- B(Star), R(17),
+ B(Star), R(15),
B(LdaZero),
- B(TestReferenceEqual), R(10),
+ B(TestReferenceEqual), R(8),
B(JumpIfTrue), U8(5),
- B(Ldar), R(17),
+ B(Ldar), R(15),
B(ReThrow),
- B(Ldar), R(12),
+ B(Ldar), R(10),
B(SetPendingMessage),
B(LdaZero),
- B(TestReferenceEqual), R(10),
+ B(TestReferenceEqual), R(8),
B(JumpIfFalse), U8(5),
- B(Ldar), R(11),
+ B(Ldar), R(9),
B(ReThrow),
B(LdaUndefined),
B(Star), R(6),
@@ -495,7 +487,7 @@ bytecodes: [
B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(5), U8(3),
/* 114 S> */ B(Return),
B(Star), R(5),
- B(CreateCatchContext), R(5), U8(10),
+ B(CreateCatchContext), R(5), U8(9),
B(Star), R(4),
B(LdaTheHole),
B(SetPendingMessage),
@@ -510,11 +502,10 @@ bytecodes: [
/* 114 S> */ B(Return),
]
constant pool: [
- Smi [98],
- Smi [245],
+ Smi [95],
+ Smi [240],
ARRAY_BOILERPLATE_DESCRIPTION_TYPE,
SYMBOL_TYPE,
- SYMBOL_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
@@ -523,9 +514,9 @@ constant pool: [
SCOPE_INFO_TYPE,
]
handlers: [
- [20, 313, 313],
- [77, 173, 181],
- [207, 276, 278],
+ [20, 308, 308],
+ [74, 170, 178],
+ [202, 271, 273],
]
---
@@ -536,9 +527,9 @@ snippet: "
}
f();
"
-frame size: 17
+frame size: 15
parameter count: 1
-bytecode array length: 261
+bytecode array length: 258
bytecodes: [
B(Mov), R(closure), R(2),
B(Mov), R(this), R(3),
@@ -550,86 +541,85 @@ bytecodes: [
B(Star), R(1),
/* 68 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(37),
B(Star), R(5),
- B(LdaNamedProperty), R(5), U8(2), U8(2),
+ B(GetIterator), R(5), U8(2),
B(Star), R(6),
B(CallProperty0), R(6), R(5), U8(4),
B(JumpIfJSReceiver), U8(7),
B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
B(Star), R(4),
- B(LdaNamedProperty), R(4), U8(3), U8(6),
+ B(LdaNamedProperty), R(4), U8(2), U8(6),
B(Star), R(3),
B(LdaFalse),
- B(Star), R(7),
- B(Mov), R(context), R(10),
+ B(Star), R(5),
+ B(Mov), R(context), R(8),
B(LdaTrue),
- B(Star), R(7),
+ B(Star), R(5),
/* 59 S> */ B(CallProperty0), R(3), R(4), U8(8),
- B(Star), R(11),
+ B(Star), R(9),
B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1),
- B(LdaNamedProperty), R(11), U8(4), U8(10),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(9), U8(1),
+ B(LdaNamedProperty), R(9), U8(3), U8(10),
B(JumpIfToBooleanTrue), U8(33),
- B(LdaNamedProperty), R(11), U8(5), U8(12),
- B(Star), R(11),
+ B(LdaNamedProperty), R(9), U8(4), U8(12),
+ B(Star), R(9),
B(LdaFalse),
- B(Star), R(7),
- B(Ldar), R(11),
- /* 58 E> */ B(StaNamedProperty), R(1), U8(6), U8(14),
+ B(Star), R(5),
+ B(Ldar), R(9),
+ /* 58 E> */ B(StaNamedProperty), R(1), U8(5), U8(14),
/* 53 E> */ B(StackCheck),
- /* 87 S> */ B(LdaNamedProperty), R(1), U8(6), U8(16),
- B(Star), R(9),
+ /* 87 S> */ B(LdaNamedProperty), R(1), U8(5), U8(16),
+ B(Star), R(7),
B(LdaSmi), I8(1),
- B(Star), R(8),
- B(Mov), R(1), R(12),
+ B(Star), R(6),
+ B(Mov), R(1), R(10),
B(Jump), U8(15),
B(LdaSmi), I8(-1),
- B(Star), R(9),
- B(Star), R(8),
+ B(Star), R(7),
+ B(Star), R(6),
B(Jump), U8(7),
- B(Star), R(9),
+ B(Star), R(7),
B(LdaZero),
- B(Star), R(8),
+ B(Star), R(6),
B(LdaTheHole),
B(SetPendingMessage),
- B(Star), R(10),
- B(Ldar), R(7),
- B(JumpIfToBooleanTrue), U8(60),
- B(LdaNamedProperty), R(4), U8(7), U8(18),
- B(Star), R(13),
- B(JumpIfUndefined), U8(52),
- B(JumpIfNull), U8(50),
- B(Mov), R(context), R(14),
+ B(Star), R(8),
+ B(Ldar), R(5),
+ B(JumpIfToBooleanTrue), U8(58),
+ B(LdaNamedProperty), R(4), U8(6), U8(18),
+ B(Star), R(11),
+ B(JumpIfUndefinedOrNull), U8(50),
+ B(Mov), R(context), R(12),
B(TestTypeOf), U8(6),
B(JumpIfTrue), U8(18),
B(Wide), B(LdaSmi), I16(159),
- B(Star), R(15),
- B(LdaConstant), U8(8),
- B(Star), R(16),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(15), U8(2),
+ B(Star), R(13),
+ B(LdaConstant), U8(7),
+ B(Star), R(14),
+ B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2),
B(Throw),
- B(CallProperty0), R(13), R(4), U8(20),
+ B(CallProperty0), R(11), R(4), U8(20),
B(JumpIfJSReceiver), U8(21),
- B(Star), R(15),
- B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(15), U8(1),
+ B(Star), R(13),
+ B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
B(Jump), U8(12),
- B(Star), R(14),
+ B(Star), R(12),
B(LdaZero),
- B(TestReferenceEqual), R(8),
+ B(TestReferenceEqual), R(6),
B(JumpIfTrue), U8(5),
- B(Ldar), R(14),
+ B(Ldar), R(12),
B(ReThrow),
- B(Ldar), R(10),
- B(SetPendingMessage),
B(Ldar), R(8),
- B(SwitchOnSmiNoFeedback), U8(9), U8(2), I8(0),
+ B(SetPendingMessage),
+ B(Ldar), R(6),
+ B(SwitchOnSmiNoFeedback), U8(8), U8(2), I8(0),
B(Jump), U8(19),
- B(Ldar), R(9),
+ B(Ldar), R(7),
B(ReThrow),
B(LdaFalse),
- B(Star), R(15),
- B(Mov), R(0), R(13),
- B(Mov), R(9), R(14),
- B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(13), U8(3),
+ B(Star), R(13),
+ B(Mov), R(0), R(11),
+ B(Mov), R(7), R(12),
+ B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(11), U8(3),
/* 96 S> */ B(Return),
B(LdaUndefined),
B(Star), R(4),
@@ -639,7 +629,7 @@ bytecodes: [
B(InvokeIntrinsic), U8(Runtime::k_AsyncFunctionResolve), R(3), U8(3),
/* 96 S> */ B(Return),
B(Star), R(3),
- B(CreateCatchContext), R(3), U8(11),
+ B(CreateCatchContext), R(3), U8(10),
B(Star), R(2),
B(LdaTheHole),
B(SetPendingMessage),
@@ -656,7 +646,6 @@ bytecodes: [
constant pool: [
OBJECT_BOILERPLATE_DESCRIPTION_TYPE,
ARRAY_BOILERPLATE_DESCRIPTION_TYPE,
- SYMBOL_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
@@ -668,8 +657,8 @@ constant pool: [
SCOPE_INFO_TYPE,
]
handlers: [
- [16, 233, 233],
- [59, 112, 120],
- [146, 179, 181],
+ [16, 230, 230],
+ [58, 111, 119],
+ [143, 176, 178],
]