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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 snippet: " | 115 snippet: " |
116 var n0 = 'a'; | 116 var n0 = 'a'; |
117 var n1 = 'b'; | 117 var n1 = 'b'; |
118 class N { | 118 class N { |
119 [n0]() { return n0; } | 119 [n0]() { return n0; } |
120 static [n1]() { return n1; } | 120 static [n1]() { return n1; } |
121 } | 121 } |
122 " | 122 " |
123 frame size: 10 | 123 frame size: 10 |
124 parameter count: 1 | 124 parameter count: 1 |
125 bytecode array length: 126 | 125 bytecode array length: 124 |
126 bytecodes: [ | 126 bytecodes: [ |
127 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 127 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
128 B(PushContext), R(2), | 128 B(PushContext), R(2), |
129 B(LdaTheHole), | 129 B(LdaTheHole), |
130 B(Star), R(1), | 130 B(Star), R(1), |
131 /* 30 E> */ B(StackCheck), | 131 /* 30 E> */ B(StackCheck), |
132 /* 43 S> */ B(LdaConstant), U8(0), | 132 /* 43 S> */ B(LdaConstant), U8(0), |
133 /* 43 E> */ B(StaContextSlot), R(context), U8(4), | 133 /* 43 E> */ B(StaContextSlot), R(context), U8(4), |
134 /* 57 S> */ B(LdaConstant), U8(1), | 134 /* 57 S> */ B(LdaConstant), U8(1), |
135 /* 57 E> */ B(StaContextSlot), R(context), U8(5), | 135 /* 57 E> */ B(StaContextSlot), R(context), U8(5), |
136 B(LdaTheHole), | 136 B(LdaTheHole), |
137 B(Star), R(0), | 137 B(Star), R(0), |
138 B(LdaTheHole), | 138 B(LdaTheHole), |
139 B(Star), R(3), | 139 B(Star), R(3), |
140 B(CreateClosure), U8(2), U8(2), | 140 B(CreateClosure), U8(2), U8(2), |
141 B(Star), R(4), | 141 B(Star), R(4), |
142 B(LdaSmi), U8(62), | 142 B(LdaSmi), U8(62), |
143 B(Star), R(5), | 143 B(Star), R(5), |
144 B(Wide), B(LdaSmi), U16(128), | 144 B(Wide), B(LdaSmi), U16(128), |
145 B(Star), R(6), | 145 B(Star), R(6), |
146 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), | 146 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
147 B(Star), R(3), | 147 B(Star), R(3), |
148 B(LdrNamedProperty), R(3), U8(3), U8(1), R(4), | 148 B(LdrNamedProperty), R(3), U8(3), U8(1), R(4), |
149 /* 75 E> */ B(LdaContextSlot), R(context), U8(4), | 149 /* 75 E> */ B(LdaContextSlot), R(context), U8(4), |
150 B(ToName), | 150 B(ToName), R(6), |
151 B(Star), R(6), | |
152 B(CreateClosure), U8(4), U8(2), | 151 B(CreateClosure), U8(4), U8(2), |
153 B(Star), R(7), | 152 B(Star), R(7), |
154 B(LdaSmi), U8(2), | 153 B(LdaSmi), U8(2), |
155 B(Star), R(8), | 154 B(Star), R(8), |
156 B(LdaSmi), U8(1), | 155 B(LdaSmi), U8(1), |
157 B(Star), R(9), | 156 B(Star), R(9), |
158 B(Mov), R(4), R(5), | 157 B(Mov), R(4), R(5), |
159 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5)
, U8(5), | 158 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5)
, U8(5), |
160 /* 106 E> */ B(LdaContextSlot), R(context), U8(5), | 159 /* 106 E> */ B(LdaContextSlot), R(context), U8(5), |
161 B(ToName), | 160 B(ToName), R(6), |
162 B(Star), R(6), | |
163 B(LdaConstant), U8(3), | 161 B(LdaConstant), U8(3), |
164 B(TestEqualStrict), R(6), | 162 B(TestEqualStrict), R(6), |
165 B(Mov), R(3), R(5), | 163 B(Mov), R(3), R(5), |
166 B(JumpIfToBooleanFalse), U8(7), | 164 B(JumpIfToBooleanFalse), U8(7), |
167 B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0),
U8(0), | 165 B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0),
U8(0), |
168 B(CreateClosure), U8(5), U8(2), | 166 B(CreateClosure), U8(5), U8(2), |
169 B(Star), R(7), | 167 B(Star), R(7), |
170 B(LdaSmi), U8(1), | 168 B(LdaSmi), U8(1), |
171 B(Star), R(9), | 169 B(Star), R(9), |
172 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5)
, U8(5), | 170 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5)
, U8(5), |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 /* 103 S> */ B(Return), | 227 /* 103 S> */ B(Return), |
230 ] | 228 ] |
231 constant pool: [ | 229 constant pool: [ |
232 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 230 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
233 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 231 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
234 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 232 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
235 ] | 233 ] |
236 handlers: [ | 234 handlers: [ |
237 ] | 235 ] |
238 | 236 |
OLD | NEW |