Index: test/cctest/interpreter/bytecode_expectations/IfConditions.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden |
index f450f3f32116d73717d1eab90b314d615962915e..6fca4cce3b3742fb0cbbc2b8f1950a98f63a7de2 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden |
@@ -647,119 +647,3 @@ constant pool: [ |
handlers: [ |
] |
---- |
-snippet: " |
- function f(a, b) { |
- if (a == b) { return 1; } |
- if (a === b) { return 1; } |
- if (a < b) { return 1; } |
- if (a > b) { return 1; } |
- if (a <= b) { return 1; } |
- if (a >= b) { return 1; } |
- if (a in b) { return 1; } |
- if (a instanceof b) { return 1; } |
- return 0; |
- } |
- f(1, 1); |
-" |
-frame size: 1 |
-parameter count: 3 |
-bytecode array length: 107 |
-bytecodes: [ |
- B(StackCheck), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestEqual), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestEqualStrict), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestLessThan), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestGreaterThan), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestLessThanOrEqual), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestGreaterThanOrEqual), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestIn), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(Ldar), R(arg0), |
- B(Star), R(0), |
- B(Ldar), R(arg1), |
- B(TestInstanceOf), R(0), |
- B(JumpIfFalse), U8(5), |
- B(LdaSmi), U8(1), |
- B(Return), |
- B(LdaZero), |
- B(Return), |
-] |
-constant pool: [ |
-] |
-handlers: [ |
-] |
- |
---- |
-snippet: " |
- function f() { |
- var a = 0; |
- if (a) { |
- return 20; |
- } else { |
- return -20; |
- } |
- }; |
- f(); |
-" |
-frame size: 1 |
-parameter count: 1 |
-bytecode array length: 14 |
-bytecodes: [ |
- B(StackCheck), |
- B(LdaZero), |
- B(Star), R(0), |
- B(JumpIfToBooleanFalse), U8(5), |
- B(LdaSmi), U8(20), |
- B(Return), |
- B(LdaSmi), U8(-20), |
- B(Return), |
- B(LdaUndefined), |
- B(Return), |
-] |
-constant pool: [ |
-] |
-handlers: [ |
-] |
- |