You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#
|
|
|
|
# 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
|
|
|
|
bytecode array length: 15
|
|
|
|
bytecodes: [
|
|
|
|
B(StackCheck),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(Star), R(1),
|
|
|
|
B(LdaGlobal), U8(0), U8(3),
|
|
|
|
B(Star), R(0),
|
|
|
|
B(Call), R(0), R(1), U8(1), U8(1),
|
|
|
|
B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
"t",
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function t(a, b, c) { }
|
|
|
|
function f() { return t(1, 2, 3); }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 5
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 27
|
|
|
|
bytecodes: [
|
|
|
|
B(StackCheck),
|
|
|
|
B(LdaUndefined),
|
|
|
|
B(Star), R(1),
|
|
|
|
B(LdaGlobal), U8(0), U8(3),
|
|
|
|
B(Star), R(0),
|
|
|
|
B(LdaSmi), U8(1),
|
|
|
|
B(Star), R(2),
|
|
|
|
B(LdaSmi), U8(2),
|
|
|
|
B(Star), R(3),
|
|
|
|
B(LdaSmi), U8(3),
|
|
|
|
B(Star), R(4),
|
|
|
|
B(Call), R(0), R(1), U8(4), U8(1),
|
|
|
|
B(Return),
|
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
"t",
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|