2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = {x:13, y:14}; return delete a.x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-05-27 15:57:35 +00:00
|
|
|
bytecode array length: 14
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(4), U8(41), R(1),
|
2016-08-09 10:30:03 +00:00
|
|
|
B(Mov), R(1), R(0),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 56 S> */ B(LdaConstant), U8(1),
|
2017-05-02 19:03:03 +00:00
|
|
|
B(DeletePropertySloppy), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 74 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
'use strict'; var a = {x:13, y:14}; return delete a.x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-05-27 15:57:35 +00:00
|
|
|
bytecode array length: 14
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 56 S> */ B(CreateObjectLiteral), U8(0), U8(4), U8(41), R(1),
|
2016-08-09 10:30:03 +00:00
|
|
|
B(Mov), R(1), R(0),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 70 S> */ B(LdaConstant), U8(1),
|
2017-05-02 19:03:03 +00:00
|
|
|
B(DeletePropertyStrict), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 88 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = {1:13, 2:14}; return delete a[2];
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-05-27 15:57:35 +00:00
|
|
|
bytecode array length: 14
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(4), U8(41), R(1),
|
2016-08-09 10:30:03 +00:00
|
|
|
B(Mov), R(1), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 56 S> */ B(LdaSmi), I8(2),
|
2017-05-02 19:03:03 +00:00
|
|
|
B(DeletePropertySloppy), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 75 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
FIXED_ARRAY_TYPE,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = 10; return delete a;
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 7
|
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 42 S> */ B(LdaSmi), I8(10),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 46 S> */ B(LdaFalse),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 62 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
'use strict';
|
|
|
|
var a = {1:10};
|
|
|
|
(function f1() {return a;});
|
|
|
|
return delete a[1];
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2017-01-09 15:31:00 +00:00
|
|
|
bytecode array length: 27
|
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(0),
|
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 56 S> */ B(CreateObjectLiteral), U8(0), U8(4), U8(41), R(1),
|
2016-08-09 10:30:03 +00:00
|
|
|
B(Ldar), R(1),
|
2016-10-28 10:10:32 +00:00
|
|
|
/* 56 E> */ B(StaCurrentContextSlot), U8(4),
|
2017-07-25 11:24:21 +00:00
|
|
|
/* 64 S> */ B(CreateClosure), U8(1), U8(5), U8(2),
|
2017-02-07 20:42:03 +00:00
|
|
|
/* 93 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
|
2016-11-10 10:41:48 +00:00
|
|
|
B(Star), R(1),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(DeletePropertyStrict), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 112 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
SHARED_FUNCTION_INFO_TYPE,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
return delete 'test';
|
|
|
|
"
|
|
|
|
frame size: 0
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 3
|
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 34 S> */ B(LdaTrue),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 55 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|