blob: fc8658252c5d5115e98c0f42d1621e04b4061e88 [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
21bytecode array length: 11
22bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010023 /* 32 E> */ B(StackCheck),
24 /* 39 S> */ B(LdaGlobal), U8(0), U8(1),
25 B(Star), R(0),
26 B(LdaConstant), U8(1),
27 B(DeletePropertySloppy), R(0),
28 /* 58 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010029]
30constant pool: [
31 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
32 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
33]
34handlers: [
35]
36
37---
38snippet: "
39 a = {1:13, 2:14};
40 function f() {
41 'use strict';
42 return delete a[1];
43 };
44 f();
45"
46frame size: 1
47parameter count: 1
48bytecode array length: 11
49bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010050 /* 28 E> */ B(StackCheck),
51 /* 51 S> */ B(LdaGlobal), U8(0), U8(1),
52 B(Star), R(0),
53 B(LdaSmi), U8(1),
54 B(DeletePropertyStrict), R(0),
55 /* 71 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010056]
57constant pool: [
58 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
59]
60handlers: [
61]
62
63---
64snippet: "
65 var a = {x:13, y:14};
66 function f() {
67 return delete a;
68 };
69 f();
70"
71frame size: 2
72parameter count: 1
73bytecode array length: 16
74bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010075 /* 32 E> */ B(StackCheck),
76 /* 39 S> */ B(LdaContextSlot), R(context), U8(3),
77 B(Star), R(0),
78 B(LdaContextSlot), R(0), U8(2),
79 B(Star), R(1),
80 B(LdaConstant), U8(0),
81 B(DeletePropertySloppy), R(1),
82 /* 56 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010083]
84constant pool: [
85 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
86]
87handlers: [
88]
89
90---
91snippet: "
92 b = 30;
93 function f() {
94 return delete b;
95 };
96 f();
97"
98frame size: 2
99parameter count: 1
100bytecode array length: 16
101bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +0100102 /* 18 E> */ B(StackCheck),
103 /* 25 S> */ B(LdaContextSlot), R(context), U8(3),
104 B(Star), R(0),
105 B(LdaContextSlot), R(0), U8(2),
106 B(Star), R(1),
107 B(LdaConstant), U8(0),
108 B(DeletePropertySloppy), R(1),
109 /* 42 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +0100110]
111constant pool: [
112 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
113]
114handlers: [
115]
116