2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
pool type: mixed
|
|
|
|
execute: yes
|
|
|
|
wrap: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
for (var p of [0, 1, 2]) {}
|
|
|
|
"
|
2016-02-26 14:22:07 +00:00
|
|
|
frame size: 16
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-04-04 08:14:57 +00:00
|
|
|
bytecode array length: 347
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
|
|
|
B(StackCheck),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
B(Star), R(4),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Mov), R(context), R(11),
|
|
|
|
B(Mov), R(context), R(12),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(CreateArrayLiteral), U8(0), U8(0), U8(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaConstant), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(KeyedLoadIC), R(14), U8(3),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Call), R(13), R(14), U8(1), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(15),
|
|
|
|
B(LoadIC), R(15), U8(2), U8(7),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(Call), R(14), R(15), U8(1), U8(5),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LogicalNot),
|
|
|
|
B(JumpIfFalse), U8(11),
|
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(LoadIC), R(13), U8(3), U8(9),
|
|
|
|
B(JumpIfToBooleanTrue), U8(28),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(3),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(LoadIC), R(13), U8(4), U8(11),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(4),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(StackCheck),
|
|
|
|
B(Ldar), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(7),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(3),
|
|
|
|
B(Jump), U8(-70),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Jump), U8(47),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(LdaConstant), U8(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(PushContext), R(8),
|
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(13),
|
|
|
|
B(JumpIfFalse), U8(6),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(LdaContextSlot), R(context), U8(4),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
|
|
|
|
B(PopContext), R(8),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(-1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(9),
|
|
|
|
B(Jump), U8(7),
|
|
|
|
B(Star), R(10),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(9),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(12),
|
|
|
|
B(JumpIfTrue), U8(9),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(TestEqualStrict), R(12),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LogicalNot),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalseConstant), U8(9),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LoadIC), R(12), U8(6), U8(13),
|
|
|
|
B(Star), R(5),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaNull),
|
|
|
|
B(TestEqual), R(12),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(124),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalse), U8(79),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(5),
|
|
|
|
B(TypeOf),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaConstant), U8(7),
|
|
|
|
B(TestEqualStrict), R(12),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(18),
|
2016-04-28 22:49:44 +00:00
|
|
|
B(Wide), B(LdaSmi), U16(130),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaConstant), U8(8),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
|
|
|
|
B(Throw),
|
|
|
|
B(Mov), R(context), R(12),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2),
|
|
|
|
B(Jump), U8(30),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(LdaConstant), U8(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Ldar), R(12),
|
|
|
|
B(PushContext), R(8),
|
|
|
|
B(PopContext), R(8),
|
|
|
|
B(Jump), U8(37),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2),
|
|
|
|
B(Star), R(6),
|
|
|
|
B(Star), R(12),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(JumpIfToBooleanFalse), U8(4),
|
|
|
|
B(Jump), U8(11),
|
|
|
|
B(Ldar), R(6),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(11), U8(1),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(9),
|
|
|
|
B(JumpIfTrue), U8(4),
|
|
|
|
B(Jump), U8(5),
|
|
|
|
B(Ldar), R(10),
|
|
|
|
B(ReThrow),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
InstanceType::FIXED_ARRAY_TYPE,
|
|
|
|
InstanceType::SYMBOL_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
2016-02-26 14:22:07 +00:00
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
kInstanceTypeDontCare,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
2016-04-04 08:14:57 +00:00
|
|
|
[10, 152, 158],
|
2016-02-26 14:22:07 +00:00
|
|
|
[13, 105, 107],
|
2016-04-04 08:14:57 +00:00
|
|
|
[250, 263, 265],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 'potatoes';
|
|
|
|
for (var p of x) { return p; }
|
|
|
|
"
|
2016-02-26 14:22:07 +00:00
|
|
|
frame size: 17
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-04-04 08:14:57 +00:00
|
|
|
bytecode array length: 363
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
|
|
|
B(StackCheck),
|
|
|
|
B(LdaConstant), U8(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(7),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(Star), R(4),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Mov), R(context), R(12),
|
|
|
|
B(Mov), R(context), R(13),
|
|
|
|
B(Ldar), R(7),
|
|
|
|
B(Star), R(15),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaConstant), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(KeyedLoadIC), R(15), U8(3),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(Call), R(14), R(15), U8(1), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(16),
|
|
|
|
B(LoadIC), R(16), U8(2), U8(7),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(Call), R(15), R(16), U8(1), U8(5),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(14), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LogicalNot),
|
|
|
|
B(JumpIfFalse), U8(11),
|
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(14), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(LoadIC), R(14), U8(3), U8(9),
|
|
|
|
B(JumpIfToBooleanTrue), U8(32),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(3),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(LoadIC), R(14), U8(4), U8(11),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(4),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(StackCheck),
|
|
|
|
B(Ldar), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(8),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(10),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Jump), U8(63),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Jump), U8(-74),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Jump), U8(47),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(15),
|
|
|
|
B(LdaConstant), U8(5),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(16),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(PushContext), R(9),
|
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(14),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(14),
|
|
|
|
B(JumpIfFalse), U8(6),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(3),
|
|
|
|
B(LdaContextSlot), R(context), U8(4),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1),
|
|
|
|
B(PopContext), R(9),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(-1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(10),
|
|
|
|
B(Jump), U8(8),
|
|
|
|
B(Star), R(11),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(10),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(13),
|
|
|
|
B(JumpIfTrue), U8(9),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(TestEqualStrict), R(13),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LogicalNot),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalseConstant), U8(9),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(LoadIC), R(13), U8(6), U8(13),
|
|
|
|
B(Star), R(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(LdaNull),
|
|
|
|
B(TestEqual), R(13),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(124),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalse), U8(79),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(5),
|
|
|
|
B(TypeOf),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(LdaConstant), U8(7),
|
|
|
|
B(TestEqualStrict), R(13),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(18),
|
2016-04-28 22:49:44 +00:00
|
|
|
B(Wide), B(LdaSmi), U16(130),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaConstant), U8(8),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2),
|
|
|
|
B(Throw),
|
|
|
|
B(Mov), R(context), R(13),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(14), U8(2),
|
|
|
|
B(Jump), U8(30),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(LdaConstant), U8(5),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(16),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Ldar), R(13),
|
|
|
|
B(PushContext), R(9),
|
|
|
|
B(PopContext), R(9),
|
|
|
|
B(Jump), U8(37),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2),
|
|
|
|
B(Star), R(6),
|
|
|
|
B(Star), R(13),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(JumpIfToBooleanFalse), U8(4),
|
|
|
|
B(Jump), U8(11),
|
|
|
|
B(Ldar), R(6),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(12), U8(1),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(10),
|
|
|
|
B(JumpIfTrue), U8(10),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(10),
|
|
|
|
B(JumpIfTrue), U8(7),
|
|
|
|
B(Jump), U8(8),
|
|
|
|
B(Ldar), R(11),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Return),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(11),
|
|
|
|
B(ReThrow),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::SYMBOL_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
2016-02-26 14:22:07 +00:00
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
kInstanceTypeDontCare,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
2016-04-04 08:14:57 +00:00
|
|
|
[14, 158, 164],
|
2016-02-26 14:22:07 +00:00
|
|
|
[17, 111, 113],
|
2016-04-04 08:14:57 +00:00
|
|
|
[257, 270, 272],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
for (var x of [10, 20, 30]) {
|
|
|
|
if (x == 10) continue;
|
|
|
|
if (x == 20) break;
|
|
|
|
}
|
|
|
|
"
|
2016-02-26 14:22:07 +00:00
|
|
|
frame size: 16
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-04-04 08:14:57 +00:00
|
|
|
bytecode array length: 369
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
|
|
|
B(StackCheck),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
B(Star), R(4),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Mov), R(context), R(11),
|
|
|
|
B(Mov), R(context), R(12),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(CreateArrayLiteral), U8(0), U8(0), U8(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaConstant), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(KeyedLoadIC), R(14), U8(3),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Call), R(13), R(14), U8(1), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(15),
|
|
|
|
B(LoadIC), R(15), U8(2), U8(7),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(Call), R(14), R(15), U8(1), U8(5),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LogicalNot),
|
|
|
|
B(JumpIfFalse), U8(11),
|
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(LoadIC), R(13), U8(3), U8(9),
|
|
|
|
B(JumpIfToBooleanTrue), U8(50),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(3),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(LoadIC), R(13), U8(4), U8(11),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(4),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(StackCheck),
|
|
|
|
B(Ldar), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(7),
|
|
|
|
B(Star), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(10),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqual), R(13),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(JumpIfFalse), U8(4),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Jump), U8(-75),
|
|
|
|
B(Ldar), R(7),
|
|
|
|
B(Star), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(20),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqual), R(13),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(JumpIfFalse), U8(4),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Jump), U8(7),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(3),
|
|
|
|
B(Jump), U8(-92),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Jump), U8(47),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(LdaConstant), U8(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(PushContext), R(8),
|
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(13),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(13),
|
|
|
|
B(JumpIfFalse), U8(6),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(3),
|
|
|
|
B(LdaContextSlot), R(context), U8(4),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
|
|
|
|
B(PopContext), R(8),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(-1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(9),
|
|
|
|
B(Jump), U8(7),
|
|
|
|
B(Star), R(10),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(9),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(12),
|
|
|
|
B(JumpIfTrue), U8(9),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(TestEqualStrict), R(12),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LogicalNot),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalseConstant), U8(9),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LoadIC), R(12), U8(6), U8(13),
|
|
|
|
B(Star), R(5),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaNull),
|
|
|
|
B(TestEqual), R(12),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(124),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(3),
|
|
|
|
B(Star), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalse), U8(79),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(5),
|
|
|
|
B(TypeOf),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LdaConstant), U8(7),
|
|
|
|
B(TestEqualStrict), R(12),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(18),
|
2016-04-28 22:49:44 +00:00
|
|
|
B(Wide), B(LdaSmi), U16(130),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaConstant), U8(8),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
|
|
|
|
B(Throw),
|
|
|
|
B(Mov), R(context), R(12),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2),
|
|
|
|
B(Jump), U8(30),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(LdaConstant), U8(5),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(15),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Ldar), R(12),
|
|
|
|
B(PushContext), R(8),
|
|
|
|
B(PopContext), R(8),
|
|
|
|
B(Jump), U8(37),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Ldar), R(1),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2),
|
|
|
|
B(Star), R(6),
|
|
|
|
B(Star), R(12),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(JumpIfToBooleanFalse), U8(4),
|
|
|
|
B(Jump), U8(11),
|
|
|
|
B(Ldar), R(6),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(11), U8(1),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(9),
|
|
|
|
B(JumpIfTrue), U8(4),
|
|
|
|
B(Jump), U8(5),
|
|
|
|
B(Ldar), R(10),
|
|
|
|
B(ReThrow),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
InstanceType::FIXED_ARRAY_TYPE,
|
|
|
|
InstanceType::SYMBOL_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
2016-02-26 14:22:07 +00:00
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
kInstanceTypeDontCare,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
2016-04-04 08:14:57 +00:00
|
|
|
[10, 174, 180],
|
2016-02-26 14:22:07 +00:00
|
|
|
[13, 127, 129],
|
2016-04-04 08:14:57 +00:00
|
|
|
[272, 285, 287],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = { 'a': 1, 'b': 2 };
|
|
|
|
for (x['a'] of [1,2,3]) { return x['a']; }
|
|
|
|
"
|
2016-02-26 14:22:07 +00:00
|
|
|
frame size: 15
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-04-04 08:14:57 +00:00
|
|
|
bytecode array length: 379
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
|
|
|
B(StackCheck),
|
2016-03-08 22:13:23 +00:00
|
|
|
B(CreateObjectLiteral), U8(0), U8(0), U8(5),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(8),
|
|
|
|
B(Star), R(6),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(Star), R(3),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Mov), R(context), R(10),
|
|
|
|
B(Mov), R(context), R(11),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(CreateArrayLiteral), U8(1), U8(1), U8(3),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaConstant), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(KeyedLoadIC), R(13), U8(3),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Call), R(12), R(13), U8(1), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(0),
|
|
|
|
B(Ldar), R(0),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(14),
|
|
|
|
B(LoadIC), R(14), U8(3), U8(7),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(Call), R(13), R(14), U8(1), U8(5),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Star), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LogicalNot),
|
|
|
|
B(JumpIfFalse), U8(11),
|
|
|
|
B(Ldar), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
|
|
|
B(LoadIC), R(12), U8(4), U8(9),
|
|
|
|
B(JumpIfToBooleanTrue), U8(42),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(2),
|
|
|
|
B(Ldar), R(6),
|
|
|
|
B(Star), R(12),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(LoadIC), R(13), U8(5), U8(11),
|
|
|
|
B(StoreICSloppy), R(12), U8(6), U8(13),
|
|
|
|
B(Ldar), R(3),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(StackCheck),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(6),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(LoadIC), R(12), U8(6), U8(15),
|
|
|
|
B(Star), R(9),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(8),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Jump), U8(63),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Jump), U8(-84),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Jump), U8(47),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(13),
|
|
|
|
B(LdaConstant), U8(7),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(PushContext), R(7),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Ldar), R(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(2),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(12),
|
|
|
|
B(JumpIfFalse), U8(6),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(2),
|
|
|
|
B(LdaContextSlot), R(context), U8(4),
|
2016-04-04 08:14:57 +00:00
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
|
|
|
|
B(PopContext), R(7),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(-1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(8),
|
|
|
|
B(Jump), U8(8),
|
|
|
|
B(Star), R(9),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(8),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Star), R(10),
|
|
|
|
B(Ldar), R(2),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(11),
|
|
|
|
B(JumpIfTrue), U8(9),
|
|
|
|
B(Ldar), R(0),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(TestEqualStrict), R(11),
|
2016-03-10 09:33:29 +00:00
|
|
|
B(LogicalNot),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalseConstant), U8(11),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(0),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(LoadIC), R(11), U8(8), U8(17),
|
|
|
|
B(Star), R(4),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(LdaNull),
|
|
|
|
B(TestEqual), R(11),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(124),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(2),
|
|
|
|
B(Star), R(11),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(11),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(JumpIfFalse), U8(79),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(4),
|
|
|
|
B(TypeOf),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(LdaConstant), U8(9),
|
|
|
|
B(TestEqualStrict), R(11),
|
|
|
|
B(JumpIfFalse), U8(4),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(Jump), U8(18),
|
2016-04-28 22:49:44 +00:00
|
|
|
B(Wide), B(LdaSmi), U16(130),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(11),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaConstant), U8(10),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
|
|
|
|
B(Throw),
|
|
|
|
B(Mov), R(context), R(11),
|
|
|
|
B(Ldar), R(4),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Ldar), R(0),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2),
|
|
|
|
B(Jump), U8(30),
|
|
|
|
B(Star), R(13),
|
|
|
|
B(LdaConstant), U8(7),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(Ldar), R(closure),
|
|
|
|
B(Star), R(14),
|
|
|
|
B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
|
|
|
|
B(Ldar), R(11),
|
|
|
|
B(PushContext), R(7),
|
|
|
|
B(PopContext), R(7),
|
|
|
|
B(Jump), U8(37),
|
|
|
|
B(Ldar), R(4),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(Ldar), R(0),
|
|
|
|
B(Star), R(12),
|
|
|
|
B(CallRuntime), U16(Runtime::k_Call), R(11), U8(2),
|
|
|
|
B(Star), R(5),
|
|
|
|
B(Star), R(11),
|
2016-03-22 11:35:09 +00:00
|
|
|
B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(JumpIfToBooleanFalse), U8(4),
|
|
|
|
B(Jump), U8(11),
|
|
|
|
B(Ldar), R(5),
|
|
|
|
B(Star), R(11),
|
|
|
|
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1),
|
|
|
|
B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(10), U8(1),
|
|
|
|
B(LdaZero),
|
|
|
|
B(TestEqualStrict), R(8),
|
|
|
|
B(JumpIfTrue), U8(10),
|
2016-03-21 17:08:21 +00:00
|
|
|
B(LdaSmi), U8(1),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(TestEqualStrict), R(8),
|
|
|
|
B(JumpIfTrue), U8(7),
|
|
|
|
B(Jump), U8(8),
|
|
|
|
B(Ldar), R(9),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(Return),
|
2016-02-26 14:22:07 +00:00
|
|
|
B(Ldar), R(9),
|
|
|
|
B(ReThrow),
|
2016-02-25 12:07:07 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
InstanceType::FIXED_ARRAY_TYPE,
|
|
|
|
InstanceType::FIXED_ARRAY_TYPE,
|
|
|
|
InstanceType::SYMBOL_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
2016-02-26 14:22:07 +00:00
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
|
|
kInstanceTypeDontCare,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
2016-04-04 08:14:57 +00:00
|
|
|
[18, 174, 180],
|
2016-02-26 14:22:07 +00:00
|
|
|
[21, 127, 129],
|
2016-04-04 08:14:57 +00:00
|
|
|
[273, 286, 288],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
|