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
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 5
|
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),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 32 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),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 31 E> */ B(LdaKeyedProperty), R(0), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 35 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
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 5
|
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),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 46 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),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 32 E> */ B(LdaKeyedProperty), R(0), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 36 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
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 21
|
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),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 39 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
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 5
|
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),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 53 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|