2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = {x:13, y:14};
|
|
|
|
function f() {
|
|
|
|
return delete a.x;
|
|
|
|
};
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 11
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 32 E> */ B(StackCheck),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 39 S> */ B(LdaGlobal), U8(0), U8(4),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(0),
|
2016-11-16 18:17:22 +00:00
|
|
|
B(LdaConstant), U8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(DeletePropertySloppy), R(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 57 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
a = {1:13, 2:14};
|
|
|
|
function f() {
|
|
|
|
'use strict';
|
|
|
|
return delete a[1];
|
|
|
|
};
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 11
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 28 E> */ B(StackCheck),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 51 S> */ B(LdaGlobal), U8(0), U8(4),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(DeletePropertyStrict), R(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 70 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = {x:13, y:14};
|
|
|
|
function f() {
|
|
|
|
return delete a;
|
|
|
|
};
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-11-10 10:41:48 +00:00
|
|
|
bytecode array length: 16
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 32 E> */ B(StackCheck),
|
2017-03-07 14:12:40 +00:00
|
|
|
/* 39 S> */ B(LdaImmutableCurrentContextSlot), U8(3),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(0),
|
2017-03-07 14:12:40 +00:00
|
|
|
B(LdaImmutableContextSlot), R(0), U8(2), U8(0),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaConstant), U8(0),
|
|
|
|
B(DeletePropertySloppy), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 55 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
b = 30;
|
|
|
|
function f() {
|
|
|
|
return delete b;
|
|
|
|
};
|
|
|
|
f();
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-11-10 10:41:48 +00:00
|
|
|
bytecode array length: 16
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 18 E> */ B(StackCheck),
|
2017-03-07 14:12:40 +00:00
|
|
|
/* 25 S> */ B(LdaImmutableCurrentContextSlot), U8(3),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(0),
|
2017-03-07 14:12:40 +00:00
|
|
|
B(LdaImmutableContextSlot), R(0), U8(2), U8(0),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaConstant), U8(0),
|
|
|
|
B(DeletePropertySloppy), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 41 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|