1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#
# 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: [
]
|