diff options
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden')
-rw-r--r-- | deps/v8/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden | 226 |
1 files changed, 113 insertions, 113 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden index 4d53c3afa5..c8fa67e343 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden @@ -13,10 +13,10 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 4 +bytecode array length: 3 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 97 S> */ B(Return), ] constant pool: [ @@ -34,10 +34,10 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 4 +bytecode array length: 3 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 86 S> */ B(Return), ] constant pool: [ @@ -59,21 +59,21 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 52 +bytecode array length: 48 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 53 S> */ B(LdaSmi), I8(1), - B(Star), R(1), + B(Star1), /* 65 S> */ B(LdaSmi), I8(10), /* 65 E> */ B(TestLessThan), R(0), U8(0), - B(JumpIfFalse), U8(37), + B(JumpIfFalse), U8(35), /* 75 S> */ B(Ldar), R(1), /* 81 E> */ B(MulSmi), I8(12), U8(1), - B(Star), R(1), + B(Star1), /* 89 S> */ B(Ldar), R(0), /* 95 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), + B(Star0), /* 102 S> */ B(LdaSmi), I8(3), /* 108 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), @@ -82,7 +82,7 @@ bytecodes: [ /* 132 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), /* 138 S> */ B(Jump), U8(5), - /* 56 E> */ B(JumpLoop), U8(39), I8(0), + /* 56 E> */ B(JumpLoop), U8(37), I8(0), /* 147 S> */ B(Ldar), R(1), /* 156 S> */ B(Return), ] @@ -106,34 +106,34 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 60 +bytecode array length: 58 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 62 S> */ B(LdaZero), /* 68 E> */ B(TestLessThan), R(0), U8(0), B(JumpIfFalse), U8(4), - /* 73 S> */ B(Jump), U8(45), + /* 73 S> */ B(Jump), U8(44), /* 85 S> */ B(LdaSmi), I8(3), /* 91 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 97 S> */ B(Jump), U8(39), + /* 97 S> */ B(Jump), U8(38), /* 106 S> */ B(LdaSmi), I8(4), /* 112 E> */ B(TestEqual), R(0), U8(2), B(JumpIfFalse), U8(4), - /* 118 S> */ B(Jump), U8(30), + /* 118 S> */ B(Jump), U8(29), /* 127 S> */ B(LdaSmi), I8(10), /* 133 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), - /* 140 S> */ B(Jump), U8(18), + /* 140 S> */ B(Jump), U8(17), /* 152 S> */ B(LdaSmi), I8(5), /* 158 E> */ B(TestEqual), R(0), U8(4), B(JumpIfFalse), U8(4), - /* 164 S> */ B(Jump), U8(12), + /* 164 S> */ B(Jump), U8(11), /* 173 S> */ B(Ldar), R(0), /* 179 E> */ B(AddSmi), I8(1), U8(5), - B(Star), R(0), - /* 45 E> */ B(JumpLoop), U8(51), I8(0), + B(Star0), + /* 45 E> */ B(JumpLoop), U8(50), I8(0), /* 186 S> */ B(Ldar), R(0), /* 195 S> */ B(Return), ] @@ -157,26 +157,26 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 43 +bytecode array length: 40 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 71 S> */ B(LdaSmi), I8(3), /* 71 E> */ B(TestLessThan), R(0), U8(0), - B(JumpIfFalse), U8(20), + B(JumpIfFalse), U8(19), /* 82 S> */ B(LdaSmi), I8(2), /* 88 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 94 S> */ B(Jump), U8(11), + /* 94 S> */ B(Jump), U8(10), /* 105 S> */ B(Ldar), R(0), /* 111 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), - B(Jump), U8(11), + B(Star0), + B(Jump), U8(10), /* 122 S> */ B(Ldar), R(0), /* 128 E> */ B(AddSmi), I8(1), U8(3), - B(Star), R(0), + B(Star0), /* 135 S> */ B(Jump), U8(5), - /* 45 E> */ B(JumpLoop), U8(34), I8(0), + /* 45 E> */ B(JumpLoop), U8(32), I8(0), /* 144 S> */ B(Ldar), R(0), /* 153 S> */ B(Return), ] @@ -197,21 +197,21 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 32 +bytecode array length: 28 bytecodes: [ /* 42 S> */ B(LdaSmi), I8(10), - B(Star), R(0), + B(Star0), /* 54 S> */ B(LdaSmi), I8(1), - B(Star), R(1), + B(Star1), /* 64 S> */ B(Ldar), R(0), - B(JumpIfToBooleanFalse), U8(19), + B(JumpIfToBooleanFalse), U8(17), /* 71 S> */ B(Ldar), R(1), /* 77 E> */ B(MulSmi), I8(12), U8(0), - B(Star), R(1), + B(Star1), /* 85 S> */ B(Ldar), R(0), /* 91 E> */ B(SubSmi), I8(1), U8(1), - B(Star), R(0), - /* 57 E> */ B(JumpLoop), U8(18), I8(0), + B(Star0), + /* 57 E> */ B(JumpLoop), U8(16), I8(0), /* 98 S> */ B(Ldar), R(1), /* 107 S> */ B(Return), ] @@ -233,30 +233,30 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 52 +bytecode array length: 48 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 53 S> */ B(LdaSmi), I8(1), - B(Star), R(1), + B(Star1), /* 63 S> */ B(Ldar), R(1), /* 69 E> */ B(MulSmi), I8(10), U8(0), - B(Star), R(1), + B(Star1), /* 77 S> */ B(LdaSmi), I8(5), /* 83 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 89 S> */ B(Jump), U8(28), + /* 89 S> */ B(Jump), U8(27), /* 98 S> */ B(LdaSmi), I8(6), /* 104 E> */ B(TestEqual), R(0), U8(2), B(JumpIfFalse), U8(4), - /* 110 S> */ B(Jump), U8(9), + /* 110 S> */ B(Jump), U8(8), /* 122 S> */ B(Ldar), R(0), /* 128 E> */ B(AddSmi), I8(1), U8(3), - B(Star), R(0), + B(Star0), /* 144 S> */ B(LdaSmi), I8(10), /* 144 E> */ B(TestLessThan), R(0), U8(4), B(JumpIfFalse), U8(5), - /* 56 E> */ B(JumpLoop), U8(39), I8(0), + /* 56 E> */ B(JumpLoop), U8(37), I8(0), /* 151 S> */ B(Ldar), R(1), /* 160 S> */ B(Return), ] @@ -277,20 +277,20 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 30 +bytecode array length: 26 bytecodes: [ /* 42 S> */ B(LdaSmi), I8(10), - B(Star), R(0), + B(Star0), /* 54 S> */ B(LdaSmi), I8(1), - B(Star), R(1), + B(Star1), /* 64 S> */ B(Ldar), R(1), /* 70 E> */ B(MulSmi), I8(12), U8(0), - B(Star), R(1), + B(Star1), /* 78 S> */ B(Ldar), R(0), /* 84 E> */ B(SubSmi), I8(1), U8(1), - B(Star), R(0), + B(Star0), /* 98 S> */ B(JumpIfToBooleanFalse), U8(5), - /* 57 E> */ B(JumpLoop), U8(16), I8(0), + /* 57 E> */ B(JumpLoop), U8(14), I8(0), /* 102 S> */ B(Ldar), R(1), /* 111 S> */ B(Return), ] @@ -312,21 +312,21 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 40 +bytecode array length: 36 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 53 S> */ B(LdaSmi), I8(1), - B(Star), R(1), + B(Star1), /* 69 S> */ B(MulSmi), I8(10), U8(0), - B(Star), R(1), + B(Star1), /* 77 S> */ B(LdaSmi), I8(5), /* 83 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 89 S> */ B(Jump), U8(18), + /* 89 S> */ B(Jump), U8(17), /* 98 S> */ B(Ldar), R(0), /* 104 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), + B(Star0), /* 111 S> */ B(LdaSmi), I8(6), /* 117 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), @@ -352,27 +352,27 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 45 +bytecode array length: 41 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 53 S> */ B(LdaSmi), I8(1), - B(Star), R(1), + B(Star1), /* 63 S> */ B(Ldar), R(1), /* 69 E> */ B(MulSmi), I8(10), U8(0), - B(Star), R(1), + B(Star1), /* 77 S> */ B(LdaSmi), I8(5), /* 83 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 89 S> */ B(Jump), U8(21), + /* 89 S> */ B(Jump), U8(20), /* 98 S> */ B(Ldar), R(0), /* 104 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), + B(Star0), /* 111 S> */ B(LdaSmi), I8(6), /* 117 E> */ B(TestEqual), R(0), U8(3), B(JumpIfFalse), U8(4), /* 123 S> */ B(Jump), U8(2), - /* 56 E> */ B(JumpLoop), U8(32), I8(0), + /* 56 E> */ B(JumpLoop), U8(30), I8(0), /* 149 S> */ B(Ldar), R(1), /* 158 S> */ B(Return), ] @@ -392,22 +392,22 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 33 +bytecode array length: 31 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 58 S> */ B(LdaSmi), I8(1), /* 64 E> */ B(TestEqual), R(0), U8(0), B(JumpIfFalse), U8(4), - /* 70 S> */ B(Jump), U8(21), + /* 70 S> */ B(Jump), U8(20), /* 79 S> */ B(LdaSmi), I8(2), /* 85 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 91 S> */ B(Jump), U8(9), + /* 91 S> */ B(Jump), U8(8), /* 103 S> */ B(Ldar), R(0), /* 109 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), - /* 45 E> */ B(JumpLoop), U8(25), I8(0), + B(Star0), + /* 45 E> */ B(JumpLoop), U8(24), I8(0), B(LdaUndefined), /* 116 S> */ B(Return), ] @@ -426,22 +426,22 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 33 +bytecode array length: 31 bytecodes: [ /* 47 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 56 S> */ B(LdaSmi), I8(1), /* 62 E> */ B(TestEqual), R(0), U8(0), B(JumpIfFalse), U8(4), - /* 68 S> */ B(Jump), U8(21), + /* 68 S> */ B(Jump), U8(20), /* 77 S> */ B(LdaSmi), I8(2), /* 83 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 89 S> */ B(Jump), U8(9), + /* 89 S> */ B(Jump), U8(8), /* 101 S> */ B(Ldar), R(0), /* 107 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), - /* 34 E> */ B(JumpLoop), U8(25), I8(0), + B(Star0), + /* 34 E> */ B(JumpLoop), U8(24), I8(0), B(LdaUndefined), /* 114 S> */ B(Return), ] @@ -460,22 +460,22 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 33 +bytecode array length: 31 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 68 S> */ B(LdaSmi), I8(1), /* 74 E> */ B(TestEqual), R(0), U8(0), B(JumpIfFalse), U8(4), - /* 80 S> */ B(Jump), U8(21), + /* 80 S> */ B(Jump), U8(20), /* 89 S> */ B(LdaSmi), I8(2), /* 95 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), /* 101 S> */ B(Jump), U8(2), /* 55 S> */ B(Ldar), R(0), /* 59 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), - /* 45 E> */ B(JumpLoop), U8(25), I8(0), + B(Star0), + /* 45 E> */ B(JumpLoop), U8(24), I8(0), B(LdaUndefined), /* 113 S> */ B(Return), ] @@ -493,22 +493,22 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 33 +bytecode array length: 31 bytecodes: [ /* 47 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 66 S> */ B(LdaSmi), I8(1), /* 72 E> */ B(TestEqual), R(0), U8(0), B(JumpIfFalse), U8(4), - /* 78 S> */ B(Jump), U8(21), + /* 78 S> */ B(Jump), U8(20), /* 87 S> */ B(LdaSmi), I8(2), /* 93 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), /* 99 S> */ B(Jump), U8(2), /* 53 S> */ B(Ldar), R(0), /* 57 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(0), - /* 34 E> */ B(JumpLoop), U8(25), I8(0), + B(Star0), + /* 34 E> */ B(JumpLoop), U8(24), I8(0), B(LdaUndefined), /* 111 S> */ B(Return), ] @@ -527,23 +527,23 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 34 +bytecode array length: 30 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 58 S> */ B(LdaZero), - B(Star), R(1), + B(Star1), /* 63 S> */ B(LdaSmi), I8(100), /* 63 E> */ B(TestLessThan), R(1), U8(0), - B(JumpIfFalse), U8(21), + B(JumpIfFalse), U8(19), /* 85 S> */ B(Ldar), R(0), /* 91 E> */ B(AddSmi), I8(1), U8(1), - B(Star), R(0), + B(Star0), /* 98 S> */ B(Jump), U8(2), /* 72 S> */ B(Ldar), R(1), /* 76 E> */ B(AddSmi), I8(1), U8(2), - B(Star), R(1), - /* 45 E> */ B(JumpLoop), U8(23), I8(0), + B(Star1), + /* 45 E> */ B(JumpLoop), U8(21), I8(0), B(LdaUndefined), /* 110 S> */ B(Return), ] @@ -562,21 +562,21 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 31 +bytecode array length: 27 bytecodes: [ /* 42 S> */ B(LdaSmi), I8(1), - B(Star), R(0), + B(Star0), /* 58 S> */ B(LdaSmi), I8(10), - B(Star), R(1), + B(Star1), /* 62 S> */ B(Ldar), R(1), - B(JumpIfToBooleanFalse), U8(18), + B(JumpIfToBooleanFalse), U8(16), /* 74 S> */ B(Ldar), R(0), /* 80 E> */ B(MulSmi), I8(12), U8(0), - B(Star), R(0), + B(Star0), /* 67 S> */ B(Ldar), R(1), B(Dec), U8(1), - B(Star), R(1), - /* 45 E> */ B(JumpLoop), U8(17), I8(0), + B(Star1), + /* 45 E> */ B(JumpLoop), U8(15), I8(0), /* 88 S> */ B(Ldar), R(0), /* 97 S> */ B(Return), ] @@ -595,12 +595,12 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 9 +bytecode array length: 7 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 58 S> */ B(LdaZero), - B(Star), R(1), + B(Star1), /* 91 S> */ B(Ldar), R(0), /* 100 S> */ B(Return), ] @@ -620,23 +620,23 @@ snippet: " " frame size: 2 parameter count: 1 -bytecode array length: 34 +bytecode array length: 30 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 58 S> */ B(LdaZero), - B(Star), R(1), + B(Star1), /* 76 S> */ B(Ldar), R(0), /* 82 E> */ B(AddSmi), I8(1), U8(0), - B(Star), R(0), + B(Star0), /* 89 S> */ B(LdaSmi), I8(20), /* 95 E> */ B(TestEqual), R(0), U8(1), B(JumpIfFalse), U8(4), - /* 102 S> */ B(Jump), U8(11), + /* 102 S> */ B(Jump), U8(10), /* 69 S> */ B(Ldar), R(1), B(Inc), U8(2), - B(Star), R(1), - /* 45 E> */ B(JumpLoop), U8(22), I8(0), + B(Star1), + /* 45 E> */ B(JumpLoop), U8(20), I8(0), /* 112 S> */ B(Ldar), R(0), /* 121 S> */ B(Return), ] @@ -659,18 +659,18 @@ snippet: " " frame size: 4 parameter count: 1 -bytecode array length: 48 +bytecode array length: 46 bytecodes: [ /* 42 S> */ B(LdaZero), - B(Star), R(0), + B(Star0), /* 52 S> */ B(Ldar), R(0), - B(JumpIfToBooleanFalse), U8(41), + B(JumpIfToBooleanFalse), U8(40), B(CreateBlockContext), U8(0), B(PushContext), R(3), B(LdaTheHole), B(StaCurrentContextSlot), U8(2), B(CreateClosure), U8(1), U8(0), U8(2), - B(Star), R(2), + B(Star2), /* 73 S> */ B(LdaSmi), I8(1), /* 73 E> */ B(StaCurrentContextSlot), U8(2), /* 102 S> */ B(Mov), R(2), R(1), @@ -682,7 +682,7 @@ bytecodes: [ B(Inc), U8(0), /* 127 E> */ B(StaCurrentContextSlot), U8(2), B(PopContext), R(3), - /* 45 E> */ B(JumpLoop), U8(40), I8(0), + /* 45 E> */ B(JumpLoop), U8(39), I8(0), B(LdaUndefined), /* 137 S> */ B(Return), ] |