| 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 for (var p of [0, 1, 2]) {} | 12 for (var p of [0, 1, 2]) {} |
| 13 " | 13 " |
| 14 frame size: 16 | 14 frame size: 16 |
| 15 parameter count: 1 | 15 parameter count: 1 |
| 16 bytecode array length: 347 | 16 bytecode array length: 347 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
| 19 B(LdaUndefined), | 19 B(LdaUndefined), |
| 20 B(Star), R(4), | 20 B(Star), R(4), |
| 21 B(LdaZero), | 21 B(LdaZero), |
| 22 B(Star), R(3), | 22 B(Star), R(3), |
| 23 B(Mov), R(context), R(11), | 23 B(Mov), R(context), R(11), |
| 24 B(Mov), R(context), R(12), | 24 B(Mov), R(context), R(12), |
| 25 B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 25 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
| 26 B(Star), R(14), | 26 B(Star), R(14), |
| 27 B(LdaConstant), U8(1), | 27 /* 48 E> */ B(LdaConstant), U8(1), |
| 28 B(KeyedLoadIC), R(14), U8(3), | 28 B(KeyedLoadIC), R(14), U8(3), |
| 29 B(Star), R(13), | 29 B(Star), R(13), |
| 30 B(Call), R(13), R(14), U8(1), U8(1), | 30 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), |
| 31 B(Star), R(1), | 31 /* 48 E> */ B(Star), R(1), |
| 32 B(Ldar), R(1), | 32 /* 45 S> */ B(Ldar), R(1), |
| 33 B(Star), R(15), | 33 B(Star), R(15), |
| 34 B(LoadIC), R(15), U8(2), U8(7), | 34 B(LoadIC), R(15), U8(2), U8(7), |
| 35 B(Star), R(14), | 35 B(Star), R(14), |
| 36 B(Call), R(14), R(15), U8(1), U8(5), | 36 /* 45 E> */ B(Call), R(14), R(15), U8(1), U8(5), |
| 37 B(Star), R(2), | 37 /* 45 E> */ B(Star), R(2), |
| 38 B(Star), R(13), | 38 B(Star), R(13), |
| 39 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), | 39 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), |
| 40 B(LogicalNot), | 40 B(LogicalNot), |
| 41 B(JumpIfFalse), U8(11), | 41 B(JumpIfFalse), U8(11), |
| 42 B(Ldar), R(2), | 42 B(Ldar), R(2), |
| 43 B(Star), R(13), | 43 B(Star), R(13), |
| 44 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), | 44 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(13), U8(1), |
| 45 B(Ldar), R(2), | 45 B(Ldar), R(2), |
| 46 B(Star), R(13), | 46 B(Star), R(13), |
| 47 B(LoadIC), R(13), U8(3), U8(9), | 47 B(LoadIC), R(13), U8(3), U8(9), |
| 48 B(JumpIfToBooleanTrue), U8(28), | 48 B(JumpIfToBooleanTrue), U8(28), |
| 49 B(LdaSmi), U8(2), | 49 B(LdaSmi), U8(2), |
| 50 B(Star), R(3), | 50 B(Star), R(3), |
| 51 B(Ldar), R(2), | 51 B(Ldar), R(2), |
| 52 B(Star), R(13), | 52 B(Star), R(13), |
| 53 B(LoadIC), R(13), U8(4), U8(11), | 53 B(LoadIC), R(13), U8(4), U8(11), |
| 54 B(Star), R(0), | 54 B(Star), R(0), |
| 55 B(Ldar), R(4), | 55 B(Ldar), R(4), |
| 56 B(StackCheck), | 56 /* 34 E> */ B(StackCheck), |
| 57 B(Ldar), R(0), | 57 B(Ldar), R(0), |
| 58 B(Star), R(7), | 58 B(Star), R(7), |
| 59 B(LdaZero), | 59 B(LdaZero), |
| 60 B(Star), R(3), | 60 B(Star), R(3), |
| 61 B(Jump), U8(-70), | 61 B(Jump), U8(-70), |
| 62 B(Jump), U8(47), | 62 B(Jump), U8(47), |
| 63 B(Star), R(14), | 63 B(Star), R(14), |
| 64 B(LdaConstant), U8(5), | 64 B(LdaConstant), U8(5), |
| 65 B(Star), R(13), | 65 B(Star), R(13), |
| 66 B(Ldar), R(closure), | 66 B(Ldar), R(closure), |
| 67 B(Star), R(15), | 67 B(Star), R(15), |
| 68 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), | 68 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), |
| 69 B(Star), R(12), | 69 B(Star), R(12), |
| 70 B(PushContext), R(8), | 70 B(PushContext), R(8), |
| 71 B(Ldar), R(3), | 71 B(Ldar), R(3), |
| 72 B(Star), R(13), | 72 B(Star), R(13), |
| 73 B(LdaSmi), U8(2), | 73 B(LdaSmi), U8(2), |
| 74 B(TestEqualStrict), R(13), | 74 B(TestEqualStrict), R(13), |
| 75 B(JumpIfFalse), U8(6), | 75 B(JumpIfFalse), U8(6), |
| 76 B(LdaSmi), U8(1), | 76 B(LdaSmi), U8(1), |
| 77 B(Star), R(3), | 77 B(Star), R(3), |
| 78 B(LdaContextSlot), R(context), U8(4), | 78 B(LdaContextSlot), R(context), U8(4), |
| 79 B(Star), R(13), | 79 B(Star), R(13), |
| 80 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), | 80 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), |
| 81 B(PopContext), R(8), | 81 B(PopContext), R(8), |
| 82 B(LdaSmi), U8(-1), | 82 B(LdaSmi), U8(-1), |
| 83 B(Star), R(9), | 83 B(Star), R(9), |
| 84 B(Jump), U8(7), | 84 B(Jump), U8(7), |
| 85 B(Star), R(10), | 85 B(Star), R(10), |
| 86 B(LdaZero), | 86 B(LdaZero), |
| 87 B(Star), R(9), | 87 B(Star), R(9), |
| 88 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 88 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 89 B(Star), R(11), | 89 B(Star), R(11), |
| 90 B(Ldar), R(3), | 90 B(Ldar), R(3), |
| 91 B(Star), R(12), | 91 B(Star), R(12), |
| 92 B(LdaZero), | 92 B(LdaZero), |
| 93 B(TestEqualStrict), R(12), | 93 B(TestEqualStrict), R(12), |
| 94 B(JumpIfTrue), U8(9), | 94 B(JumpIfTrue), U8(9), |
| 95 B(Ldar), R(1), | 95 B(Ldar), R(1), |
| 96 B(Star), R(12), | 96 B(Star), R(12), |
| 97 B(LdaUndefined), | 97 B(LdaUndefined), |
| 98 B(TestEqualStrict), R(12), | 98 B(TestEqualStrict), R(12), |
| 99 B(LogicalNot), | 99 B(LogicalNot), |
| 100 B(JumpIfFalseConstant), U8(9), | 100 B(JumpIfFalseConstant), U8(9), |
| 101 B(Ldar), R(1), | 101 B(Ldar), R(1), |
| 102 B(Star), R(12), | 102 B(Star), R(12), |
| 103 B(LoadIC), R(12), U8(6), U8(13), | 103 B(LoadIC), R(12), U8(6), U8(13), |
| 104 B(Star), R(5), | 104 B(Star), R(5), |
| 105 B(Star), R(12), | 105 B(Star), R(12), |
| 106 B(LdaNull), | 106 B(LdaNull), |
| 107 B(TestEqual), R(12), | 107 B(TestEqual), R(12), |
| 108 B(JumpIfFalse), U8(4), | 108 B(JumpIfFalse), U8(4), |
| 109 B(Jump), U8(124), | 109 B(Jump), U8(124), |
| 110 B(Ldar), R(3), | 110 B(Ldar), R(3), |
| 111 B(Star), R(12), | 111 B(Star), R(12), |
| 112 B(LdaSmi), U8(1), | 112 B(LdaSmi), U8(1), |
| 113 B(TestEqualStrict), R(12), | 113 B(TestEqualStrict), R(12), |
| 114 B(JumpIfFalse), U8(79), | 114 B(JumpIfFalse), U8(79), |
| 115 B(Ldar), R(5), | 115 B(Ldar), R(5), |
| 116 B(TypeOf), | 116 B(TypeOf), |
| 117 B(Star), R(12), | 117 B(Star), R(12), |
| 118 B(LdaConstant), U8(7), | 118 B(LdaConstant), U8(7), |
| 119 B(TestEqualStrict), R(12), | 119 B(TestEqualStrict), R(12), |
| 120 B(JumpIfFalse), U8(4), | 120 B(JumpIfFalse), U8(4), |
| 121 B(Jump), U8(18), | 121 B(Jump), U8(18), |
| 122 B(Wide), B(LdaSmi), U16(130), | 122 B(Wide), B(LdaSmi), U16(130), |
| 123 B(Star), R(12), | 123 B(Star), R(12), |
| 124 B(LdaConstant), U8(8), | 124 B(LdaConstant), U8(8), |
| 125 B(Star), R(13), | 125 B(Star), R(13), |
| 126 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), | 126 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), |
| 127 B(Throw), | 127 B(Throw), |
| 128 B(Mov), R(context), R(12), | 128 B(Mov), R(context), R(12), |
| 129 B(Ldar), R(5), | 129 B(Ldar), R(5), |
| 130 B(Star), R(13), | 130 B(Star), R(13), |
| 131 B(Ldar), R(1), | 131 B(Ldar), R(1), |
| 132 B(Star), R(14), | 132 B(Star), R(14), |
| 133 B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2), | 133 B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2), |
| 134 B(Jump), U8(30), | 134 B(Jump), U8(30), |
| 135 B(Star), R(14), | 135 B(Star), R(14), |
| 136 B(LdaConstant), U8(5), | 136 B(LdaConstant), U8(5), |
| 137 B(Star), R(13), | 137 B(Star), R(13), |
| 138 B(Ldar), R(closure), | 138 B(Ldar), R(closure), |
| 139 B(Star), R(15), | 139 B(Star), R(15), |
| 140 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), | 140 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), |
| 141 B(Star), R(12), | 141 B(Star), R(12), |
| 142 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 142 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 143 B(Ldar), R(12), | 143 B(Ldar), R(12), |
| 144 B(PushContext), R(8), | 144 B(PushContext), R(8), |
| 145 B(PopContext), R(8), | 145 B(PopContext), R(8), |
| 146 B(Jump), U8(37), | 146 B(Jump), U8(37), |
| 147 B(Ldar), R(5), | 147 B(Ldar), R(5), |
| 148 B(Star), R(12), | 148 B(Star), R(12), |
| 149 B(Ldar), R(1), | 149 B(Ldar), R(1), |
| 150 B(Star), R(13), | 150 B(Star), R(13), |
| 151 B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2), | 151 B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2), |
| 152 B(Star), R(6), | 152 B(Star), R(6), |
| 153 B(Star), R(12), | 153 B(Star), R(12), |
| 154 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), | 154 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), |
| 155 B(JumpIfToBooleanFalse), U8(4), | 155 B(JumpIfToBooleanFalse), U8(4), |
| 156 B(Jump), U8(11), | 156 B(Jump), U8(11), |
| 157 B(Ldar), R(6), | 157 B(Ldar), R(6), |
| 158 B(Star), R(12), | 158 B(Star), R(12), |
| 159 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1), | 159 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), |
| 160 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(11), U8(1), | 160 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1
1), U8(1), |
| 161 B(LdaZero), | 161 B(LdaZero), |
| 162 B(TestEqualStrict), R(9), | 162 B(TestEqualStrict), R(9), |
| 163 B(JumpIfTrue), U8(4), | 163 B(JumpIfTrue), U8(4), |
| 164 B(Jump), U8(5), | 164 B(Jump), U8(5), |
| 165 B(Ldar), R(10), | 165 B(Ldar), R(10), |
| 166 B(ReThrow), | 166 B(ReThrow), |
| 167 B(LdaUndefined), | 167 B(LdaUndefined), |
| 168 B(Return), | 168 /* 62 S> */ B(Return), |
| 169 ] | 169 ] |
| 170 constant pool: [ | 170 constant pool: [ |
| 171 InstanceType::FIXED_ARRAY_TYPE, | 171 InstanceType::FIXED_ARRAY_TYPE, |
| 172 InstanceType::SYMBOL_TYPE, | 172 InstanceType::SYMBOL_TYPE, |
| 173 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 173 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 174 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 174 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 175 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 175 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 176 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 176 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 177 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 177 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 178 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 178 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 179 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 179 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 180 kInstanceTypeDontCare, | 180 kInstanceTypeDontCare, |
| 181 ] | 181 ] |
| 182 handlers: [ | 182 handlers: [ |
| 183 [10, 152, 158], | 183 [10, 152, 158], |
| 184 [13, 105, 107], | 184 [13, 105, 107], |
| 185 [250, 263, 265], | 185 [250, 263, 265], |
| 186 ] | 186 ] |
| 187 | 187 |
| 188 --- | 188 --- |
| 189 snippet: " | 189 snippet: " |
| 190 var x = 'potatoes'; | 190 var x = 'potatoes'; |
| 191 for (var p of x) { return p; } | 191 for (var p of x) { return p; } |
| 192 " | 192 " |
| 193 frame size: 17 | 193 frame size: 17 |
| 194 parameter count: 1 | 194 parameter count: 1 |
| 195 bytecode array length: 363 | 195 bytecode array length: 363 |
| 196 bytecodes: [ | 196 bytecodes: [ |
| 197 B(StackCheck), | 197 /* 30 E> */ B(StackCheck), |
| 198 B(LdaConstant), U8(0), | 198 /* 42 S> */ B(LdaConstant), U8(0), |
| 199 B(Star), R(7), | 199 /* 42 E> */ B(Star), R(7), |
| 200 B(LdaUndefined), | 200 B(LdaUndefined), |
| 201 B(Star), R(4), | 201 B(Star), R(4), |
| 202 B(LdaZero), | 202 B(LdaZero), |
| 203 B(Star), R(3), | 203 B(Star), R(3), |
| 204 B(Mov), R(context), R(12), | 204 B(Mov), R(context), R(12), |
| 205 B(Mov), R(context), R(13), | 205 B(Mov), R(context), R(13), |
| 206 B(Ldar), R(7), | 206 /* 68 S> */ B(Ldar), R(7), |
| 207 B(Star), R(15), | 207 B(Star), R(15), |
| 208 B(LdaConstant), U8(1), | 208 /* 68 E> */ B(LdaConstant), U8(1), |
| 209 B(KeyedLoadIC), R(15), U8(3), | 209 B(KeyedLoadIC), R(15), U8(3), |
| 210 B(Star), R(14), | 210 B(Star), R(14), |
| 211 B(Call), R(14), R(15), U8(1), U8(1), | 211 /* 68 E> */ B(Call), R(14), R(15), U8(1), U8(1), |
| 212 B(Star), R(1), | 212 /* 68 E> */ B(Star), R(1), |
| 213 B(Ldar), R(1), | 213 /* 65 S> */ B(Ldar), R(1), |
| 214 B(Star), R(16), | 214 B(Star), R(16), |
| 215 B(LoadIC), R(16), U8(2), U8(7), | 215 B(LoadIC), R(16), U8(2), U8(7), |
| 216 B(Star), R(15), | 216 B(Star), R(15), |
| 217 B(Call), R(15), R(16), U8(1), U8(5), | 217 /* 65 E> */ B(Call), R(15), R(16), U8(1), U8(5), |
| 218 B(Star), R(2), | 218 /* 65 E> */ B(Star), R(2), |
| 219 B(Star), R(14), | 219 B(Star), R(14), |
| 220 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(14), U8(1), | 220 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(14), U8(1), |
| 221 B(LogicalNot), | 221 B(LogicalNot), |
| 222 B(JumpIfFalse), U8(11), | 222 B(JumpIfFalse), U8(11), |
| 223 B(Ldar), R(2), | 223 B(Ldar), R(2), |
| 224 B(Star), R(14), | 224 B(Star), R(14), |
| 225 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(14), U8(1), | 225 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(14), U8(1), |
| 226 B(Ldar), R(2), | 226 B(Ldar), R(2), |
| 227 B(Star), R(14), | 227 B(Star), R(14), |
| 228 B(LoadIC), R(14), U8(3), U8(9), | 228 B(LoadIC), R(14), U8(3), U8(9), |
| 229 B(JumpIfToBooleanTrue), U8(32), | 229 B(JumpIfToBooleanTrue), U8(32), |
| 230 B(LdaSmi), U8(2), | 230 B(LdaSmi), U8(2), |
| 231 B(Star), R(3), | 231 B(Star), R(3), |
| 232 B(Ldar), R(2), | 232 B(Ldar), R(2), |
| 233 B(Star), R(14), | 233 B(Star), R(14), |
| 234 B(LoadIC), R(14), U8(4), U8(11), | 234 B(LoadIC), R(14), U8(4), U8(11), |
| 235 B(Star), R(0), | 235 B(Star), R(0), |
| 236 B(Ldar), R(4), | 236 B(Ldar), R(4), |
| 237 B(StackCheck), | 237 /* 54 E> */ B(StackCheck), |
| 238 B(Ldar), R(0), | 238 B(Ldar), R(0), |
| 239 B(Star), R(8), | 239 B(Star), R(8), |
| 240 B(Star), R(11), | 240 /* 73 S> */ B(Star), R(11), |
| 241 B(LdaZero), | 241 B(LdaZero), |
| 242 B(Star), R(10), | 242 B(Star), R(10), |
| 243 B(Jump), U8(63), | 243 B(Jump), U8(63), |
| 244 B(Jump), U8(-74), | 244 B(Jump), U8(-74), |
| 245 B(Jump), U8(47), | 245 B(Jump), U8(47), |
| 246 B(Star), R(15), | 246 B(Star), R(15), |
| 247 B(LdaConstant), U8(5), | 247 B(LdaConstant), U8(5), |
| 248 B(Star), R(14), | 248 B(Star), R(14), |
| 249 B(Ldar), R(closure), | 249 B(Ldar), R(closure), |
| 250 B(Star), R(16), | 250 B(Star), R(16), |
| 251 B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3), | 251 B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3), |
| 252 B(Star), R(13), | 252 B(Star), R(13), |
| 253 B(PushContext), R(9), | 253 B(PushContext), R(9), |
| 254 B(Ldar), R(3), | 254 B(Ldar), R(3), |
| 255 B(Star), R(14), | 255 B(Star), R(14), |
| 256 B(LdaSmi), U8(2), | 256 B(LdaSmi), U8(2), |
| 257 B(TestEqualStrict), R(14), | 257 B(TestEqualStrict), R(14), |
| 258 B(JumpIfFalse), U8(6), | 258 B(JumpIfFalse), U8(6), |
| 259 B(LdaSmi), U8(1), | 259 B(LdaSmi), U8(1), |
| 260 B(Star), R(3), | 260 B(Star), R(3), |
| 261 B(LdaContextSlot), R(context), U8(4), | 261 B(LdaContextSlot), R(context), U8(4), |
| 262 B(Star), R(14), | 262 B(Star), R(14), |
| 263 B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), | 263 B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), |
| 264 B(PopContext), R(9), | 264 B(PopContext), R(9), |
| 265 B(LdaSmi), U8(-1), | 265 B(LdaSmi), U8(-1), |
| 266 B(Star), R(10), | 266 B(Star), R(10), |
| 267 B(Jump), U8(8), | 267 B(Jump), U8(8), |
| 268 B(Star), R(11), | 268 B(Star), R(11), |
| 269 B(LdaSmi), U8(1), | 269 B(LdaSmi), U8(1), |
| 270 B(Star), R(10), | 270 B(Star), R(10), |
| 271 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 271 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 272 B(Star), R(12), | 272 B(Star), R(12), |
| 273 B(Ldar), R(3), | 273 B(Ldar), R(3), |
| 274 B(Star), R(13), | 274 B(Star), R(13), |
| 275 B(LdaZero), | 275 B(LdaZero), |
| 276 B(TestEqualStrict), R(13), | 276 B(TestEqualStrict), R(13), |
| 277 B(JumpIfTrue), U8(9), | 277 B(JumpIfTrue), U8(9), |
| 278 B(Ldar), R(1), | 278 B(Ldar), R(1), |
| 279 B(Star), R(13), | 279 B(Star), R(13), |
| 280 B(LdaUndefined), | 280 B(LdaUndefined), |
| 281 B(TestEqualStrict), R(13), | 281 B(TestEqualStrict), R(13), |
| 282 B(LogicalNot), | 282 B(LogicalNot), |
| 283 B(JumpIfFalseConstant), U8(9), | 283 B(JumpIfFalseConstant), U8(9), |
| 284 B(Ldar), R(1), | 284 B(Ldar), R(1), |
| 285 B(Star), R(13), | 285 B(Star), R(13), |
| 286 B(LoadIC), R(13), U8(6), U8(13), | 286 B(LoadIC), R(13), U8(6), U8(13), |
| 287 B(Star), R(5), | 287 B(Star), R(5), |
| 288 B(Star), R(13), | 288 B(Star), R(13), |
| 289 B(LdaNull), | 289 B(LdaNull), |
| 290 B(TestEqual), R(13), | 290 B(TestEqual), R(13), |
| 291 B(JumpIfFalse), U8(4), | 291 B(JumpIfFalse), U8(4), |
| 292 B(Jump), U8(124), | 292 B(Jump), U8(124), |
| 293 B(Ldar), R(3), | 293 B(Ldar), R(3), |
| 294 B(Star), R(13), | 294 B(Star), R(13), |
| 295 B(LdaSmi), U8(1), | 295 B(LdaSmi), U8(1), |
| 296 B(TestEqualStrict), R(13), | 296 B(TestEqualStrict), R(13), |
| 297 B(JumpIfFalse), U8(79), | 297 B(JumpIfFalse), U8(79), |
| 298 B(Ldar), R(5), | 298 B(Ldar), R(5), |
| 299 B(TypeOf), | 299 B(TypeOf), |
| 300 B(Star), R(13), | 300 B(Star), R(13), |
| 301 B(LdaConstant), U8(7), | 301 B(LdaConstant), U8(7), |
| 302 B(TestEqualStrict), R(13), | 302 B(TestEqualStrict), R(13), |
| 303 B(JumpIfFalse), U8(4), | 303 B(JumpIfFalse), U8(4), |
| 304 B(Jump), U8(18), | 304 B(Jump), U8(18), |
| 305 B(Wide), B(LdaSmi), U16(130), | 305 B(Wide), B(LdaSmi), U16(130), |
| 306 B(Star), R(13), | 306 B(Star), R(13), |
| 307 B(LdaConstant), U8(8), | 307 B(LdaConstant), U8(8), |
| 308 B(Star), R(14), | 308 B(Star), R(14), |
| 309 B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), | 309 B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), |
| 310 B(Throw), | 310 B(Throw), |
| 311 B(Mov), R(context), R(13), | 311 B(Mov), R(context), R(13), |
| 312 B(Ldar), R(5), | 312 B(Ldar), R(5), |
| 313 B(Star), R(14), | 313 B(Star), R(14), |
| 314 B(Ldar), R(1), | 314 B(Ldar), R(1), |
| 315 B(Star), R(15), | 315 B(Star), R(15), |
| 316 B(CallRuntime), U16(Runtime::k_Call), R(14), U8(2), | 316 B(CallRuntime), U16(Runtime::k_Call), R(14), U8(2), |
| 317 B(Jump), U8(30), | 317 B(Jump), U8(30), |
| 318 B(Star), R(15), | 318 B(Star), R(15), |
| 319 B(LdaConstant), U8(5), | 319 B(LdaConstant), U8(5), |
| 320 B(Star), R(14), | 320 B(Star), R(14), |
| 321 B(Ldar), R(closure), | 321 B(Ldar), R(closure), |
| 322 B(Star), R(16), | 322 B(Star), R(16), |
| 323 B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3), | 323 B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3), |
| 324 B(Star), R(13), | 324 B(Star), R(13), |
| 325 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 325 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 326 B(Ldar), R(13), | 326 B(Ldar), R(13), |
| 327 B(PushContext), R(9), | 327 B(PushContext), R(9), |
| 328 B(PopContext), R(9), | 328 B(PopContext), R(9), |
| 329 B(Jump), U8(37), | 329 B(Jump), U8(37), |
| 330 B(Ldar), R(5), | 330 B(Ldar), R(5), |
| 331 B(Star), R(13), | 331 B(Star), R(13), |
| 332 B(Ldar), R(1), | 332 B(Ldar), R(1), |
| 333 B(Star), R(14), | 333 B(Star), R(14), |
| 334 B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2), | 334 B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2), |
| 335 B(Star), R(6), | 335 B(Star), R(6), |
| 336 B(Star), R(13), | 336 B(Star), R(13), |
| 337 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), | 337 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), |
| 338 B(JumpIfToBooleanFalse), U8(4), | 338 B(JumpIfToBooleanFalse), U8(4), |
| 339 B(Jump), U8(11), | 339 B(Jump), U8(11), |
| 340 B(Ldar), R(6), | 340 B(Ldar), R(6), |
| 341 B(Star), R(13), | 341 B(Star), R(13), |
| 342 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), | 342 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(13), U8(1), |
| 343 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(12), U8(1), | 343 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1
2), U8(1), |
| 344 B(LdaZero), | 344 B(LdaZero), |
| 345 B(TestEqualStrict), R(10), | 345 B(TestEqualStrict), R(10), |
| 346 B(JumpIfTrue), U8(10), | 346 B(JumpIfTrue), U8(10), |
| 347 B(LdaSmi), U8(1), | 347 B(LdaSmi), U8(1), |
| 348 B(TestEqualStrict), R(10), | 348 B(TestEqualStrict), R(10), |
| 349 B(JumpIfTrue), U8(7), | 349 B(JumpIfTrue), U8(7), |
| 350 B(Jump), U8(8), | 350 B(Jump), U8(8), |
| 351 B(Ldar), R(11), | 351 B(Ldar), R(11), |
| 352 B(Return), | 352 /* 85 S> */ B(Return), |
| 353 B(Ldar), R(11), | 353 B(Ldar), R(11), |
| 354 B(ReThrow), | 354 B(ReThrow), |
| 355 B(LdaUndefined), | 355 B(LdaUndefined), |
| 356 B(Return), | 356 /* 85 S> */ B(Return), |
| 357 ] | 357 ] |
| 358 constant pool: [ | 358 constant pool: [ |
| 359 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 359 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 360 InstanceType::SYMBOL_TYPE, | 360 InstanceType::SYMBOL_TYPE, |
| 361 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 361 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 362 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 362 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 363 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 363 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 364 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 364 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 365 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 365 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 366 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 366 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 377 snippet: " | 377 snippet: " |
| 378 for (var x of [10, 20, 30]) { | 378 for (var x of [10, 20, 30]) { |
| 379 if (x == 10) continue; | 379 if (x == 10) continue; |
| 380 if (x == 20) break; | 380 if (x == 20) break; |
| 381 } | 381 } |
| 382 " | 382 " |
| 383 frame size: 16 | 383 frame size: 16 |
| 384 parameter count: 1 | 384 parameter count: 1 |
| 385 bytecode array length: 369 | 385 bytecode array length: 369 |
| 386 bytecodes: [ | 386 bytecodes: [ |
| 387 B(StackCheck), | 387 /* 30 E> */ B(StackCheck), |
| 388 B(LdaUndefined), | 388 B(LdaUndefined), |
| 389 B(Star), R(4), | 389 B(Star), R(4), |
| 390 B(LdaZero), | 390 B(LdaZero), |
| 391 B(Star), R(3), | 391 B(Star), R(3), |
| 392 B(Mov), R(context), R(11), | 392 B(Mov), R(context), R(11), |
| 393 B(Mov), R(context), R(12), | 393 B(Mov), R(context), R(12), |
| 394 B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 394 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
| 395 B(Star), R(14), | 395 B(Star), R(14), |
| 396 B(LdaConstant), U8(1), | 396 /* 48 E> */ B(LdaConstant), U8(1), |
| 397 B(KeyedLoadIC), R(14), U8(3), | 397 B(KeyedLoadIC), R(14), U8(3), |
| 398 B(Star), R(13), | 398 B(Star), R(13), |
| 399 B(Call), R(13), R(14), U8(1), U8(1), | 399 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), |
| 400 B(Star), R(1), | 400 /* 48 E> */ B(Star), R(1), |
| 401 B(Ldar), R(1), | 401 /* 45 S> */ B(Ldar), R(1), |
| 402 B(Star), R(15), | 402 B(Star), R(15), |
| 403 B(LoadIC), R(15), U8(2), U8(7), | 403 B(LoadIC), R(15), U8(2), U8(7), |
| 404 B(Star), R(14), | 404 B(Star), R(14), |
| 405 B(Call), R(14), R(15), U8(1), U8(5), | 405 /* 45 E> */ B(Call), R(14), R(15), U8(1), U8(5), |
| 406 B(Star), R(2), | 406 /* 45 E> */ B(Star), R(2), |
| 407 B(Star), R(13), | 407 B(Star), R(13), |
| 408 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), | 408 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(13), U8(1), |
| 409 B(LogicalNot), | 409 B(LogicalNot), |
| 410 B(JumpIfFalse), U8(11), | 410 B(JumpIfFalse), U8(11), |
| 411 B(Ldar), R(2), | 411 B(Ldar), R(2), |
| 412 B(Star), R(13), | 412 B(Star), R(13), |
| 413 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), | 413 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(13), U8(1), |
| 414 B(Ldar), R(2), | 414 B(Ldar), R(2), |
| 415 B(Star), R(13), | 415 B(Star), R(13), |
| 416 B(LoadIC), R(13), U8(3), U8(9), | 416 B(LoadIC), R(13), U8(3), U8(9), |
| 417 B(JumpIfToBooleanTrue), U8(50), | 417 B(JumpIfToBooleanTrue), U8(50), |
| 418 B(LdaSmi), U8(2), | 418 B(LdaSmi), U8(2), |
| 419 B(Star), R(3), | 419 B(Star), R(3), |
| 420 B(Ldar), R(2), | 420 B(Ldar), R(2), |
| 421 B(Star), R(13), | 421 B(Star), R(13), |
| 422 B(LoadIC), R(13), U8(4), U8(11), | 422 B(LoadIC), R(13), U8(4), U8(11), |
| 423 B(Star), R(0), | 423 B(Star), R(0), |
| 424 B(Ldar), R(4), | 424 B(Ldar), R(4), |
| 425 B(StackCheck), | 425 /* 34 E> */ B(StackCheck), |
| 426 B(Ldar), R(0), | 426 B(Ldar), R(0), |
| 427 B(Star), R(7), | 427 B(Star), R(7), |
| 428 B(Star), R(13), | 428 /* 66 S> */ B(Star), R(13), |
| 429 B(LdaSmi), U8(10), | 429 B(LdaSmi), U8(10), |
| 430 B(TestEqual), R(13), | 430 /* 72 E> */ B(TestEqual), R(13), |
| 431 B(JumpIfFalse), U8(4), | 431 B(JumpIfFalse), U8(4), |
| 432 B(Jump), U8(17), | 432 /* 79 S> */ B(Jump), U8(17), |
| 433 B(Ldar), R(7), | 433 /* 91 S> */ B(Ldar), R(7), |
| 434 B(Star), R(13), | 434 B(Star), R(13), |
| 435 B(LdaSmi), U8(20), | 435 B(LdaSmi), U8(20), |
| 436 B(TestEqual), R(13), | 436 /* 97 E> */ B(TestEqual), R(13), |
| 437 B(JumpIfFalse), U8(4), | 437 B(JumpIfFalse), U8(4), |
| 438 B(Jump), U8(7), | 438 /* 104 S> */ B(Jump), U8(7), |
| 439 B(LdaZero), | 439 B(LdaZero), |
| 440 B(Star), R(3), | 440 B(Star), R(3), |
| 441 B(Jump), U8(-92), | 441 B(Jump), U8(-92), |
| 442 B(Jump), U8(47), | 442 B(Jump), U8(47), |
| 443 B(Star), R(14), | 443 B(Star), R(14), |
| 444 B(LdaConstant), U8(5), | 444 B(LdaConstant), U8(5), |
| 445 B(Star), R(13), | 445 B(Star), R(13), |
| 446 B(Ldar), R(closure), | 446 B(Ldar), R(closure), |
| 447 B(Star), R(15), | 447 B(Star), R(15), |
| 448 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), | 448 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), |
| 449 B(Star), R(12), | 449 B(Star), R(12), |
| 450 B(PushContext), R(8), | 450 B(PushContext), R(8), |
| 451 B(Ldar), R(3), | 451 B(Ldar), R(3), |
| 452 B(Star), R(13), | 452 B(Star), R(13), |
| 453 B(LdaSmi), U8(2), | 453 B(LdaSmi), U8(2), |
| 454 B(TestEqualStrict), R(13), | 454 B(TestEqualStrict), R(13), |
| 455 B(JumpIfFalse), U8(6), | 455 B(JumpIfFalse), U8(6), |
| 456 B(LdaSmi), U8(1), | 456 B(LdaSmi), U8(1), |
| 457 B(Star), R(3), | 457 B(Star), R(3), |
| 458 B(LdaContextSlot), R(context), U8(4), | 458 B(LdaContextSlot), R(context), U8(4), |
| 459 B(Star), R(13), | 459 B(Star), R(13), |
| 460 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), | 460 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), |
| 461 B(PopContext), R(8), | 461 B(PopContext), R(8), |
| 462 B(LdaSmi), U8(-1), | 462 B(LdaSmi), U8(-1), |
| 463 B(Star), R(9), | 463 B(Star), R(9), |
| 464 B(Jump), U8(7), | 464 B(Jump), U8(7), |
| 465 B(Star), R(10), | 465 B(Star), R(10), |
| 466 B(LdaZero), | 466 B(LdaZero), |
| 467 B(Star), R(9), | 467 B(Star), R(9), |
| 468 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 468 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 469 B(Star), R(11), | 469 B(Star), R(11), |
| 470 B(Ldar), R(3), | 470 B(Ldar), R(3), |
| 471 B(Star), R(12), | 471 B(Star), R(12), |
| 472 B(LdaZero), | 472 B(LdaZero), |
| 473 B(TestEqualStrict), R(12), | 473 B(TestEqualStrict), R(12), |
| 474 B(JumpIfTrue), U8(9), | 474 B(JumpIfTrue), U8(9), |
| 475 B(Ldar), R(1), | 475 B(Ldar), R(1), |
| 476 B(Star), R(12), | 476 B(Star), R(12), |
| 477 B(LdaUndefined), | 477 B(LdaUndefined), |
| 478 B(TestEqualStrict), R(12), | 478 B(TestEqualStrict), R(12), |
| 479 B(LogicalNot), | 479 B(LogicalNot), |
| 480 B(JumpIfFalseConstant), U8(9), | 480 B(JumpIfFalseConstant), U8(9), |
| 481 B(Ldar), R(1), | 481 B(Ldar), R(1), |
| 482 B(Star), R(12), | 482 B(Star), R(12), |
| 483 B(LoadIC), R(12), U8(6), U8(13), | 483 B(LoadIC), R(12), U8(6), U8(13), |
| 484 B(Star), R(5), | 484 B(Star), R(5), |
| 485 B(Star), R(12), | 485 B(Star), R(12), |
| 486 B(LdaNull), | 486 B(LdaNull), |
| 487 B(TestEqual), R(12), | 487 B(TestEqual), R(12), |
| 488 B(JumpIfFalse), U8(4), | 488 B(JumpIfFalse), U8(4), |
| 489 B(Jump), U8(124), | 489 B(Jump), U8(124), |
| 490 B(Ldar), R(3), | 490 B(Ldar), R(3), |
| 491 B(Star), R(12), | 491 B(Star), R(12), |
| 492 B(LdaSmi), U8(1), | 492 B(LdaSmi), U8(1), |
| 493 B(TestEqualStrict), R(12), | 493 B(TestEqualStrict), R(12), |
| 494 B(JumpIfFalse), U8(79), | 494 B(JumpIfFalse), U8(79), |
| 495 B(Ldar), R(5), | 495 B(Ldar), R(5), |
| 496 B(TypeOf), | 496 B(TypeOf), |
| 497 B(Star), R(12), | 497 B(Star), R(12), |
| 498 B(LdaConstant), U8(7), | 498 B(LdaConstant), U8(7), |
| 499 B(TestEqualStrict), R(12), | 499 B(TestEqualStrict), R(12), |
| 500 B(JumpIfFalse), U8(4), | 500 B(JumpIfFalse), U8(4), |
| 501 B(Jump), U8(18), | 501 B(Jump), U8(18), |
| 502 B(Wide), B(LdaSmi), U16(130), | 502 B(Wide), B(LdaSmi), U16(130), |
| 503 B(Star), R(12), | 503 B(Star), R(12), |
| 504 B(LdaConstant), U8(8), | 504 B(LdaConstant), U8(8), |
| 505 B(Star), R(13), | 505 B(Star), R(13), |
| 506 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), | 506 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), |
| 507 B(Throw), | 507 B(Throw), |
| 508 B(Mov), R(context), R(12), | 508 B(Mov), R(context), R(12), |
| 509 B(Ldar), R(5), | 509 B(Ldar), R(5), |
| 510 B(Star), R(13), | 510 B(Star), R(13), |
| 511 B(Ldar), R(1), | 511 B(Ldar), R(1), |
| 512 B(Star), R(14), | 512 B(Star), R(14), |
| 513 B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2), | 513 B(CallRuntime), U16(Runtime::k_Call), R(13), U8(2), |
| 514 B(Jump), U8(30), | 514 B(Jump), U8(30), |
| 515 B(Star), R(14), | 515 B(Star), R(14), |
| 516 B(LdaConstant), U8(5), | 516 B(LdaConstant), U8(5), |
| 517 B(Star), R(13), | 517 B(Star), R(13), |
| 518 B(Ldar), R(closure), | 518 B(Ldar), R(closure), |
| 519 B(Star), R(15), | 519 B(Star), R(15), |
| 520 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), | 520 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), |
| 521 B(Star), R(12), | 521 B(Star), R(12), |
| 522 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 522 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 523 B(Ldar), R(12), | 523 B(Ldar), R(12), |
| 524 B(PushContext), R(8), | 524 B(PushContext), R(8), |
| 525 B(PopContext), R(8), | 525 B(PopContext), R(8), |
| 526 B(Jump), U8(37), | 526 B(Jump), U8(37), |
| 527 B(Ldar), R(5), | 527 B(Ldar), R(5), |
| 528 B(Star), R(12), | 528 B(Star), R(12), |
| 529 B(Ldar), R(1), | 529 B(Ldar), R(1), |
| 530 B(Star), R(13), | 530 B(Star), R(13), |
| 531 B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2), | 531 B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2), |
| 532 B(Star), R(6), | 532 B(Star), R(6), |
| 533 B(Star), R(12), | 533 B(Star), R(12), |
| 534 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), | 534 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), |
| 535 B(JumpIfToBooleanFalse), U8(4), | 535 B(JumpIfToBooleanFalse), U8(4), |
| 536 B(Jump), U8(11), | 536 B(Jump), U8(11), |
| 537 B(Ldar), R(6), | 537 B(Ldar), R(6), |
| 538 B(Star), R(12), | 538 B(Star), R(12), |
| 539 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1), | 539 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), |
| 540 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(11), U8(1), | 540 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1
1), U8(1), |
| 541 B(LdaZero), | 541 B(LdaZero), |
| 542 B(TestEqualStrict), R(9), | 542 B(TestEqualStrict), R(9), |
| 543 B(JumpIfTrue), U8(4), | 543 B(JumpIfTrue), U8(4), |
| 544 B(Jump), U8(5), | 544 B(Jump), U8(5), |
| 545 B(Ldar), R(10), | 545 B(Ldar), R(10), |
| 546 B(ReThrow), | 546 B(ReThrow), |
| 547 B(LdaUndefined), | 547 B(LdaUndefined), |
| 548 B(Return), | 548 /* 113 S> */ B(Return), |
| 549 ] | 549 ] |
| 550 constant pool: [ | 550 constant pool: [ |
| 551 InstanceType::FIXED_ARRAY_TYPE, | 551 InstanceType::FIXED_ARRAY_TYPE, |
| 552 InstanceType::SYMBOL_TYPE, | 552 InstanceType::SYMBOL_TYPE, |
| 553 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 553 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 554 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 554 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 555 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 555 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 556 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 556 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 557 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 557 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 558 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 558 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 559 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 559 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 560 kInstanceTypeDontCare, | 560 kInstanceTypeDontCare, |
| 561 ] | 561 ] |
| 562 handlers: [ | 562 handlers: [ |
| 563 [10, 174, 180], | 563 [10, 174, 180], |
| 564 [13, 127, 129], | 564 [13, 127, 129], |
| 565 [272, 285, 287], | 565 [272, 285, 287], |
| 566 ] | 566 ] |
| 567 | 567 |
| 568 --- | 568 --- |
| 569 snippet: " | 569 snippet: " |
| 570 var x = { 'a': 1, 'b': 2 }; | 570 var x = { 'a': 1, 'b': 2 }; |
| 571 for (x['a'] of [1,2,3]) { return x['a']; } | 571 for (x['a'] of [1,2,3]) { return x['a']; } |
| 572 " | 572 " |
| 573 frame size: 15 | 573 frame size: 15 |
| 574 parameter count: 1 | 574 parameter count: 1 |
| 575 bytecode array length: 379 | 575 bytecode array length: 379 |
| 576 bytecodes: [ | 576 bytecodes: [ |
| 577 B(StackCheck), | 577 /* 30 E> */ B(StackCheck), |
| 578 B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 578 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
| 579 B(Star), R(8), | 579 B(Star), R(8), |
| 580 B(Star), R(6), | 580 /* 42 E> */ B(Star), R(6), |
| 581 B(LdaUndefined), | 581 B(LdaUndefined), |
| 582 B(Star), R(3), | 582 B(Star), R(3), |
| 583 B(LdaZero), | 583 B(LdaZero), |
| 584 B(Star), R(2), | 584 B(Star), R(2), |
| 585 B(Mov), R(context), R(10), | 585 B(Mov), R(context), R(10), |
| 586 B(Mov), R(context), R(11), | 586 B(Mov), R(context), R(11), |
| 587 B(CreateArrayLiteral), U8(1), U8(1), U8(3), | 587 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), |
| 588 B(Star), R(13), | 588 B(Star), R(13), |
| 589 B(LdaConstant), U8(2), | 589 /* 77 E> */ B(LdaConstant), U8(2), |
| 590 B(KeyedLoadIC), R(13), U8(3), | 590 B(KeyedLoadIC), R(13), U8(3), |
| 591 B(Star), R(12), | 591 B(Star), R(12), |
| 592 B(Call), R(12), R(13), U8(1), U8(1), | 592 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(1), |
| 593 B(Star), R(0), | 593 /* 77 E> */ B(Star), R(0), |
| 594 B(Ldar), R(0), | 594 /* 74 S> */ B(Ldar), R(0), |
| 595 B(Star), R(14), | 595 B(Star), R(14), |
| 596 B(LoadIC), R(14), U8(3), U8(7), | 596 B(LoadIC), R(14), U8(3), U8(7), |
| 597 B(Star), R(13), | 597 B(Star), R(13), |
| 598 B(Call), R(13), R(14), U8(1), U8(5), | 598 /* 74 E> */ B(Call), R(13), R(14), U8(1), U8(5), |
| 599 B(Star), R(1), | 599 /* 74 E> */ B(Star), R(1), |
| 600 B(Star), R(12), | 600 B(Star), R(12), |
| 601 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), | 601 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(12), U8(1), |
| 602 B(LogicalNot), | 602 B(LogicalNot), |
| 603 B(JumpIfFalse), U8(11), | 603 B(JumpIfFalse), U8(11), |
| 604 B(Ldar), R(1), | 604 B(Ldar), R(1), |
| 605 B(Star), R(12), | 605 B(Star), R(12), |
| 606 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1), | 606 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), |
| 607 B(Ldar), R(1), | 607 B(Ldar), R(1), |
| 608 B(Star), R(12), | 608 B(Star), R(12), |
| 609 B(LoadIC), R(12), U8(4), U8(9), | 609 B(LoadIC), R(12), U8(4), U8(9), |
| 610 B(JumpIfToBooleanTrue), U8(42), | 610 B(JumpIfToBooleanTrue), U8(42), |
| 611 B(LdaSmi), U8(2), | 611 B(LdaSmi), U8(2), |
| 612 B(Star), R(2), | 612 B(Star), R(2), |
| 613 B(Ldar), R(6), | 613 /* 67 E> */ B(Ldar), R(6), |
| 614 B(Star), R(12), | 614 B(Star), R(12), |
| 615 B(Ldar), R(1), | 615 B(Ldar), R(1), |
| 616 B(Star), R(13), | 616 B(Star), R(13), |
| 617 B(LoadIC), R(13), U8(5), U8(11), | 617 B(LoadIC), R(13), U8(5), U8(11), |
| 618 B(StoreICSloppy), R(12), U8(6), U8(13), | 618 B(StoreICSloppy), R(12), U8(6), U8(13), |
| 619 B(Ldar), R(3), | 619 B(Ldar), R(3), |
| 620 B(StackCheck), | 620 /* 62 E> */ B(StackCheck), |
| 621 B(Ldar), R(6), | 621 /* 88 S> */ B(Ldar), R(6), |
| 622 B(Star), R(12), | 622 B(Star), R(12), |
| 623 B(LoadIC), R(12), U8(6), U8(15), | 623 /* 96 E> */ B(LoadIC), R(12), U8(6), U8(15), |
| 624 B(Star), R(9), | 624 B(Star), R(9), |
| 625 B(LdaZero), | 625 B(LdaZero), |
| 626 B(Star), R(8), | 626 B(Star), R(8), |
| 627 B(Jump), U8(63), | 627 B(Jump), U8(63), |
| 628 B(Jump), U8(-84), | 628 B(Jump), U8(-84), |
| 629 B(Jump), U8(47), | 629 B(Jump), U8(47), |
| 630 B(Star), R(13), | 630 B(Star), R(13), |
| 631 B(LdaConstant), U8(7), | 631 B(LdaConstant), U8(7), |
| 632 B(Star), R(12), | 632 B(Star), R(12), |
| 633 B(Ldar), R(closure), | 633 B(Ldar), R(closure), |
| 634 B(Star), R(14), | 634 B(Star), R(14), |
| 635 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), | 635 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), |
| 636 B(Star), R(11), | 636 B(Star), R(11), |
| 637 B(PushContext), R(7), | 637 B(PushContext), R(7), |
| 638 B(Ldar), R(2), | 638 B(Ldar), R(2), |
| 639 B(Star), R(12), | 639 B(Star), R(12), |
| 640 B(LdaSmi), U8(2), | 640 B(LdaSmi), U8(2), |
| 641 B(TestEqualStrict), R(12), | 641 B(TestEqualStrict), R(12), |
| 642 B(JumpIfFalse), U8(6), | 642 B(JumpIfFalse), U8(6), |
| 643 B(LdaSmi), U8(1), | 643 B(LdaSmi), U8(1), |
| 644 B(Star), R(2), | 644 B(Star), R(2), |
| 645 B(LdaContextSlot), R(context), U8(4), | 645 B(LdaContextSlot), R(context), U8(4), |
| 646 B(Star), R(12), | 646 B(Star), R(12), |
| 647 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 647 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
| 648 B(PopContext), R(7), | 648 B(PopContext), R(7), |
| 649 B(LdaSmi), U8(-1), | 649 B(LdaSmi), U8(-1), |
| 650 B(Star), R(8), | 650 B(Star), R(8), |
| 651 B(Jump), U8(8), | 651 B(Jump), U8(8), |
| 652 B(Star), R(9), | 652 B(Star), R(9), |
| 653 B(LdaSmi), U8(1), | 653 B(LdaSmi), U8(1), |
| 654 B(Star), R(8), | 654 B(Star), R(8), |
| 655 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 655 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 656 B(Star), R(10), | 656 B(Star), R(10), |
| 657 B(Ldar), R(2), | 657 B(Ldar), R(2), |
| 658 B(Star), R(11), | 658 B(Star), R(11), |
| 659 B(LdaZero), | 659 B(LdaZero), |
| 660 B(TestEqualStrict), R(11), | 660 B(TestEqualStrict), R(11), |
| 661 B(JumpIfTrue), U8(9), | 661 B(JumpIfTrue), U8(9), |
| 662 B(Ldar), R(0), | 662 B(Ldar), R(0), |
| 663 B(Star), R(11), | 663 B(Star), R(11), |
| 664 B(LdaUndefined), | 664 B(LdaUndefined), |
| 665 B(TestEqualStrict), R(11), | 665 B(TestEqualStrict), R(11), |
| 666 B(LogicalNot), | 666 B(LogicalNot), |
| 667 B(JumpIfFalseConstant), U8(11), | 667 B(JumpIfFalseConstant), U8(11), |
| 668 B(Ldar), R(0), | 668 B(Ldar), R(0), |
| 669 B(Star), R(11), | 669 B(Star), R(11), |
| 670 B(LoadIC), R(11), U8(8), U8(17), | 670 B(LoadIC), R(11), U8(8), U8(17), |
| 671 B(Star), R(4), | 671 B(Star), R(4), |
| 672 B(Star), R(11), | 672 B(Star), R(11), |
| 673 B(LdaNull), | 673 B(LdaNull), |
| 674 B(TestEqual), R(11), | 674 B(TestEqual), R(11), |
| 675 B(JumpIfFalse), U8(4), | 675 B(JumpIfFalse), U8(4), |
| 676 B(Jump), U8(124), | 676 B(Jump), U8(124), |
| 677 B(Ldar), R(2), | 677 B(Ldar), R(2), |
| 678 B(Star), R(11), | 678 B(Star), R(11), |
| 679 B(LdaSmi), U8(1), | 679 B(LdaSmi), U8(1), |
| 680 B(TestEqualStrict), R(11), | 680 B(TestEqualStrict), R(11), |
| 681 B(JumpIfFalse), U8(79), | 681 B(JumpIfFalse), U8(79), |
| 682 B(Ldar), R(4), | 682 B(Ldar), R(4), |
| 683 B(TypeOf), | 683 B(TypeOf), |
| 684 B(Star), R(11), | 684 B(Star), R(11), |
| 685 B(LdaConstant), U8(9), | 685 B(LdaConstant), U8(9), |
| 686 B(TestEqualStrict), R(11), | 686 B(TestEqualStrict), R(11), |
| 687 B(JumpIfFalse), U8(4), | 687 B(JumpIfFalse), U8(4), |
| 688 B(Jump), U8(18), | 688 B(Jump), U8(18), |
| 689 B(Wide), B(LdaSmi), U16(130), | 689 B(Wide), B(LdaSmi), U16(130), |
| 690 B(Star), R(11), | 690 B(Star), R(11), |
| 691 B(LdaConstant), U8(10), | 691 B(LdaConstant), U8(10), |
| 692 B(Star), R(12), | 692 B(Star), R(12), |
| 693 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 693 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
| 694 B(Throw), | 694 B(Throw), |
| 695 B(Mov), R(context), R(11), | 695 B(Mov), R(context), R(11), |
| 696 B(Ldar), R(4), | 696 B(Ldar), R(4), |
| 697 B(Star), R(12), | 697 B(Star), R(12), |
| 698 B(Ldar), R(0), | 698 B(Ldar), R(0), |
| 699 B(Star), R(13), | 699 B(Star), R(13), |
| 700 B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2), | 700 B(CallRuntime), U16(Runtime::k_Call), R(12), U8(2), |
| 701 B(Jump), U8(30), | 701 B(Jump), U8(30), |
| 702 B(Star), R(13), | 702 B(Star), R(13), |
| 703 B(LdaConstant), U8(7), | 703 B(LdaConstant), U8(7), |
| 704 B(Star), R(12), | 704 B(Star), R(12), |
| 705 B(Ldar), R(closure), | 705 B(Ldar), R(closure), |
| 706 B(Star), R(14), | 706 B(Star), R(14), |
| 707 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), | 707 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), |
| 708 B(Star), R(11), | 708 B(Star), R(11), |
| 709 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 709 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 710 B(Ldar), R(11), | 710 B(Ldar), R(11), |
| 711 B(PushContext), R(7), | 711 B(PushContext), R(7), |
| 712 B(PopContext), R(7), | 712 B(PopContext), R(7), |
| 713 B(Jump), U8(37), | 713 B(Jump), U8(37), |
| 714 B(Ldar), R(4), | 714 B(Ldar), R(4), |
| 715 B(Star), R(11), | 715 B(Star), R(11), |
| 716 B(Ldar), R(0), | 716 B(Ldar), R(0), |
| 717 B(Star), R(12), | 717 B(Star), R(12), |
| 718 B(CallRuntime), U16(Runtime::k_Call), R(11), U8(2), | 718 B(CallRuntime), U16(Runtime::k_Call), R(11), U8(2), |
| 719 B(Star), R(5), | 719 B(Star), R(5), |
| 720 B(Star), R(11), | 720 B(Star), R(11), |
| 721 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), | 721 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), |
| 722 B(JumpIfToBooleanFalse), U8(4), | 722 B(JumpIfToBooleanFalse), U8(4), |
| 723 B(Jump), U8(11), | 723 B(Jump), U8(11), |
| 724 B(Ldar), R(5), | 724 B(Ldar), R(5), |
| 725 B(Star), R(11), | 725 B(Star), R(11), |
| 726 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(11), U8(1), | 726 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), |
| 727 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(10), U8(1), | 727 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1
0), U8(1), |
| 728 B(LdaZero), | 728 B(LdaZero), |
| 729 B(TestEqualStrict), R(8), | 729 B(TestEqualStrict), R(8), |
| 730 B(JumpIfTrue), U8(10), | 730 B(JumpIfTrue), U8(10), |
| 731 B(LdaSmi), U8(1), | 731 B(LdaSmi), U8(1), |
| 732 B(TestEqualStrict), R(8), | 732 B(TestEqualStrict), R(8), |
| 733 B(JumpIfTrue), U8(7), | 733 B(JumpIfTrue), U8(7), |
| 734 B(Jump), U8(8), | 734 B(Jump), U8(8), |
| 735 B(Ldar), R(9), | 735 B(Ldar), R(9), |
| 736 B(Return), | 736 /* 105 S> */ B(Return), |
| 737 B(Ldar), R(9), | 737 B(Ldar), R(9), |
| 738 B(ReThrow), | 738 B(ReThrow), |
| 739 B(LdaUndefined), | 739 B(LdaUndefined), |
| 740 B(Return), | 740 /* 105 S> */ B(Return), |
| 741 ] | 741 ] |
| 742 constant pool: [ | 742 constant pool: [ |
| 743 InstanceType::FIXED_ARRAY_TYPE, | 743 InstanceType::FIXED_ARRAY_TYPE, |
| 744 InstanceType::FIXED_ARRAY_TYPE, | 744 InstanceType::FIXED_ARRAY_TYPE, |
| 745 InstanceType::SYMBOL_TYPE, | 745 InstanceType::SYMBOL_TYPE, |
| 746 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 746 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 747 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 747 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 748 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 748 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 749 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 749 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 750 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 750 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 751 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 751 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 752 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 752 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 753 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 753 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 754 kInstanceTypeDontCare, | 754 kInstanceTypeDontCare, |
| 755 ] | 755 ] |
| 756 handlers: [ | 756 handlers: [ |
| 757 [18, 174, 180], | 757 [18, 174, 180], |
| 758 [21, 127, 129], | 758 [21, 127, 129], |
| 759 [273, 286, 288], | 759 [273, 286, 288], |
| 760 ] | 760 ] |
| 761 | 761 |
| OLD | NEW |