Index: test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden b/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b084e3b3bdb6d13585dbde36b02afe1dad64da5a |
--- /dev/null |
+++ b/test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.golden |
@@ -0,0 +1,178 @@ |
+# |
+# Autogenerated by generate-bytecode-expectations |
+# |
+ |
+--- |
+pool type: number |
+execute: yes |
+wrap: yes |
+ |
+--- |
+snippet: " |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 3 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaUndefined), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 3 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaUndefined), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return null; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 3 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaNull), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return true; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 3 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaTrue), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return false; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 3 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaFalse), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return 0; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 3 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaZero), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return +1; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 4 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaSmi8), U8(1), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return -1; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 4 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaSmi8), U8(-1), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return +127; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 4 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaSmi8), U8(127), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ return -128; |
+" |
+frame size: 0 |
+parameter count: 1 |
+bytecode array length: 4 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(LdaSmi8), U8(-128), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |