Index: test/cctest/interpreter/bytecode_expectations/ThisFunction.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ThisFunction.golden b/test/cctest/interpreter/bytecode_expectations/ThisFunction.golden |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da84a493e1e0292172e86d2e5a54e343c8b60e69 |
--- /dev/null |
+++ b/test/cctest/interpreter/bytecode_expectations/ThisFunction.golden |
@@ -0,0 +1,66 @@ |
+# |
+# Autogenerated by generate-bytecode-expectations. |
+# |
+ |
+--- |
+pool type: number |
+execute: yes |
+wrap: no |
+test function name: f |
+ |
+--- |
+snippet: " |
+ var f; |
+ f = function f() {}; |
+ f(); |
+" |
+frame size: 2 |
+parameter count: 1 |
+bytecode array length: 19 |
+bytecodes: [ |
+ B(LdaTheHole), |
+ B(Star), R(0), |
+ B(StackCheck), |
+ B(Ldar), R(closure), |
+ B(Star), R(1), |
+ B(Ldar), R(0), |
+ B(JumpIfNotHole), U8(5), |
+ B(Mov), R(1), R(0), |
+ B(Ldar), R(1), |
+ B(LdaUndefined), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ var f; |
+ f = function f() { return f; }; |
+ f(); |
+" |
+frame size: 2 |
+parameter count: 1 |
+bytecode array length: 23 |
+bytecodes: [ |
+ B(LdaTheHole), |
+ B(Star), R(0), |
+ B(StackCheck), |
+ B(Ldar), R(closure), |
+ B(Star), R(1), |
+ B(Ldar), R(0), |
+ B(JumpIfNotHole), U8(5), |
+ B(Mov), R(1), R(0), |
+ B(Ldar), R(1), |
+ B(Ldar), R(0), |
+ B(JumpIfNotHole), U8(3), |
+ B(LdaUndefined), |
+ B(Return), |
+] |
+constant pool: [ |
+] |
+handlers: [ |
+] |
+ |