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 --- |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 --- | 100 --- |
101 snippet: " | 101 snippet: " |
102 'use strict'; | 102 'use strict'; |
103 var a = {1:10}; | 103 var a = {1:10}; |
104 (function f1() {return a;}); | 104 (function f1() {return a;}); |
105 return delete a[1]; | 105 return delete a[1]; |
106 " | 106 " |
107 frame size: 2 | 107 frame size: 2 |
108 parameter count: 1 | 108 parameter count: 1 |
109 bytecode array length: 30 | 109 bytecode array length: 32 |
110 bytecodes: [ | 110 bytecodes: [ |
111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), | 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
112 B(PushContext), R(0), | 112 B(PushContext), R(0), |
113 B(StackCheck), | 113 B(StackCheck), |
114 B(CreateObjectLiteral), U8(0), U8(0), U8(9), | 114 B(CreateObjectLiteral), U8(0), U8(0), U8(9), |
115 B(Star), R(1), | 115 B(Star), R(1), |
116 B(StaContextSlot), R(context), U8(4), | 116 B(StaContextSlot), R(context), U8(4), |
117 B(CreateClosure), U8(1), U8(0), | 117 B(CreateClosure), U8(1), U8(0), |
118 B(LdaContextSlot), R(context), U8(4), | 118 B(LdaContextSlot), R(context), U8(4), |
119 B(Star), R(1), | 119 B(Star), R(1), |
120 B(LdaSmi8), U8(1), | 120 B(LdaSmi8), U8(1), |
121 B(DeletePropertyStrict), R(1), | 121 B(DeletePropertyStrict), R(1), |
| 122 B(PopContext), R(0), |
122 B(Return), | 123 B(Return), |
123 ] | 124 ] |
124 constant pool: [ | 125 constant pool: [ |
125 InstanceType::FIXED_ARRAY_TYPE, | 126 InstanceType::FIXED_ARRAY_TYPE, |
126 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 127 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
127 ] | 128 ] |
128 handlers: [ | 129 handlers: [ |
129 ] | 130 ] |
130 | 131 |
131 --- | 132 --- |
132 snippet: " | 133 snippet: " |
133 return delete 'test'; | 134 return delete 'test'; |
134 " | 135 " |
135 frame size: 0 | 136 frame size: 0 |
136 parameter count: 1 | 137 parameter count: 1 |
137 bytecode array length: 3 | 138 bytecode array length: 3 |
138 bytecodes: [ | 139 bytecodes: [ |
139 B(StackCheck), | 140 B(StackCheck), |
140 B(LdaTrue), | 141 B(LdaTrue), |
141 B(Return), | 142 B(Return), |
142 ] | 143 ] |
143 constant pool: [ | 144 constant pool: [ |
144 ] | 145 ] |
145 handlers: [ | 146 handlers: [ |
146 ] | 147 ] |
147 | 148 |
OLD | NEW |