Index: test/cctest/interpreter/bytecode_expectations/WideRegisters.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden b/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden |
index b5ef14dca8e712c9c4719e6c69e7fb8729e42dfe..717f323f11f64ff95539b036997d64046aa657e7 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden |
@@ -523,11 +523,11 @@ snippet: " |
" |
frame size: 157 |
parameter count: 1 |
-bytecode array length: 19 |
+bytecode array length: 17 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 1494 S> */ B(LdaSmi), U8(3), |
- /* 1501 E> */ B(Wide), B(TestGreaterThan), R16(2), |
+ /* 1501 E> */ B(TestGreaterThan), R(2), |
B(JumpIfFalse), U8(7), |
/* 1508 S> */ B(Wide), B(Ldar), R16(129), |
/* 1536 S> */ B(Return), |
@@ -705,7 +705,7 @@ snippet: " |
" |
frame size: 157 |
parameter count: 1 |
-bytecode array length: 36 |
+bytecode array length: 34 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 1503 S> */ B(LdaZero), |
@@ -716,7 +716,7 @@ bytecodes: [ |
/* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129), |
B(Ldar), R(0), |
/* 1540 S> */ B(LdaSmi), U8(3), |
- /* 1547 E> */ B(Wide), B(TestGreaterThan), R16(2), |
+ /* 1547 E> */ B(TestGreaterThan), R(2), |
B(JumpIfFalse), U8(5), |
/* 1554 S> */ B(Ldar), R(0), |
/* 1580 S> */ B(Return), |
@@ -893,7 +893,7 @@ snippet: " |
" |
frame size: 158 |
parameter count: 1 |
-bytecode array length: 58 |
+bytecode array length: 56 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 1503 S> */ B(LdaZero), |
@@ -904,10 +904,10 @@ bytecodes: [ |
B(Wide), B(Star), R16(128), |
/* 1538 S> */ B(LdaSmi), U8(64), |
/* 1538 E> */ B(Wide), B(TestLessThan), R16(128), |
- B(JumpIfFalse), U8(35), |
+ B(JumpIfFalse), U8(33), |
/* 1518 E> */ B(StackCheck), |
/* 1555 S> */ B(Wide), B(Ldar), R16(128), |
- /* 1561 E> */ B(Wide), B(Add), R16(1), |
+ /* 1561 E> */ B(Add), R(1), |
B(Wide), B(Mov), R16(1), R16(157), |
B(Star), R(1), |
/* 1548 S> */ B(Wide), B(Ldar), R16(128), |
@@ -915,7 +915,7 @@ bytecodes: [ |
B(Wide), B(Star), R16(157), |
B(Inc), |
B(Wide), B(Star), R16(128), |
- B(Jump), U8(-39), |
+ B(Jump), U8(-37), |
/* 1567 S> */ B(Wide), B(Ldar), R16(128), |
/* 1580 S> */ B(Return), |
] |
@@ -1089,7 +1089,7 @@ snippet: " |
" |
frame size: 163 |
parameter count: 1 |
-bytecode array length: 84 |
+bytecode array length: 82 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 1503 S> */ B(Wide), B(LdaSmi), U16(1234), |
@@ -1097,26 +1097,26 @@ bytecodes: [ |
/* 1518 S> */ B(LdaZero), |
B(Star), R(1), |
/* 1534 S> */ B(Ldar), R(0), |
- B(JumpIfUndefined), U8(69), |
- B(JumpIfNull), U8(67), |
+ B(JumpIfUndefined), U8(67), |
+ B(JumpIfNull), U8(65), |
B(ToObject), |
B(Wide), B(ForInPrepare), R16(158), |
B(Wide), B(Star), R16(157), |
B(LdaZero), |
B(Wide), B(Star), R16(161), |
/* 1526 S> */ B(Wide), B(ForInDone), R16(161), R16(160), |
- B(JumpIfTrue), U8(45), |
+ B(JumpIfTrue), U8(43), |
B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1), |
- B(JumpIfUndefined), U8(23), |
+ B(JumpIfUndefined), U8(21), |
B(Wide), B(Star), R16(128), |
/* 1521 E> */ B(StackCheck), |
/* 1541 S> */ B(Wide), B(Ldar), R16(128), |
- /* 1547 E> */ B(Wide), B(Add), R16(1), |
+ /* 1547 E> */ B(Add), R(1), |
B(Wide), B(Mov), R16(1), R16(162), |
B(Star), R(1), |
/* 1544 E> */ B(Wide), B(ForInStep), R16(161), |
B(Wide), B(Star), R16(161), |
- B(Jump), U8(-49), |
+ B(Jump), U8(-47), |
/* 1553 S> */ B(Ldar), R(1), |
/* 1564 S> */ B(Return), |
] |