blob: 04bc3a9ded640050067a30a343f61b8d575e977c [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001#
2# Autogenerated by generate-bytecode-expectations.
3#
4
5---
6pool type: string
7execute: yes
8wrap: no
9test function name: f
10
11---
12snippet: "
13 function t() { }
14 function f() { return t(); }
15 f();
16"
17frame size: 2
18parameter count: 1
19bytecode array length: 15
20bytecodes: [
21 B(StackCheck),
22 B(LdaUndefined),
23 B(Star), R(1),
24 B(LdaGlobal), U8(0), U8(3),
25 B(Star), R(0),
26 B(Call), R(0), R(1), U8(1), U8(1),
27 B(Return),
28]
29constant pool: [
30 "t",
31]
32handlers: [
33]
34
35---
36snippet: "
37 function t(a, b, c) { }
38 function f() { return t(1, 2, 3); }
39 f();
40"
41frame size: 5
42parameter count: 1
43bytecode array length: 27
44bytecodes: [
45 B(StackCheck),
46 B(LdaUndefined),
47 B(Star), R(1),
48 B(LdaGlobal), U8(0), U8(3),
49 B(Star), R(0),
50 B(LdaSmi), U8(1),
51 B(Star), R(2),
52 B(LdaSmi), U8(2),
53 B(Star), R(3),
54 B(LdaSmi), U8(3),
55 B(Star), R(4),
56 B(Call), R(0), R(1), U8(4), U8(1),
57 B(Return),
58]
59constant pool: [
60 "t",
61]
62handlers: [
63]
64