Index: test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden b/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden |
index fed8367212b4e9a1dc3402167e164c163a761f14..deb0768eb593d7101d56f8313cc9b094f40128e1 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/LogicalExpressions.golden |
@@ -17,7 +17,7 @@ bytecode array length: 9 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 45 S> */ B(JumpIfToBooleanTrue), U8(4), |
B(LdaSmi), U8(3), |
/* 60 S> */ B(Return), |
@@ -37,7 +37,7 @@ bytecode array length: 15 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 45 S> */ B(Star), R(1), |
B(LdaSmi), U8(1), |
/* 55 E> */ B(TestEqual), R(1), |
@@ -60,7 +60,7 @@ bytecode array length: 9 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 45 S> */ B(JumpIfToBooleanFalse), U8(4), |
B(LdaSmi), U8(3), |
/* 60 S> */ B(Return), |
@@ -80,7 +80,7 @@ bytecode array length: 14 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 45 S> */ B(Star), R(1), |
B(LdaZero), |
/* 55 E> */ B(TestEqual), R(1), |
@@ -103,7 +103,7 @@ bytecode array length: 9 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 45 S> */ B(JumpIfToBooleanTrue), U8(4), |
B(LdaSmi), U8(3), |
/* 68 S> */ B(Return), |
@@ -119,17 +119,20 @@ snippet: " |
" |
frame size: 3 |
parameter count: 1 |
-bytecode array length: 24 |
+bytecode array length: 30 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(2), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 49 S> */ B(LdaSmi), U8(3), |
- /* 49 E> */ B(Star), R(1), |
+ B(Star), R(1), |
/* 56 S> */ B(LdaSmi), U8(4), |
- /* 56 E> */ B(Star), R(2), |
+ B(Star), R(2), |
/* 59 S> */ B(Ldar), R(0), |
- B(JumpIfToBooleanTrue), U8(8), |
+ B(JumpIfToBooleanTrue), U8(14), |
+ /* 72 E> */ B(Ldar), R(0), |
+ /* 75 E> */ B(Ldar), R(1), |
+ /* 78 E> */ B(Ldar), R(0), |
/* 81 E> */ B(LdaSmi), U8(5), |
/* 86 E> */ B(Star), R(2), |
B(LdaSmi), U8(3), |
@@ -182,11 +185,11 @@ bytecode array length: 276 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 53 S> */ B(LdaSmi), U8(2), |
- /* 53 E> */ B(Star), R(1), |
+ B(Star), R(1), |
/* 60 S> */ B(LdaSmi), U8(3), |
- /* 60 E> */ B(Star), R(2), |
+ B(Star), R(2), |
/* 63 S> */ B(Ldar), R(0), |
B(JumpIfToBooleanTrueConstant), U8(0), |
B(LdaSmi), U8(1), |
@@ -368,11 +371,11 @@ bytecode array length: 275 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 53 S> */ B(LdaSmi), U8(2), |
- /* 53 E> */ B(Star), R(1), |
+ B(Star), R(1), |
/* 60 S> */ B(LdaSmi), U8(3), |
- /* 60 E> */ B(Star), R(2), |
+ B(Star), R(2), |
/* 63 S> */ B(Ldar), R(0), |
B(JumpIfToBooleanFalseConstant), U8(0), |
B(LdaSmi), U8(1), |
@@ -554,11 +557,11 @@ bytecode array length: 282 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 53 S> */ B(LdaSmi), U8(2), |
- /* 53 E> */ B(Star), R(1), |
+ B(Star), R(1), |
/* 60 S> */ B(LdaSmi), U8(3), |
- /* 60 E> */ B(Star), R(2), |
+ B(Star), R(2), |
/* 63 S> */ B(Ldar), R(0), |
B(Star), R(3), |
B(LdaSmi), U8(3), |
@@ -743,11 +746,11 @@ bytecode array length: 281 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaZero), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 53 S> */ B(LdaSmi), U8(2), |
- /* 53 E> */ B(Star), R(1), |
+ B(Star), R(1), |
/* 60 S> */ B(LdaSmi), U8(3), |
- /* 60 E> */ B(Star), R(2), |
+ B(Star), R(2), |
/* 63 S> */ B(Ldar), R(0), |
B(Star), R(3), |
B(LdaSmi), U8(5), |
@@ -934,7 +937,7 @@ bytecode array length: 15 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
- /* 42 E> */ B(Star), R(0), |
+ B(Star), R(0), |
/* 45 S> */ B(JumpIfToBooleanFalse), U8(4), |
B(LdaSmi), U8(3), |
B(JumpIfToBooleanTrue), U8(3), |