2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function f() { return arguments; }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2016-05-27 15:57:35 +00:00
|
|
|
bytecode array length: 6
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
B(CreateMappedArguments),
|
|
|
|
B(Star), R(0),
|
|
|
|
/* 10 E> */ B(StackCheck),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 15 S> */ B(Nop),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 33 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function f() { return arguments[0]; }
|
|
|
|
f();
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-06-09 13:32:33 +00:00
|
|
|
bytecode array length: 9
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
B(CreateMappedArguments),
|
|
|
|
B(Star), R(0),
|
|
|
|
/* 10 E> */ B(StackCheck),
|
2016-06-09 13:32:33 +00:00
|
|
|
/* 15 S> */ B(LdaZero),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 31 E> */ B(LdaKeyedProperty), R(0), U8(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 36 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function f() { 'use strict'; return arguments; }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2016-05-27 15:57:35 +00:00
|
|
|
bytecode array length: 6
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
B(CreateUnmappedArguments),
|
|
|
|
B(Star), R(0),
|
|
|
|
/* 10 E> */ B(StackCheck),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 29 S> */ B(Nop),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 47 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function f(a) { return arguments[0]; }
|
|
|
|
f();
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 2
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 2
|
2016-10-28 10:10:32 +00:00
|
|
|
bytecode array length: 17
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-08-03 14:41:47 +00:00
|
|
|
B(CreateFunctionContext), U8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(PushContext), R(1),
|
|
|
|
B(Ldar), R(arg0),
|
2016-10-28 10:10:32 +00:00
|
|
|
B(StaCurrentContextSlot), U8(4),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(CreateMappedArguments),
|
|
|
|
B(Star), R(0),
|
|
|
|
/* 10 E> */ B(StackCheck),
|
2016-06-09 13:32:33 +00:00
|
|
|
/* 16 S> */ B(LdaZero),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 32 E> */ B(LdaKeyedProperty), R(0), U8(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 37 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function f(a, b, c) { return arguments; }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 4
|
2016-10-28 10:10:32 +00:00
|
|
|
bytecode array length: 22
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-08-03 14:41:47 +00:00
|
|
|
B(CreateFunctionContext), U8(3),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(PushContext), R(1),
|
|
|
|
B(Ldar), R(arg0),
|
2016-10-28 10:10:32 +00:00
|
|
|
B(StaCurrentContextSlot), U8(6),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Ldar), R(arg1),
|
2016-10-28 10:10:32 +00:00
|
|
|
B(StaCurrentContextSlot), U8(5),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Ldar), R(arg2),
|
2016-10-28 10:10:32 +00:00
|
|
|
B(StaCurrentContextSlot), U8(4),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(CreateMappedArguments),
|
|
|
|
B(Star), R(0),
|
|
|
|
/* 10 E> */ B(StackCheck),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 22 S> */ B(Nop),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 40 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function f(a, b, c) { 'use strict'; return arguments; }
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 4
|
2016-05-27 15:57:35 +00:00
|
|
|
bytecode array length: 6
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
B(CreateUnmappedArguments),
|
|
|
|
B(Star), R(0),
|
|
|
|
/* 10 E> */ B(StackCheck),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 36 S> */ B(Nop),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 54 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|