ThisFunction.golden 589 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#
# Autogenerated by generate-bytecode-expectations.
#

---
wrap: no
test function name: f

---
snippet: "
  var f;
  f = function f() {};
  f();
"
15
frame size: 0
16
parameter count: 1
17
bytecode array length: 2
18
bytecodes: [
19 20
                B(LdaUndefined),
  /*   25 S> */ B(Return),
21 22 23 24 25 26 27 28 29 30 31 32
]
constant pool: [
]
handlers: [
]

---
snippet: "
  var f;
  f = function f() { return f; };
  f();
"
33
frame size: 1
34
parameter count: 1
35
bytecode array length: 6
36
bytecodes: [
37
                B(Mov), R(closure), R(0),
38
  /*   26 S> */ B(Ldar), R(0),
39
  /*   35 S> */ B(Return),
40 41 42 43 44 45
]
constant pool: [
]
handlers: [
]