Index: test/cctest/interpreter/bytecode_expectations/Conditional.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/Conditional.golden b/test/cctest/interpreter/bytecode_expectations/Conditional.golden |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4f1f4546f6af7ecc5fd078e44dd126e98d10edf0 |
--- /dev/null |
+++ b/test/cctest/interpreter/bytecode_expectations/Conditional.golden |
@@ -0,0 +1,55 @@ |
+# |
+# Autogenerated by generate-bytecode-expectations |
+# |
+ |
+--- |
+pool type: number |
+execute: yes |
+wrap: yes |
+ |
+--- |
+snippet: " |
+ return 1 ? 2 : 3; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 12 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaSmi8), U8(1), |
+ B(JumpIfToBooleanFalse), U8(6), |
+ B(LdaSmi8), U8(2), |
+ B(Jump), U8(4), |
+ B(LdaSmi8), U8(3), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return 1 ? 2 ? 3 : 4 : 5; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 20 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaSmi8), U8(1), |
+ B(JumpIfToBooleanFalse), U8(14), |
+ B(LdaSmi8), U8(2), |
+ B(JumpIfToBooleanFalse), U8(6), |
+ B(LdaSmi8), U8(3), |
+ B(Jump), U8(4), |
+ B(LdaSmi8), U8(4), |
+ B(Jump), U8(4), |
+ B(LdaSmi8), U8(5), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |