diff options
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden')
-rw-r--r-- | deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden | 586 |
1 files changed, 234 insertions, 352 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden index b43429e008..67f5c389e6 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/ForOf.golden @@ -9,111 +9,83 @@ wrap: yes snippet: " for (var p of [0, 1, 2]) {} " -frame size: 15 +frame size: 14 parameter count: 1 -bytecode array length: 245 +bytecode array length: 173 bytecodes: [ /* 30 E> */ B(StackCheck), - B(LdaZero), - B(Star), R(5), - B(Mov), R(context), R(11), - B(Mov), R(context), R(12), /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(37), - B(Star), R(13), - B(LdaNamedProperty), R(13), U8(1), U8(1), - B(Star), R(14), - B(CallProperty0), R(14), R(13), U8(3), + B(Star), R(4), + B(LdaNamedProperty), R(4), U8(1), U8(1), + B(Star), R(5), + B(CallProperty0), R(5), R(4), U8(3), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), - B(Star), R(2), - /* 48 E> */ B(LdaNamedProperty), R(2), U8(2), U8(5), B(Star), R(3), - /* 43 S> */ B(CallProperty0), R(3), R(2), U8(7), - B(Star), R(4), - /* 43 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), - B(ToBooleanLogicalNot), - B(JumpIfFalse), U8(7), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(4), U8(1), - B(LdaNamedProperty), R(4), U8(3), U8(9), - B(JumpIfToBooleanTrue), U8(25), - B(LdaNamedProperty), R(4), U8(4), U8(11), + B(LdaNamedProperty), R(3), U8(2), U8(5), + B(Star), R(2), + B(LdaFalse), B(Star), R(6), - B(LdaSmi), I8(2), - B(Star), R(5), - B(Mov), R(6), R(0), + B(Mov), R(context), R(9), + B(LdaTrue), + B(Star), R(6), + /* 43 S> */ B(CallProperty0), R(2), R(3), U8(7), + B(Star), R(10), + B(JumpIfJSReceiver), U8(7), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(10), U8(1), + B(LdaNamedProperty), R(10), U8(3), U8(9), + B(JumpIfToBooleanTrue), U8(23), + B(LdaNamedProperty), R(10), U8(4), U8(11), + B(Star), R(10), + B(LdaFalse), + B(Star), R(6), + B(Mov), R(10), R(1), /* 34 E> */ B(StackCheck), - B(Mov), R(0), R(1), - B(LdaZero), - B(Star), R(5), - B(JumpLoop), U8(44), I8(0), - B(Jump), U8(33), - B(Star), R(13), - B(CreateCatchContext), R(13), U8(5), - B(PushContext), R(13), - B(Star), R(12), - B(LdaSmi), I8(2), - B(TestEqualStrict), R(5), U8(13), - B(JumpIfFalse), U8(6), - B(LdaSmi), I8(1), - B(Star), R(5), - B(LdaImmutableCurrentContextSlot), U8(4), - B(Star), R(14), - B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), - B(PopContext), R(13), + /* 43 S> */ B(Mov), R(1), R(0), + B(Ldar), R(10), + B(JumpLoop), U8(40), I8(0), B(LdaSmi), I8(-1), - B(Star), R(10), - B(Star), R(9), + B(Star), R(8), + B(Star), R(7), B(Jump), U8(7), - B(Star), R(10), + B(Star), R(8), B(LdaZero), - B(Star), R(9), + B(Star), R(7), B(LdaTheHole), - B(SetPendingMessage), + /* 43 E> */ B(SetPendingMessage), + B(Star), R(9), + B(Ldar), R(6), + B(JumpIfToBooleanTrue), U8(60), + B(LdaNamedProperty), R(3), U8(5), U8(13), B(Star), R(11), - B(LdaZero), - B(TestEqualStrict), R(5), U8(14), - B(JumpIfTrue), U8(90), - B(LdaNamedProperty), R(2), U8(6), U8(15), - B(Star), R(7), - B(TestUndetectable), - B(JumpIfFalse), U8(4), - B(Jump), U8(79), - B(LdaSmi), I8(1), - B(TestEqualStrict), R(5), U8(17), - B(JumpIfFalse), U8(47), - B(Ldar), R(7), + B(JumpIfUndefined), U8(52), + B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), - B(JumpIfFalse), U8(4), - B(Jump), U8(18), + B(JumpIfTrue), U8(18), B(Wide), B(LdaSmi), I16(154), B(Star), R(12), - B(LdaConstant), U8(7), + B(LdaConstant), U8(6), B(Star), R(13), B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), B(Throw), B(Mov), R(context), R(12), - B(Mov), R(7), R(13), - B(Mov), R(2), R(14), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), - B(Jump), U8(6), - B(LdaTheHole), - B(SetPendingMessage), + B(CallProperty0), R(11), R(3), U8(15), + B(JumpIfJSReceiver), U8(21), + B(Star), R(13), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), + B(Jump), U8(12), + B(Star), R(12), + B(LdaZero), + B(TestReferenceEqual), R(7), + B(JumpIfTrue), U8(5), B(Ldar), R(12), - B(Jump), U8(27), - B(Mov), R(7), R(12), - B(Mov), R(2), R(13), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), - 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(8), U8(1), - B(Ldar), R(11), + B(ReThrow), + B(Ldar), R(9), B(SetPendingMessage), B(LdaZero), - B(TestReferenceEqual), R(9), + B(TestReferenceEqual), R(7), B(JumpIfFalse), U8(5), - B(Ldar), R(10), + B(Ldar), R(8), B(ReThrow), B(LdaUndefined), /* 62 S> */ B(Return), @@ -124,14 +96,12 @@ constant pool: [ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], - SCOPE_INFO_TYPE, ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], ONE_BYTE_INTERNALIZED_STRING_TYPE [""], ] handlers: [ - [7, 121, 129], - [10, 88, 90], - [189, 199, 201], + [38, 81, 89], + [135, 148, 150], ] --- @@ -139,116 +109,89 @@ snippet: " var x = 'potatoes'; for (var p of x) { return p; } " -frame size: 16 +frame size: 15 parameter count: 1 -bytecode array length: 255 +bytecode array length: 184 bytecodes: [ /* 30 E> */ B(StackCheck), /* 42 S> */ B(LdaConstant), U8(0), B(Star), R(0), - B(LdaZero), - B(Star), R(6), - B(Mov), R(context), R(12), - B(Mov), R(context), R(13), /* 68 S> */ B(LdaNamedProperty), R(0), U8(1), U8(0), - B(Star), R(15), - B(CallProperty0), R(15), R(0), U8(2), - B(Mov), R(0), R(14), + B(Star), R(6), + B(CallProperty0), R(6), R(0), U8(2), + B(Mov), R(0), R(5), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), - B(Star), R(3), - /* 68 E> */ B(LdaNamedProperty), R(3), U8(2), U8(4), B(Star), R(4), - /* 63 S> */ B(CallProperty0), R(4), R(3), U8(6), - B(Star), R(5), - /* 63 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), - B(ToBooleanLogicalNot), - B(JumpIfFalse), U8(7), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(5), U8(1), - B(LdaNamedProperty), R(5), U8(3), U8(8), + B(LdaNamedProperty), R(4), U8(2), U8(4), + B(Star), R(3), + B(LdaFalse), + B(Star), R(7), + B(Mov), R(context), R(10), + B(LdaTrue), + B(Star), R(7), + /* 63 S> */ B(CallProperty0), R(3), R(4), U8(6), + B(Star), R(11), + B(JumpIfJSReceiver), U8(7), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1), + B(LdaNamedProperty), R(11), U8(3), U8(8), B(JumpIfToBooleanTrue), U8(27), - B(LdaNamedProperty), R(5), U8(4), U8(10), + B(LdaNamedProperty), R(11), U8(4), U8(10), + B(Star), R(11), + B(LdaFalse), B(Star), R(7), - B(LdaSmi), I8(2), - B(Star), R(6), - B(Mov), R(7), R(1), + B(Mov), R(11), R(2), /* 54 E> */ B(StackCheck), - B(Mov), R(1), R(2), - /* 73 S> */ B(LdaZero), - B(Star), R(10), - B(Mov), R(7), R(11), - B(Jump), U8(49), - B(Jump), U8(33), - B(Star), R(14), - B(CreateCatchContext), R(14), U8(5), - B(PushContext), R(14), - B(Star), R(13), - B(LdaSmi), I8(2), - B(TestEqualStrict), R(6), U8(12), - B(JumpIfFalse), U8(6), - B(LdaSmi), I8(1), - B(Star), R(6), - B(LdaImmutableCurrentContextSlot), U8(4), - B(Star), R(15), - B(CallRuntime), U16(Runtime::kReThrow), R(15), U8(1), - B(PopContext), R(14), + /* 63 S> */ B(Mov), R(2), R(1), + /* 73 S> */ B(LdaSmi), I8(1), + 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(Jump), U8(8), - B(Star), R(11), - B(LdaSmi), I8(1), - B(Star), R(10), + B(Star), R(9), + B(Star), R(8), + B(Jump), U8(7), + B(Star), R(9), + B(LdaZero), + B(Star), R(8), B(LdaTheHole), B(SetPendingMessage), + B(Star), R(10), + B(Ldar), R(7), + B(JumpIfToBooleanTrue), U8(60), + B(LdaNamedProperty), R(4), U8(5), U8(12), B(Star), R(12), - B(LdaZero), - B(TestEqualStrict), R(6), U8(13), - B(JumpIfTrue), U8(90), - B(LdaNamedProperty), R(3), U8(6), U8(14), - B(Star), R(8), - B(TestUndetectable), - B(JumpIfFalse), U8(4), - B(Jump), U8(79), - B(LdaSmi), I8(1), - B(TestEqualStrict), R(6), U8(16), - B(JumpIfFalse), U8(47), - B(Ldar), R(8), + B(JumpIfUndefined), U8(52), + B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), - B(JumpIfFalse), U8(4), - B(Jump), U8(18), + B(JumpIfTrue), U8(18), B(Wide), B(LdaSmi), I16(154), B(Star), R(13), - B(LdaConstant), U8(7), + B(LdaConstant), U8(6), B(Star), R(14), B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), B(Throw), B(Mov), R(context), R(13), - B(Mov), R(8), R(14), - B(Mov), R(3), R(15), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), - B(Jump), U8(6), - B(LdaTheHole), - B(SetPendingMessage), + B(CallProperty0), R(12), R(4), U8(14), + B(JumpIfJSReceiver), U8(21), + B(Star), R(14), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(14), U8(1), + B(Jump), U8(12), + B(Star), R(13), + B(LdaZero), + B(TestReferenceEqual), R(8), + B(JumpIfTrue), U8(5), B(Ldar), R(13), - B(Jump), U8(27), - B(Mov), R(8), R(13), - B(Mov), R(3), R(14), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), - B(Star), R(9), - B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1), - B(JumpIfToBooleanFalse), U8(4), - B(Jump), U8(7), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(9), U8(1), - B(Ldar), R(12), - B(SetPendingMessage), + B(ReThrow), B(Ldar), R(10), - B(SwitchOnSmiNoFeedback), U8(8), U8(2), I8(0), + B(SetPendingMessage), + B(Ldar), R(8), + B(SwitchOnSmiNoFeedback), U8(7), U8(2), I8(0), B(Jump), U8(8), - B(Ldar), R(11), - /* 85 S> */ B(Return), - B(Ldar), R(11), + B(Ldar), R(9), B(ReThrow), + B(Ldar), R(9), + /* 85 S> */ B(Return), B(LdaUndefined), /* 85 S> */ B(Return), ] @@ -258,16 +201,14 @@ constant pool: [ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], - SCOPE_INFO_TYPE, ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], ONE_BYTE_INTERNALIZED_STRING_TYPE [""], Smi [6], Smi [9], ] handlers: [ - [11, 124, 132], - [14, 91, 93], - [193, 203, 205], + [39, 86, 94], + [140, 153, 155], ] --- @@ -277,119 +218,90 @@ snippet: " if (x == 20) break; } " -frame size: 15 +frame size: 14 parameter count: 1 -bytecode array length: 263 +bytecode array length: 189 bytecodes: [ /* 30 E> */ B(StackCheck), - B(LdaZero), - B(Star), R(5), - B(Mov), R(context), R(11), - B(Mov), R(context), R(12), /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(37), - B(Star), R(13), - B(LdaNamedProperty), R(13), U8(1), U8(1), - B(Star), R(14), - B(CallProperty0), R(14), R(13), U8(3), + B(Star), R(4), + B(LdaNamedProperty), R(4), U8(1), U8(1), + B(Star), R(5), + B(CallProperty0), R(5), R(4), U8(3), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), - B(Star), R(2), - /* 48 E> */ B(LdaNamedProperty), R(2), U8(2), U8(5), B(Star), R(3), - /* 43 S> */ B(CallProperty0), R(3), R(2), U8(7), - B(Star), R(4), - /* 43 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), - B(ToBooleanLogicalNot), - B(JumpIfFalse), U8(7), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(4), U8(1), - B(LdaNamedProperty), R(4), U8(3), U8(9), - B(JumpIfToBooleanTrue), U8(43), - B(LdaNamedProperty), R(4), U8(4), U8(11), + B(LdaNamedProperty), R(3), U8(2), U8(5), + B(Star), R(2), + B(LdaFalse), B(Star), R(6), - B(LdaSmi), I8(2), - B(Star), R(5), - B(Mov), R(6), R(0), + B(Mov), R(context), R(9), + B(LdaTrue), + B(Star), R(6), + /* 43 S> */ B(CallProperty0), R(2), R(3), U8(7), + B(Star), R(10), + B(JumpIfJSReceiver), U8(7), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(10), U8(1), + B(LdaNamedProperty), R(10), U8(3), U8(9), + B(JumpIfToBooleanTrue), U8(39), + B(LdaNamedProperty), R(10), U8(4), U8(11), + B(Star), R(10), + B(LdaFalse), + B(Star), R(6), + B(Mov), R(10), R(1), /* 34 E> */ B(StackCheck), - B(Mov), R(0), R(1), + /* 43 S> */ B(Mov), R(1), R(0), /* 66 S> */ B(LdaSmi), I8(10), - /* 72 E> */ B(TestEqual), R(1), U8(13), + /* 72 E> */ B(TestEqual), R(0), U8(13), B(JumpIfFalse), U8(4), - /* 79 S> */ B(Jump), U8(14), + /* 79 S> */ B(Jump), U8(11), /* 91 S> */ B(LdaSmi), I8(20), - /* 97 E> */ B(TestEqual), R(1), U8(14), + /* 97 E> */ B(TestEqual), R(0), U8(14), B(JumpIfFalse), U8(4), - /* 104 S> */ B(Jump), U8(8), - B(LdaZero), - B(Star), R(5), - B(JumpLoop), U8(62), I8(0), - B(Jump), U8(33), - B(Star), R(13), - B(CreateCatchContext), R(13), U8(5), - B(PushContext), R(13), - B(Star), R(12), - B(LdaSmi), I8(2), - B(TestEqualStrict), R(5), U8(15), - B(JumpIfFalse), U8(6), - B(LdaSmi), I8(1), - B(Star), R(5), - B(LdaImmutableCurrentContextSlot), U8(4), - B(Star), R(14), - B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), - B(PopContext), R(13), + /* 104 S> */ B(Jump), U8(5), + B(JumpLoop), U8(56), I8(0), B(LdaSmi), I8(-1), - B(Star), R(10), - B(Star), R(9), + B(Star), R(8), + B(Star), R(7), B(Jump), U8(7), - B(Star), R(10), + B(Star), R(8), B(LdaZero), - B(Star), R(9), + B(Star), R(7), B(LdaTheHole), B(SetPendingMessage), + B(Star), R(9), + B(Ldar), R(6), + B(JumpIfToBooleanTrue), U8(60), + B(LdaNamedProperty), R(3), U8(5), U8(15), B(Star), R(11), - B(LdaZero), - B(TestEqualStrict), R(5), U8(16), - B(JumpIfTrue), U8(90), - B(LdaNamedProperty), R(2), U8(6), U8(17), - B(Star), R(7), - B(TestUndetectable), - B(JumpIfFalse), U8(4), - B(Jump), U8(79), - B(LdaSmi), I8(1), - B(TestEqualStrict), R(5), U8(19), - B(JumpIfFalse), U8(47), - B(Ldar), R(7), + B(JumpIfUndefined), U8(52), + B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), - B(JumpIfFalse), U8(4), - B(Jump), U8(18), + B(JumpIfTrue), U8(18), B(Wide), B(LdaSmi), I16(154), B(Star), R(12), - B(LdaConstant), U8(7), + B(LdaConstant), U8(6), B(Star), R(13), B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), B(Throw), B(Mov), R(context), R(12), - B(Mov), R(7), R(13), - B(Mov), R(2), R(14), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), - B(Jump), U8(6), - B(LdaTheHole), - B(SetPendingMessage), + B(CallProperty0), R(11), R(3), U8(17), + B(JumpIfJSReceiver), U8(21), + B(Star), R(13), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), + B(Jump), U8(12), + B(Star), R(12), + B(LdaZero), + B(TestReferenceEqual), R(7), + B(JumpIfTrue), U8(5), B(Ldar), R(12), - B(Jump), U8(27), - B(Mov), R(7), R(12), - B(Mov), R(2), R(13), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), - 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(8), U8(1), - B(Ldar), R(11), + B(ReThrow), + B(Ldar), R(9), B(SetPendingMessage), B(LdaZero), - B(TestReferenceEqual), R(9), + B(TestReferenceEqual), R(7), B(JumpIfFalse), U8(5), - B(Ldar), R(10), + B(Ldar), R(8), B(ReThrow), B(LdaUndefined), /* 113 S> */ B(Return), @@ -400,14 +312,12 @@ constant pool: [ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], - SCOPE_INFO_TYPE, ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], ONE_BYTE_INTERNALIZED_STRING_TYPE [""], ] handlers: [ - [7, 139, 147], - [10, 106, 108], - [207, 217, 219], + [38, 97, 105], + [151, 164, 166], ] --- @@ -417,116 +327,90 @@ snippet: " " frame size: 14 parameter count: 1 -bytecode array length: 265 +bytecode array length: 195 bytecodes: [ /* 30 E> */ B(StackCheck), - /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(41), R(8), - B(Mov), R(8), R(0), - B(LdaZero), - B(Star), R(4), - B(Mov), R(context), R(10), - B(Mov), R(context), R(11), + /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(41), + B(Star), R(0), /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(37), - B(Star), R(12), - B(LdaNamedProperty), R(12), U8(2), U8(2), - B(Star), R(13), - B(CallProperty0), R(13), R(12), U8(4), + B(Star), R(3), + B(LdaNamedProperty), R(3), U8(2), U8(2), + B(Star), R(4), + B(CallProperty0), R(4), R(3), U8(4), B(JumpIfJSReceiver), U8(7), B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), - B(Star), R(1), - /* 77 E> */ B(LdaNamedProperty), R(1), U8(3), U8(6), B(Star), R(2), - /* 68 S> */ B(CallProperty0), R(2), R(1), U8(8), - B(Star), R(3), - /* 68 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), - B(ToBooleanLogicalNot), - B(JumpIfFalse), U8(7), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(3), U8(1), - B(LdaNamedProperty), R(3), U8(4), U8(10), - B(JumpIfToBooleanTrue), U8(30), - /* 67 E> */ B(LdaNamedProperty), R(3), U8(5), U8(12), + B(LdaNamedProperty), R(2), U8(3), U8(6), + B(Star), R(1), + B(LdaFalse), B(Star), R(5), - B(LdaSmi), I8(2), - B(Star), R(4), - B(Ldar), R(5), - B(StaNamedProperty), R(0), U8(6), U8(14), + B(Mov), R(context), R(8), + B(LdaTrue), + B(Star), R(5), + /* 68 S> */ B(CallProperty0), R(1), R(2), U8(8), + B(Star), R(9), + B(JumpIfJSReceiver), U8(7), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(9), U8(1), + B(LdaNamedProperty), R(9), U8(4), U8(10), + B(JumpIfToBooleanTrue), U8(33), + B(LdaNamedProperty), R(9), U8(5), U8(12), + B(Star), R(9), + B(LdaFalse), + B(Star), R(5), + B(Ldar), R(9), + /* 67 E> */ B(StaNamedProperty), R(0), U8(6), U8(14), /* 62 E> */ B(StackCheck), /* 96 S> */ B(LdaNamedProperty), R(0), U8(6), U8(16), - B(Star), R(9), - B(LdaZero), - B(Star), R(8), - B(Jump), U8(49), - B(Jump), U8(33), - B(Star), R(12), - B(CreateCatchContext), R(12), U8(7), - B(PushContext), R(12), - B(Star), R(11), - B(LdaSmi), I8(2), - B(TestEqualStrict), R(4), U8(18), - B(JumpIfFalse), U8(6), + B(Star), R(7), B(LdaSmi), I8(1), - B(Star), R(4), - B(LdaImmutableCurrentContextSlot), U8(4), - B(Star), R(13), - B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), - B(PopContext), R(12), + B(Star), R(6), + B(Mov), R(0), R(10), + B(Jump), U8(15), B(LdaSmi), I8(-1), - B(Star), R(9), - B(Star), R(8), - B(Jump), U8(8), - B(Star), R(9), - B(LdaSmi), I8(1), - B(Star), R(8), - B(LdaTheHole), - B(SetPendingMessage), - B(Star), R(10), + B(Star), R(7), + B(Star), R(6), + B(Jump), U8(7), + B(Star), R(7), B(LdaZero), - B(TestEqualStrict), R(4), U8(19), - B(JumpIfTrue), U8(90), - B(LdaNamedProperty), R(1), U8(8), U8(20), B(Star), R(6), - B(TestUndetectable), - B(JumpIfFalse), U8(4), - B(Jump), U8(79), - B(LdaSmi), I8(1), - B(TestEqualStrict), R(4), U8(22), - B(JumpIfFalse), U8(47), - B(Ldar), R(6), + B(LdaTheHole), + B(SetPendingMessage), + B(Star), R(8), + B(Ldar), R(5), + B(JumpIfToBooleanTrue), U8(60), + B(LdaNamedProperty), R(2), U8(7), U8(18), + B(Star), R(11), + B(JumpIfUndefined), U8(52), + B(JumpIfNull), U8(50), B(TestTypeOf), U8(6), - B(JumpIfFalse), U8(4), - B(Jump), U8(18), + B(JumpIfTrue), U8(18), B(Wide), B(LdaSmi), I16(154), - B(Star), R(11), - B(LdaConstant), U8(9), B(Star), R(12), - B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), + B(LdaConstant), U8(8), + B(Star), R(13), + B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), B(Throw), - B(Mov), R(context), R(11), - B(Mov), R(6), R(12), - B(Mov), R(1), R(13), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), - B(Jump), U8(6), - B(LdaTheHole), - B(SetPendingMessage), - B(Ldar), R(11), - B(Jump), U8(27), - B(Mov), R(6), R(11), - B(Mov), R(1), R(12), - B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), - B(Star), R(7), - B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1), - B(JumpIfToBooleanFalse), U8(4), - B(Jump), U8(7), - B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(7), U8(1), - B(Ldar), R(10), - B(SetPendingMessage), + B(Mov), R(context), R(12), + B(CallProperty0), R(11), R(2), U8(20), + B(JumpIfJSReceiver), U8(21), + B(Star), R(13), + B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), + B(Jump), U8(12), + B(Star), R(12), + B(LdaZero), + B(TestReferenceEqual), R(6), + B(JumpIfTrue), U8(5), + B(Ldar), R(12), + B(ReThrow), B(Ldar), R(8), - B(SwitchOnSmiNoFeedback), U8(10), U8(2), I8(0), + B(SetPendingMessage), + B(Ldar), R(6), + B(SwitchOnSmiNoFeedback), U8(9), U8(2), I8(0), B(Jump), U8(8), - B(Ldar), R(9), - /* 105 S> */ B(Return), - B(Ldar), R(9), + B(Ldar), R(7), B(ReThrow), + B(Ldar), R(7), + /* 105 S> */ B(Return), B(LdaUndefined), /* 105 S> */ B(Return), ] @@ -538,15 +422,13 @@ constant pool: [ ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], - SCOPE_INFO_TYPE, ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], ONE_BYTE_INTERNALIZED_STRING_TYPE [""], Smi [6], Smi [9], ] handlers: [ - [15, 134, 142], - [18, 101, 103], - [203, 213, 215], + [44, 97, 105], + [151, 164, 166], ] |