diff options
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden')
-rw-r--r-- | deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden | 42 |
1 files changed, 16 insertions, 26 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden index 8701e505920..a055e878228 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/AsyncGenerators.golden @@ -208,9 +208,9 @@ snippet: " async function* f() { for (let x of [42]) yield x } f(); " -frame size: 19 +frame size: 18 parameter count: 1 -bytecode array length: 361 +bytecode array length: 341 bytecodes: [ B(SwitchOnGeneratorState), R(0), U8(0), U8(2), B(Mov), R(closure), R(4), @@ -230,7 +230,7 @@ bytecodes: [ B(LdaSmi), I8(1), B(Star), R(4), B(Mov), R(8), R(5), - B(JumpConstant), U8(15), + B(Jump), U8(247), /* 36 S> */ B(CreateArrayLiteral), U8(4), U8(0), U8(37), B(Star), R(10), B(GetIterator), R(10), U8(1), U8(3), @@ -285,34 +285,26 @@ bytecodes: [ B(SetPendingMessage), B(Star), R(13), B(Ldar), R(10), - B(JumpIfToBooleanTrue), U8(58), + B(JumpIfToBooleanTrue), U8(38), + B(Mov), R(context), R(15), B(LdaNamedProperty), R(9), U8(10), U8(13), - B(Star), R(15), - B(JumpIfUndefinedOrNull), U8(50), - B(Mov), R(context), R(16), - B(TestTypeOf), U8(6), - B(JumpIfTrue), U8(18), - B(Wide), B(LdaSmi), I16(160), - B(Star), R(17), - B(LdaConstant), U8(11), - B(Star), R(18), - B(CallRuntime), U16(Runtime::kNewTypeError), R(17), U8(2), - B(Throw), - B(CallProperty0), R(15), R(9), U8(15), + B(JumpIfUndefinedOrNull), U8(29), + B(Star), R(16), + B(CallProperty0), R(16), R(9), U8(15), B(JumpIfJSReceiver), U8(21), B(Star), R(17), B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(17), U8(1), B(Jump), U8(12), - B(Star), R(16), + B(Star), R(15), B(LdaZero), B(TestReferenceEqual), R(11), B(JumpIfTrue), U8(5), - B(Ldar), R(16), + B(Ldar), R(15), B(ReThrow), B(Ldar), R(13), B(SetPendingMessage), B(Ldar), R(11), - B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0), + B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0), B(Jump), U8(14), B(Ldar), R(12), B(ReThrow), @@ -326,7 +318,7 @@ bytecodes: [ B(Star), R(4), B(Jump), U8(41), B(Star), R(8), - B(CreateCatchContext), R(8), U8(14), + B(CreateCatchContext), R(8), U8(13), B(Star), R(7), B(LdaTheHole), B(SetPendingMessage), @@ -351,7 +343,7 @@ bytecodes: [ B(Ldar), R(6), B(SetPendingMessage), B(Ldar), R(4), - B(SwitchOnSmiNoFeedback), U8(16), U8(3), I8(0), + B(SwitchOnSmiNoFeedback), U8(14), U8(3), I8(0), B(Jump), U8(22), B(Ldar), R(5), B(ReThrow), @@ -378,20 +370,18 @@ constant pool: [ Smi [16], Smi [7], ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], - ONE_BYTE_INTERNALIZED_STRING_TYPE [""], Smi [6], Smi [9], SCOPE_INFO_TYPE, - Smi [267], Smi [6], Smi [9], Smi [23], ] handlers: [ - [19, 315, 315], - [22, 281, 281], + [19, 295, 295], + [22, 261, 261], [86, 172, 180], - [204, 237, 239], + [196, 217, 219], ] --- |