Index: test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
index dc2a9302288b29e88d1e8a07112ca684cbe5eb46..d9ffb4a8c036d1855986b58d934062cb7bbec9c8 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
@@ -17,7 +17,7 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 23 |
+bytecode array length: 22 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
@@ -25,12 +25,11 @@ bytecodes: [ |
/* 54 S> */ B(LdaSmi), U8(10), |
/* 54 E> */ B(TestEqual), R(0), |
B(LogicalNot), |
- B(JumpIfFalse), U8(11), |
+ B(JumpIfFalse), U8(10), |
/* 45 E> */ B(StackCheck), |
- /* 65 S> */ B(LdaSmi), U8(10), |
- B(Add), R(0), |
+ /* 65 S> */ B(AddSmi), U8(10), R(0), |
B(Star), R(0), |
- B(Jump), U8(-14), |
+ B(Jump), U8(-13), |
/* 79 S> */ B(Ldar), R(0), |
/* 89 S> */ B(Return), |
] |
@@ -99,7 +98,7 @@ snippet: " |
" |
frame size: 4 |
parameter count: 1 |
-bytecode array length: 22 |
+bytecode array length: 21 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(Wide), B(LdaSmi), U16(1234), |
@@ -107,8 +106,7 @@ bytecodes: [ |
/* 56 S> */ B(Nop), |
/* 66 E> */ B(Mul), R(0), |
B(Star), R(3), |
- B(LdaSmi), U8(1), |
- B(Sub), R(3), |
+ B(SubSmi), U8(1), R(3), |
B(LdrUndefined), R(1), |
B(Ldar), R(1), |
/* 74 S> */ B(Nop), |