2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
pool type: string
|
|
|
|
execute: yes
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function t() { }
|
|
|
|
function f() { return t(); }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-06-27 08:42:41 +00:00
|
|
|
bytecode array length: 12
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 27 E> */ B(StackCheck),
|
2016-05-25 09:55:26 +00:00
|
|
|
/* 32 S> */ B(LdrUndefined), R(1),
|
2016-06-27 08:42:41 +00:00
|
|
|
B(LdrGlobal), U8(3), R(0),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 39 E> */ B(Call), R(0), R(1), U8(1), U8(1),
|
|
|
|
/* 44 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function t(a, b, c) { }
|
|
|
|
function f() { return t(1, 2, 3); }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 5
|
|
|
|
parameter count: 1
|
2016-06-27 08:42:41 +00:00
|
|
|
bytecode array length: 24
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 34 E> */ B(StackCheck),
|
2016-05-25 09:55:26 +00:00
|
|
|
/* 39 S> */ B(LdrUndefined), R(1),
|
2016-06-27 08:42:41 +00:00
|
|
|
B(LdrGlobal), U8(3), R(0),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaSmi), U8(1),
|
|
|
|
B(Star), R(2),
|
|
|
|
B(LdaSmi), U8(2),
|
|
|
|
B(Star), R(3),
|
|
|
|
B(LdaSmi), U8(3),
|
|
|
|
B(Star), R(4),
|
|
|
|
/* 46 E> */ B(Call), R(0), R(1), U8(4), U8(1),
|
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|