Index: test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden b/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden |
index 151ca886fdd3368c15370abb89a1959b9fea8eec..8573a1a0cfbe1792c514e065b2d401c377910397 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden |
@@ -21,16 +21,16 @@ frame size: 2 |
parameter count: 1 |
bytecode array length: 17 |
bytecodes: [ |
- B(StackCheck), |
- B(LdaZero), |
- B(Star), R(0), |
- B(Star), R(1), |
- B(LdaSmi), U8(1), |
- B(Add), R(1), |
- B(Star), R(0), |
- B(Jump), U8(2), |
- B(Ldar), R(0), |
- B(Return), |
+ /* 30 E> */ B(StackCheck), |
+ /* 42 S> */ B(LdaZero), |
+ /* 42 E> */ B(Star), R(0), |
+ /* 56 S> */ B(Star), R(1), |
+ B(LdaSmi), U8(1), |
+ B(Add), R(1), |
+ /* 58 E> */ B(Star), R(0), |
+ /* 69 S> */ B(Jump), U8(2), |
+ /* 97 S> */ B(Ldar), R(0), |
+ /* 107 S> */ B(Return), |
] |
constant pool: [ |
] |
@@ -54,47 +54,47 @@ frame size: 5 |
parameter count: 1 |
bytecode array length: 72 |
bytecodes: [ |
- B(StackCheck), |
- B(LdaZero), |
- B(Star), R(0), |
- B(LdaZero), |
- B(Star), R(1), |
- B(Ldar), R(1), |
- B(Star), R(3), |
- B(LdaSmi), U8(10), |
- B(TestLessThan), R(3), |
- B(JumpIfFalse), U8(54), |
- B(StackCheck), |
- B(LdaZero), |
- B(Star), R(2), |
- B(Ldar), R(2), |
- B(Star), R(3), |
- B(LdaSmi), U8(3), |
- B(TestLessThan), R(3), |
- B(JumpIfFalse), U8(33), |
- B(StackCheck), |
- B(Ldar), R(0), |
- B(Inc), |
- B(Star), R(0), |
- B(Ldar), R(1), |
- B(Star), R(3), |
- B(Ldar), R(2), |
- B(Add), R(3), |
- B(Star), R(4), |
- B(LdaSmi), U8(12), |
- B(TestEqual), R(4), |
- B(JumpIfFalse), U8(4), |
- B(Jump), U8(16), |
- B(Ldar), R(2), |
- B(Inc), |
- B(Star), R(2), |
- B(Jump), U8(-39), |
- B(Ldar), R(1), |
- B(Inc), |
- B(Star), R(1), |
- B(Jump), U8(-60), |
- B(Ldar), R(0), |
- B(Return), |
+ /* 30 E> */ B(StackCheck), |
+ /* 44 S> */ B(LdaZero), |
+ /* 44 E> */ B(Star), R(0), |
+ /* 71 S> */ B(LdaZero), |
+ /* 71 E> */ B(Star), R(1), |
+ /* 76 S> */ B(Ldar), R(1), |
+ B(Star), R(3), |
+ B(LdaSmi), U8(10), |
+ /* 76 E> */ B(TestLessThan), R(3), |
+ B(JumpIfFalse), U8(54), |
+ /* 58 E> */ B(StackCheck), |
+ /* 106 S> */ B(LdaZero), |
+ /* 106 E> */ B(Star), R(2), |
+ /* 111 S> */ B(Ldar), R(2), |
+ B(Star), R(3), |
+ B(LdaSmi), U8(3), |
+ /* 111 E> */ B(TestLessThan), R(3), |
+ B(JumpIfFalse), U8(33), |
+ /* 93 E> */ B(StackCheck), |
+ /* 129 S> */ B(Ldar), R(0), |
+ B(Inc), |
+ /* 131 E> */ B(Star), R(0), |
+ /* 142 S> */ B(Ldar), R(1), |
+ B(Star), R(3), |
+ /* 150 E> */ B(Ldar), R(2), |
+ B(Add), R(3), |
+ B(Star), R(4), |
+ B(LdaSmi), U8(12), |
+ /* 152 E> */ B(TestEqual), R(4), |
+ B(JumpIfFalse), U8(4), |
+ /* 161 S> */ B(Jump), U8(16), |
+ /* 118 S> */ B(Ldar), R(2), |
+ B(Inc), |
+ /* 118 E> */ B(Star), R(2), |
+ B(Jump), U8(-39), |
+ /* 84 S> */ B(Ldar), R(1), |
+ B(Inc), |
+ /* 84 E> */ B(Star), R(1), |
+ B(Jump), U8(-60), |
+ /* 188 S> */ B(Ldar), R(0), |
+ /* 200 S> */ B(Return), |
] |
constant pool: [ |
] |
@@ -113,29 +113,29 @@ frame size: 5 |
parameter count: 1 |
bytecode array length: 51 |
bytecodes: [ |
- B(StackCheck), |
- B(LdaConstant), U8(0), |
- B(Star), R(3), |
- B(Ldar), R(closure), |
- B(Star), R(4), |
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(3), U8(2), |
- B(PushContext), R(2), |
- B(LdaTheHole), |
- B(StaContextSlot), R(context), U8(4), |
- B(CreateClosure), U8(1), U8(0), |
- B(Star), R(0), |
- B(LdaSmi), U8(10), |
- B(StaContextSlot), R(context), U8(4), |
- B(Ldar), R(0), |
- B(JumpIfNotHole), U8(11), |
- B(LdaConstant), U8(2), |
- B(Star), R(3), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
- B(Star), R(1), |
- B(Jump), U8(2), |
- B(PopContext), R(2), |
- B(LdaUndefined), |
- B(Return), |
+ /* 30 E> */ B(StackCheck), |
+ B(LdaConstant), U8(0), |
+ B(Star), R(3), |
+ B(Ldar), R(closure), |
+ B(Star), R(4), |
+ B(CallRuntime), U16(Runtime::kPushBlockContext), R(3), U8(2), |
+ B(PushContext), R(2), |
+ B(LdaTheHole), |
+ B(StaContextSlot), R(context), U8(4), |
+ B(CreateClosure), U8(1), U8(0), |
+ B(Star), R(0), |
+ /* 53 S> */ B(LdaSmi), U8(10), |
+ /* 53 E> */ B(StaContextSlot), R(context), U8(4), |
+ B(Ldar), R(0), |
+ B(JumpIfNotHole), U8(11), |
+ B(LdaConstant), U8(2), |
+ B(Star), R(3), |
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
+ B(Star), R(1), |
+ /* 88 S> */ B(Jump), U8(2), |
+ B(PopContext), R(2), |
+ B(LdaUndefined), |
+ /* 103 S> */ B(Return), |
] |
constant pool: [ |
InstanceType::FIXED_ARRAY_TYPE, |
@@ -162,60 +162,60 @@ frame size: 6 |
parameter count: 1 |
bytecode array length: 131 |
bytecodes: [ |
- B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
- B(PushContext), R(2), |
- B(LdaTheHole), |
- B(StaContextSlot), R(context), U8(4), |
- B(StackCheck), |
- B(LdaSmi), U8(1), |
- B(StaContextSlot), R(context), U8(4), |
- B(LdaConstant), U8(0), |
- B(Star), R(4), |
- B(Ldar), R(closure), |
- B(Star), R(5), |
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), |
- B(PushContext), R(3), |
- B(LdaTheHole), |
- B(StaContextSlot), R(context), U8(4), |
- B(CreateClosure), U8(1), U8(0), |
- B(Star), R(0), |
- B(LdaSmi), U8(2), |
- B(StaContextSlot), R(context), U8(4), |
- B(Ldar), R(0), |
- B(JumpIfNotHole), U8(11), |
- B(LdaConstant), U8(2), |
- B(Star), R(4), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
- B(Star), R(1), |
- B(LdaContextSlot), R(context), U8(4), |
- B(JumpIfNotHole), U8(11), |
- B(LdaConstant), U8(3), |
- B(Star), R(4), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
- B(JumpIfToBooleanFalse), U8(6), |
- B(PopContext), R(3), |
- B(Jump), U8(27), |
- B(LdaSmi), U8(3), |
- B(Star), R(4), |
- B(LdaContextSlot), R(context), U8(4), |
- B(JumpIfNotHole), U8(11), |
- B(LdaConstant), U8(3), |
- B(Star), R(5), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
- B(Ldar), R(4), |
- B(StaContextSlot), R(context), U8(4), |
- B(PopContext), R(3), |
- B(LdaSmi), U8(4), |
- B(Star), R(4), |
- B(LdaContextSlot), R(context), U8(4), |
- B(JumpIfNotHole), U8(11), |
- B(LdaConstant), U8(4), |
- B(Star), R(5), |
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
- B(Ldar), R(4), |
- B(StaContextSlot), R(context), U8(4), |
- B(LdaUndefined), |
- B(Return), |
+ B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
+ B(PushContext), R(2), |
+ B(LdaTheHole), |
+ B(StaContextSlot), R(context), U8(4), |
+ /* 30 E> */ B(StackCheck), |
+ /* 42 S> */ B(LdaSmi), U8(1), |
+ /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
+ B(LdaConstant), U8(0), |
+ B(Star), R(4), |
+ B(Ldar), R(closure), |
+ B(Star), R(5), |
+ B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), |
+ B(PushContext), R(3), |
+ B(LdaTheHole), |
+ B(StaContextSlot), R(context), U8(4), |
+ B(CreateClosure), U8(1), U8(0), |
+ B(Star), R(0), |
+ /* 76 S> */ B(LdaSmi), U8(2), |
+ /* 76 E> */ B(StaContextSlot), R(context), U8(4), |
+ B(Ldar), R(0), |
+ B(JumpIfNotHole), U8(11), |
+ B(LdaConstant), U8(2), |
+ B(Star), R(4), |
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
+ B(Star), R(1), |
+ /* 118 S> */ B(LdaContextSlot), R(context), U8(4), |
+ B(JumpIfNotHole), U8(11), |
+ B(LdaConstant), U8(3), |
+ B(Star), R(4), |
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
+ B(JumpIfToBooleanFalse), U8(6), |
+ /* 125 S> */ B(PopContext), R(3), |
+ B(Jump), U8(27), |
+ /* 142 S> */ B(LdaSmi), U8(3), |
+ /* 144 E> */ B(Star), R(4), |
+ B(LdaContextSlot), R(context), U8(4), |
+ B(JumpIfNotHole), U8(11), |
+ B(LdaConstant), U8(3), |
+ B(Star), R(5), |
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
+ B(Ldar), R(4), |
+ B(StaContextSlot), R(context), U8(4), |
+ B(PopContext), R(3), |
+ /* 155 S> */ B(LdaSmi), U8(4), |
+ /* 157 E> */ B(Star), R(4), |
+ B(LdaContextSlot), R(context), U8(4), |
+ B(JumpIfNotHole), U8(11), |
+ B(LdaConstant), U8(4), |
+ B(Star), R(5), |
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
+ B(Ldar), R(4), |
+ B(StaContextSlot), R(context), U8(4), |
+ B(LdaUndefined), |
+ /* 162 S> */ B(Return), |
] |
constant pool: [ |
InstanceType::FIXED_ARRAY_TYPE, |