03a2b3a1a3
Because it was confusing seeing U8(negative value). Review-Url: https://codereview.chromium.org/2640273002 Cr-Commit-Position: refs/heads/master@{#42662}
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
#
|
|
# 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
|
|
bytecode array length: 15
|
|
bytecodes: [
|
|
/* 27 E> */ B(StackCheck),
|
|
/* 32 S> */ B(LdaUndefined),
|
|
B(Star), R(1),
|
|
B(LdaGlobal), U8(0), U8(4),
|
|
B(Star), R(0),
|
|
/* 39 E> */ B(Call), R(0), R(1), U8(1), U8(2),
|
|
/* 44 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["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: [
|
|
/* 34 E> */ B(StackCheck),
|
|
/* 39 S> */ B(LdaUndefined),
|
|
B(Star), R(1),
|
|
B(LdaGlobal), U8(0), U8(4),
|
|
B(Star), R(0),
|
|
B(LdaSmi), I8(1),
|
|
B(Star), R(2),
|
|
B(LdaSmi), I8(2),
|
|
B(Star), R(3),
|
|
B(LdaSmi), I8(3),
|
|
B(Star), R(4),
|
|
/* 46 E> */ B(Call), R(0), R(1), U8(4), U8(2),
|
|
/* 58 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["t"],
|
|
]
|
|
handlers: [
|
|
]
|
|
|