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 940c72e5c6034a21f32da6a482c02c12897c0d1b..5d09db36c8c4710bb4fd07a82e8892a5ef2a1b1d 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
@@ -16,18 +16,18 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 23 |
+bytecode array length: 24 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
B(Star), R(0), |
/* 54 S> */ B(LdaSmi), U8(10), |
/* 54 E> */ B(TestEqual), R(0), U8(1), |
- B(JumpIfTrue), U8(11), |
+ B(JumpIfTrue), U8(12), |
/* 45 E> */ B(StackCheck), |
/* 65 S> */ B(AddSmi), U8(10), R(0), U8(2), |
B(Star), R(0), |
- B(Jump), U8(-14), |
+ B(JumpLoop), U8(-14), U8(0), |
/* 79 S> */ B(Ldar), R(0), |
/* 89 S> */ B(Return), |
] |
@@ -46,7 +46,7 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 19 |
+bytecode array length: 22 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaFalse), |
@@ -57,7 +57,8 @@ bytecodes: [ |
B(Star), R(0), |
/* 74 S> */ B(LdaFalse), |
/* 74 E> */ B(TestEqual), R(0), U8(1), |
- B(JumpIfTrue), U8(-10), |
+ B(JumpIfFalse), U8(5), |
+ B(JumpLoop), U8(-12), U8(0), |
/* 85 S> */ B(Ldar), R(0), |
/* 95 S> */ B(Return), |
] |