mirror of https://github.com/lukechilds/node.git
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.
141 lines
1.8 KiB
141 lines
1.8 KiB
9 years ago
|
#
|
||
|
# Autogenerated by generate-bytecode-expectations.
|
||
|
#
|
||
|
|
||
|
---
|
||
|
pool type: mixed
|
||
|
execute: yes
|
||
|
wrap: no
|
||
|
test function name: f
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f() { return this; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 1
|
||
|
bytecode array length: 4
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(Ldar), R(this),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f(arg1) { return arg1; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 2
|
||
|
bytecode array length: 4
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(Ldar), R(arg0),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f(arg1) { return this; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 2
|
||
|
bytecode array length: 4
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(Ldar), R(this),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { return arg4; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 8
|
||
|
bytecode array length: 4
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(Ldar), R(arg3),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { return this; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 8
|
||
|
bytecode array length: 4
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(Ldar), R(this),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f(arg1) { arg1 = 1; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 2
|
||
|
bytecode array length: 7
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(LdaSmi), U8(1),
|
||
|
B(Star), R(arg0),
|
||
|
B(LdaUndefined),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|
||
|
---
|
||
|
snippet: "
|
||
|
function f(arg1, arg2, arg3, arg4) { arg2 = 1; }
|
||
|
f();
|
||
|
"
|
||
|
frame size: 0
|
||
|
parameter count: 5
|
||
|
bytecode array length: 7
|
||
|
bytecodes: [
|
||
|
B(StackCheck),
|
||
|
B(LdaSmi), U8(1),
|
||
|
B(Star), R(arg1),
|
||
|
B(LdaUndefined),
|
||
|
B(Return),
|
||
|
]
|
||
|
constant pool: [
|
||
|
]
|
||
|
handlers: [
|
||
|
]
|
||
|
|