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 660a01b24247804dcf3e1e5a4b4178a2b05645d2..1620f93f5e99c0aff20cc4bb095bcfd1ae9fe234 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden |
@@ -15,18 +15,19 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 24 |
+bytecode array length: 25 |
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(2), |
- B(JumpIfTrue), U8(12), |
+ B(JumpIfTrue), U8(13), |
/* 45 E> */ B(StackCheck), |
- /* 65 S> */ B(AddSmi), U8(10), R(0), U8(3), |
+ /* 65 S> */ B(LdaSmi), U8(10), |
+ /* 71 E> */ B(Add), R(0), U8(3), |
B(Star), R(0), |
- B(JumpLoop), U8(-14), U8(0), |
+ B(JumpLoop), U8(-15), U8(0), |
/* 79 S> */ B(Ldar), R(0), |
/* 89 S> */ B(Return), |
] |
@@ -79,7 +80,7 @@ bytecodes: [ |
/* 42 S> */ B(LdaSmi), U8(101), |
B(Star), R(0), |
/* 47 S> */ B(LdaSmi), U8(3), |
- B(Mul), R(0), U8(2), |
+ /* 61 E> */ B(Mul), R(0), U8(2), |
B(LdaUndefined), |
/* 67 S> */ B(Return), |
] |
@@ -102,9 +103,9 @@ bytecodes: [ |
/* 42 S> */ B(Wide), B(LdaSmi), U16(1234), |
B(Star), R(0), |
/* 56 S> */ B(Nop), |
- /* 66 E> */ B(Mul), R(0), U8(2), |
+ /* 64 E> */ B(Mul), R(0), U8(2), |
B(Star), R(2), |
- B(SubSmi), U8(1), R(2), U8(3), |
+ /* 68 E> */ B(SubSmi), U8(1), R(2), U8(3), |
B(LdaUndefined), |
B(Star), R(1), |
/* 74 S> */ B(Nop), |
@@ -128,7 +129,7 @@ bytecodes: [ |
/* 42 S> */ B(LdaSmi), U8(13), |
B(Star), R(0), |
/* 46 S> */ B(LdaSmi), U8(-1), |
- B(BitwiseXor), R(0), U8(2), |
+ /* 53 E> */ B(BitwiseXor), R(0), U8(2), |
/* 57 S> */ B(Return), |
] |
constant pool: [ |
@@ -149,7 +150,7 @@ bytecodes: [ |
/* 42 S> */ B(LdaSmi), U8(13), |
B(Star), R(0), |
/* 46 S> */ B(LdaSmi), U8(1), |
- B(Mul), R(0), U8(2), |
+ /* 53 E> */ B(Mul), R(0), U8(2), |
/* 57 S> */ B(Return), |
] |
constant pool: [ |
@@ -170,7 +171,7 @@ bytecodes: [ |
/* 42 S> */ B(LdaSmi), U8(13), |
B(Star), R(0), |
/* 46 S> */ B(LdaSmi), U8(-1), |
- B(Mul), R(0), U8(2), |
+ /* 53 E> */ B(Mul), R(0), U8(2), |
/* 57 S> */ B(Return), |
] |
constant pool: [ |