blob: adead06c5c39cb2625d556273f8329612e23ad0a [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001#
2# Autogenerated by generate-bytecode-expectations.
3#
4
5---
6pool type: mixed
7execute: yes
8wrap: no
9test function name: f
10
11---
12snippet: "
13 var a = {x:13, y:14};
14 function f() {
15 return delete a.x;
16 };
17 f();
18"
19frame size: 1
20parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010021bytecode array length: 9
Ben Murdochda12d292016-06-02 14:46:10 +010022bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010023 /* 32 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010024 /* 39 S> */ B(LdrGlobal), U8(1), R(0),
25 B(LdaConstant), U8(0),
Ben Murdochc5610432016-08-08 18:44:38 +010026 B(DeletePropertySloppy), R(0),
27 /* 58 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010028]
29constant pool: [
30 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
Ben Murdochda12d292016-06-02 14:46:10 +010031]
32handlers: [
33]
34
35---
36snippet: "
37 a = {1:13, 2:14};
38 function f() {
39 'use strict';
40 return delete a[1];
41 };
42 f();
43"
44frame size: 1
45parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010046bytecode array length: 9
Ben Murdochda12d292016-06-02 14:46:10 +010047bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010048 /* 28 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010049 /* 51 S> */ B(LdrGlobal), U8(1), R(0),
Ben Murdochc5610432016-08-08 18:44:38 +010050 B(LdaSmi), U8(1),
51 B(DeletePropertyStrict), R(0),
52 /* 71 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010053]
54constant pool: [
Ben Murdochda12d292016-06-02 14:46:10 +010055]
56handlers: [
57]
58
59---
60snippet: "
61 var a = {x:13, y:14};
62 function f() {
63 return delete a;
64 };
65 f();
66"
67frame size: 2
68parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010069bytecode array length: 14
Ben Murdochda12d292016-06-02 14:46:10 +010070bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010071 /* 32 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010072 /* 39 S> */ B(LdrContextSlot), R(context), U8(3), R(0),
73 B(LdrContextSlot), R(0), U8(2), R(1),
Ben Murdochc5610432016-08-08 18:44:38 +010074 B(LdaConstant), U8(0),
75 B(DeletePropertySloppy), R(1),
76 /* 56 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010077]
78constant pool: [
79 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
80]
81handlers: [
82]
83
84---
85snippet: "
86 b = 30;
87 function f() {
88 return delete b;
89 };
90 f();
91"
92frame size: 2
93parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010094bytecode array length: 14
Ben Murdochda12d292016-06-02 14:46:10 +010095bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010096 /* 18 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010097 /* 25 S> */ B(LdrContextSlot), R(context), U8(3), R(0),
98 B(LdrContextSlot), R(0), U8(2), R(1),
Ben Murdochc5610432016-08-08 18:44:38 +010099 B(LdaConstant), U8(0),
100 B(DeletePropertySloppy), R(1),
101 /* 42 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +0100102]
103constant pool: [
104 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
105]
106handlers: [
107]
108