2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var f;
|
|
|
|
var x = 1;
|
|
|
|
z = 10;
|
|
|
|
function f1() {
|
|
|
|
var y;
|
|
|
|
eval(\"function t() { delete x; }; f = t; f();\");
|
|
|
|
}
|
|
|
|
f1();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2020-02-10 16:09:27 +00:00
|
|
|
bytecode array length: 11
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 15 S> */ B(LdaConstant), U8(0),
|
|
|
|
B(Star), R(0),
|
|
|
|
B(CallRuntime), U16(Runtime::kDeleteLookupSlot), R(0), U8(1),
|
|
|
|
B(LdaUndefined),
|
|
|
|
/* 25 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 ["x"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var f;
|
|
|
|
var x = 1;
|
|
|
|
z = 10;
|
|
|
|
function f1() {
|
|
|
|
var y;
|
|
|
|
eval(\"function t() { return delete y; }; f = t; f();\");
|
|
|
|
}
|
|
|
|
f1();
|
|
|
|
"
|
|
|
|
frame size: 0
|
|
|
|
parameter count: 1
|
2020-02-10 16:09:27 +00:00
|
|
|
bytecode array length: 2
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 15 S> */ B(LdaFalse),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 31 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var f;
|
|
|
|
var x = 1;
|
|
|
|
z = 10;
|
|
|
|
function f1() {
|
|
|
|
var y;
|
|
|
|
eval(\"function t() { return delete z; }; f = t; f();\");
|
|
|
|
}
|
|
|
|
f1();
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2020-02-10 16:09:27 +00:00
|
|
|
bytecode array length: 10
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 15 S> */ B(LdaConstant), U8(0),
|
|
|
|
B(Star), R(0),
|
|
|
|
B(CallRuntime), U16(Runtime::kDeleteLookupSlot), R(0), U8(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 31 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 ["z"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|