2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function t() { }
|
|
|
|
function f() { return t(); }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 15
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 27 E> */ B(StackCheck),
|
2016-11-10 10:41:48 +00:00
|
|
|
/* 32 S> */ B(LdaUndefined),
|
|
|
|
B(Star), R(1),
|
2016-11-16 18:17:22 +00:00
|
|
|
B(LdaGlobal), U8(0), U8(4),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(0),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 39 E> */ B(Call), R(0), R(1), U8(1), U8(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 44 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["t"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function t(a, b, c) { }
|
|
|
|
function f() { return t(1, 2, 3); }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 5
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 27
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 34 E> */ B(StackCheck),
|
2016-11-10 10:41:48 +00:00
|
|
|
/* 39 S> */ B(LdaUndefined),
|
|
|
|
B(Star), R(1),
|
2016-11-16 18:17:22 +00:00
|
|
|
B(LdaGlobal), U8(0), U8(4),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(2),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(3),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(3),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(4),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 46 E> */ B(Call), R(0), R(1), U8(4), U8(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["t"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|