OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
11 snippet: " | 11 snippet: " |
12 var a = {x:13, y:14}; return delete a.x; | 12 var a = {x:13, y:14}; return delete a.x; |
13 " | 13 " |
14 frame size: 2 | 14 frame size: 2 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 16 | 16 bytecode array length: 14 |
17 bytecodes: [ | 17 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
20 B(Star), R(1), | 20 B(Star), R(1), |
21 B(Star), R(0), | 21 B(Star), R(0), |
22 /* 56 S> */ B(Star), R(1), | 22 /* 56 S> */ B(LdaConstant), U8(1), |
23 B(LdaConstant), U8(1), | 23 B(DeletePropertySloppy), R(0), |
24 B(DeletePropertySloppy), R(1), | |
25 /* 75 S> */ B(Return), | 24 /* 75 S> */ B(Return), |
26 ] | 25 ] |
27 constant pool: [ | 26 constant pool: [ |
28 InstanceType::FIXED_ARRAY_TYPE, | 27 InstanceType::FIXED_ARRAY_TYPE, |
29 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
30 ] | 29 ] |
31 handlers: [ | 30 handlers: [ |
32 ] | 31 ] |
33 | 32 |
34 --- | 33 --- |
35 snippet: " | 34 snippet: " |
36 'use strict'; var a = {x:13, y:14}; return delete a.x; | 35 'use strict'; var a = {x:13, y:14}; return delete a.x; |
37 " | 36 " |
38 frame size: 2 | 37 frame size: 2 |
39 parameter count: 1 | 38 parameter count: 1 |
40 bytecode array length: 16 | 39 bytecode array length: 14 |
41 bytecodes: [ | 40 bytecodes: [ |
42 /* 30 E> */ B(StackCheck), | 41 /* 30 E> */ B(StackCheck), |
43 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 42 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
44 B(Star), R(1), | 43 B(Star), R(1), |
45 B(Star), R(0), | 44 B(Star), R(0), |
46 /* 70 S> */ B(Star), R(1), | 45 /* 70 S> */ B(LdaConstant), U8(1), |
47 B(LdaConstant), U8(1), | 46 B(DeletePropertyStrict), R(0), |
48 B(DeletePropertyStrict), R(1), | |
49 /* 89 S> */ B(Return), | 47 /* 89 S> */ B(Return), |
50 ] | 48 ] |
51 constant pool: [ | 49 constant pool: [ |
52 InstanceType::FIXED_ARRAY_TYPE, | 50 InstanceType::FIXED_ARRAY_TYPE, |
53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 51 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
54 ] | 52 ] |
55 handlers: [ | 53 handlers: [ |
56 ] | 54 ] |
57 | 55 |
58 --- | 56 --- |
59 snippet: " | 57 snippet: " |
60 var a = {1:13, 2:14}; return delete a[2]; | 58 var a = {1:13, 2:14}; return delete a[2]; |
61 " | 59 " |
62 frame size: 2 | 60 frame size: 2 |
63 parameter count: 1 | 61 parameter count: 1 |
64 bytecode array length: 16 | 62 bytecode array length: 14 |
65 bytecodes: [ | 63 bytecodes: [ |
66 /* 30 E> */ B(StackCheck), | 64 /* 30 E> */ B(StackCheck), |
67 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 65 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
68 B(Star), R(1), | 66 B(Star), R(1), |
69 B(Star), R(0), | 67 B(Star), R(0), |
70 /* 56 S> */ B(Star), R(1), | 68 /* 56 S> */ B(LdaSmi), U8(2), |
71 B(LdaSmi), U8(2), | 69 B(DeletePropertySloppy), R(0), |
72 B(DeletePropertySloppy), R(1), | |
73 /* 76 S> */ B(Return), | 70 /* 76 S> */ B(Return), |
74 ] | 71 ] |
75 constant pool: [ | 72 constant pool: [ |
76 InstanceType::FIXED_ARRAY_TYPE, | 73 InstanceType::FIXED_ARRAY_TYPE, |
77 ] | 74 ] |
78 handlers: [ | 75 handlers: [ |
79 ] | 76 ] |
80 | 77 |
81 --- | 78 --- |
82 snippet: " | 79 snippet: " |
(...skipping 16 matching lines...) Expand all Loading... |
99 | 96 |
100 --- | 97 --- |
101 snippet: " | 98 snippet: " |
102 'use strict'; | 99 'use strict'; |
103 var a = {1:10}; | 100 var a = {1:10}; |
104 (function f1() {return a;}); | 101 (function f1() {return a;}); |
105 return delete a[1]; | 102 return delete a[1]; |
106 " | 103 " |
107 frame size: 2 | 104 frame size: 2 |
108 parameter count: 1 | 105 parameter count: 1 |
109 bytecode array length: 29 | 106 bytecode array length: 30 |
110 bytecodes: [ | 107 bytecodes: [ |
111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 108 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
112 B(PushContext), R(0), | 109 B(PushContext), R(0), |
113 /* 30 E> */ B(StackCheck), | 110 /* 30 E> */ B(StackCheck), |
114 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 111 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
115 B(Star), R(1), | 112 B(Star), R(1), |
116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), | 113 /* 56 E> */ B(StaContextSlot), R(context), U8(4), |
117 /* 64 S> */ B(CreateClosure), U8(1), U8(0), | 114 /* 64 S> */ B(CreateClosure), U8(1), U8(0), |
118 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), R(1), | 115 /* 93 S> */ B(LdaContextSlot), R(context), U8(4), |
| 116 B(Star), R(1), |
119 B(LdaSmi), U8(1), | 117 B(LdaSmi), U8(1), |
120 B(DeletePropertyStrict), R(1), | 118 B(DeletePropertyStrict), R(1), |
121 /* 113 S> */ B(Return), | 119 /* 113 S> */ B(Return), |
122 ] | 120 ] |
123 constant pool: [ | 121 constant pool: [ |
124 InstanceType::FIXED_ARRAY_TYPE, | 122 InstanceType::FIXED_ARRAY_TYPE, |
125 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 123 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
126 ] | 124 ] |
127 handlers: [ | 125 handlers: [ |
128 ] | 126 ] |
129 | 127 |
130 --- | 128 --- |
131 snippet: " | 129 snippet: " |
132 return delete 'test'; | 130 return delete 'test'; |
133 " | 131 " |
134 frame size: 0 | 132 frame size: 0 |
135 parameter count: 1 | 133 parameter count: 1 |
136 bytecode array length: 3 | 134 bytecode array length: 3 |
137 bytecodes: [ | 135 bytecodes: [ |
138 /* 30 E> */ B(StackCheck), | 136 /* 30 E> */ B(StackCheck), |
139 /* 34 S> */ B(LdaTrue), | 137 /* 34 S> */ B(LdaTrue), |
140 /* 56 S> */ B(Return), | 138 /* 56 S> */ B(Return), |
141 ] | 139 ] |
142 constant pool: [ | 140 constant pool: [ |
143 ] | 141 ] |
144 handlers: [ | 142 handlers: [ |
145 ] | 143 ] |
146 | 144 |
OLD | NEW |