| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: no | 6 wrap: no |
| 7 module: yes | 7 module: yes |
| 8 top level: yes | 8 top level: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| 11 snippet: " | 11 snippet: " |
| 12 import \"bar\"; | 12 import \"bar\"; |
| 13 " | 13 " |
| 14 frame size: 9 | 14 frame size: 9 |
| 15 parameter count: 2 | 15 parameter count: 2 |
| 16 bytecode array length: 131 | 16 bytecode array length: 131 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
| 19 B(JumpIfUndefined), U8(28), | 19 B(JumpIfUndefined), U8(28), |
| 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 21 B(PushContext), R(2), | 21 B(PushContext), R(2), |
| 22 B(ResumeGenerator), R(new_target), | 22 B(ResumeGenerator), R(new_target), |
| 23 B(Star), R(1), | 23 B(Star), R(1), |
| 24 B(LdaZero), | 24 B(LdaZero), |
| 25 B(TestEqualStrict), R(1), U8(0), | 25 B(TestEqualStrict), R(1), U8(0), |
| 26 B(JumpIfTrue), U8(63), | 26 B(JumpIfTrue), U8(63), |
| 27 B(LdaSmi), U8(78), | 27 B(LdaSmi), I8(78), |
| 28 B(Star), R(3), | 28 B(Star), R(3), |
| 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 30 B(LdaSmi), U8(-2), | 30 B(LdaSmi), I8(-2), |
| 31 B(Star), R(1), | 31 B(Star), R(1), |
| 32 B(LdaConstant), U8(0), | 32 B(LdaConstant), U8(0), |
| 33 B(Star), R(5), | 33 B(Star), R(5), |
| 34 B(Mov), R(arg0), R(3), | 34 B(Mov), R(arg0), R(3), |
| 35 B(Mov), R(closure), R(4), | 35 B(Mov), R(closure), R(4), |
| 36 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 36 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 37 B(PushContext), R(0), | 37 B(PushContext), R(0), |
| 38 B(Ldar), R(this), | 38 B(Ldar), R(this), |
| 39 B(StaCurrentContextSlot), U8(4), | 39 B(StaCurrentContextSlot), U8(4), |
| 40 /* 0 E> */ B(StackCheck), | 40 /* 0 E> */ B(StackCheck), |
| 41 B(LdaCurrentContextSlot), U8(4), | 41 B(LdaCurrentContextSlot), U8(4), |
| 42 B(Star), R(4), | 42 B(Star), R(4), |
| 43 B(Mov), R(closure), R(3), | 43 B(Mov), R(closure), R(3), |
| 44 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 44 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 45 B(StaCurrentContextSlot), U8(5), | 45 B(StaCurrentContextSlot), U8(5), |
| 46 B(Star), R(3), | 46 B(Star), R(3), |
| 47 B(LdaCurrentContextSlot), U8(5), | 47 B(LdaCurrentContextSlot), U8(5), |
| 48 B(Star), R(4), | 48 B(Star), R(4), |
| 49 B(LdaZero), | 49 B(LdaZero), |
| 50 B(SuspendGenerator), R(4), | 50 B(SuspendGenerator), R(4), |
| 51 B(Ldar), R(3), | 51 B(Ldar), R(3), |
| 52 /* 13 S> */ B(Return), | 52 /* 13 S> */ B(Return), |
| 53 B(LdaSmi), U8(-2), | 53 B(LdaSmi), I8(-2), |
| 54 B(Star), R(1), | 54 B(Star), R(1), |
| 55 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 55 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 56 B(Star), R(5), | 56 B(Star), R(5), |
| 57 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 57 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 58 B(Star), R(6), | 58 B(Star), R(6), |
| 59 B(LdaZero), | 59 B(LdaZero), |
| 60 B(TestEqualStrict), R(6), U8(0), | 60 B(TestEqualStrict), R(6), U8(0), |
| 61 B(JumpIfTrue), U8(25), | 61 B(JumpIfTrue), U8(25), |
| 62 B(LdaSmi), U8(2), | 62 B(LdaSmi), I8(2), |
| 63 B(TestEqualStrict), R(6), U8(0), | 63 B(TestEqualStrict), R(6), U8(0), |
| 64 B(JumpIfTrue), U8(15), | 64 B(JumpIfTrue), U8(15), |
| 65 B(Jump), U8(2), | 65 B(Jump), U8(2), |
| 66 B(LdaTrue), | 66 B(LdaTrue), |
| 67 B(Star), R(8), | 67 B(Star), R(8), |
| 68 B(Mov), R(5), R(7), | 68 B(Mov), R(5), R(7), |
| 69 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 69 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 70 /* 13 S> */ B(Return), | 70 /* 13 S> */ B(Return), |
| 71 B(Ldar), R(5), | 71 B(Ldar), R(5), |
| 72 /* 0 E> */ B(Throw), | 72 /* 0 E> */ B(Throw), |
| (...skipping 16 matching lines...) Expand all Loading... |
| 89 bytecodes: [ | 89 bytecodes: [ |
| 90 B(Ldar), R(new_target), | 90 B(Ldar), R(new_target), |
| 91 B(JumpIfUndefined), U8(28), | 91 B(JumpIfUndefined), U8(28), |
| 92 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 92 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 93 B(PushContext), R(2), | 93 B(PushContext), R(2), |
| 94 B(ResumeGenerator), R(new_target), | 94 B(ResumeGenerator), R(new_target), |
| 95 B(Star), R(1), | 95 B(Star), R(1), |
| 96 B(LdaZero), | 96 B(LdaZero), |
| 97 B(TestEqualStrict), R(1), U8(0), | 97 B(TestEqualStrict), R(1), U8(0), |
| 98 B(JumpIfTrue), U8(63), | 98 B(JumpIfTrue), U8(63), |
| 99 B(LdaSmi), U8(78), | 99 B(LdaSmi), I8(78), |
| 100 B(Star), R(3), | 100 B(Star), R(3), |
| 101 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 101 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 102 B(LdaSmi), U8(-2), | 102 B(LdaSmi), I8(-2), |
| 103 B(Star), R(1), | 103 B(Star), R(1), |
| 104 B(LdaConstant), U8(0), | 104 B(LdaConstant), U8(0), |
| 105 B(Star), R(5), | 105 B(Star), R(5), |
| 106 B(Mov), R(arg0), R(3), | 106 B(Mov), R(arg0), R(3), |
| 107 B(Mov), R(closure), R(4), | 107 B(Mov), R(closure), R(4), |
| 108 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 108 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 109 B(PushContext), R(0), | 109 B(PushContext), R(0), |
| 110 B(Ldar), R(this), | 110 B(Ldar), R(this), |
| 111 B(StaCurrentContextSlot), U8(4), | 111 B(StaCurrentContextSlot), U8(4), |
| 112 /* 0 E> */ B(StackCheck), | 112 /* 0 E> */ B(StackCheck), |
| 113 B(LdaCurrentContextSlot), U8(4), | 113 B(LdaCurrentContextSlot), U8(4), |
| 114 B(Star), R(4), | 114 B(Star), R(4), |
| 115 B(Mov), R(closure), R(3), | 115 B(Mov), R(closure), R(3), |
| 116 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 116 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 117 B(StaCurrentContextSlot), U8(5), | 117 B(StaCurrentContextSlot), U8(5), |
| 118 B(Star), R(3), | 118 B(Star), R(3), |
| 119 B(LdaCurrentContextSlot), U8(5), | 119 B(LdaCurrentContextSlot), U8(5), |
| 120 B(Star), R(4), | 120 B(Star), R(4), |
| 121 B(LdaZero), | 121 B(LdaZero), |
| 122 B(SuspendGenerator), R(4), | 122 B(SuspendGenerator), R(4), |
| 123 B(Ldar), R(3), | 123 B(Ldar), R(3), |
| 124 /* 24 S> */ B(Return), | 124 /* 24 S> */ B(Return), |
| 125 B(LdaSmi), U8(-2), | 125 B(LdaSmi), I8(-2), |
| 126 B(Star), R(1), | 126 B(Star), R(1), |
| 127 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 127 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 128 B(Star), R(5), | 128 B(Star), R(5), |
| 129 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 129 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 130 B(Star), R(6), | 130 B(Star), R(6), |
| 131 B(LdaZero), | 131 B(LdaZero), |
| 132 B(TestEqualStrict), R(6), U8(0), | 132 B(TestEqualStrict), R(6), U8(0), |
| 133 B(JumpIfTrue), U8(25), | 133 B(JumpIfTrue), U8(25), |
| 134 B(LdaSmi), U8(2), | 134 B(LdaSmi), I8(2), |
| 135 B(TestEqualStrict), R(6), U8(0), | 135 B(TestEqualStrict), R(6), U8(0), |
| 136 B(JumpIfTrue), U8(15), | 136 B(JumpIfTrue), U8(15), |
| 137 B(Jump), U8(2), | 137 B(Jump), U8(2), |
| 138 B(LdaTrue), | 138 B(LdaTrue), |
| 139 B(Star), R(8), | 139 B(Star), R(8), |
| 140 B(Mov), R(5), R(7), | 140 B(Mov), R(5), R(7), |
| 141 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 141 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 142 /* 24 S> */ B(Return), | 142 /* 24 S> */ B(Return), |
| 143 B(Ldar), R(5), | 143 B(Ldar), R(5), |
| 144 /* 0 E> */ B(Throw), | 144 /* 0 E> */ B(Throw), |
| (...skipping 18 matching lines...) Expand all Loading... |
| 163 bytecodes: [ | 163 bytecodes: [ |
| 164 B(Ldar), R(new_target), | 164 B(Ldar), R(new_target), |
| 165 B(JumpIfUndefined), U8(28), | 165 B(JumpIfUndefined), U8(28), |
| 166 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 166 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 167 B(PushContext), R(3), | 167 B(PushContext), R(3), |
| 168 B(ResumeGenerator), R(new_target), | 168 B(ResumeGenerator), R(new_target), |
| 169 B(Star), R(2), | 169 B(Star), R(2), |
| 170 B(LdaZero), | 170 B(LdaZero), |
| 171 B(TestEqualStrict), R(2), U8(0), | 171 B(TestEqualStrict), R(2), U8(0), |
| 172 B(JumpIfTrue), U8(63), | 172 B(JumpIfTrue), U8(63), |
| 173 B(LdaSmi), U8(78), | 173 B(LdaSmi), I8(78), |
| 174 B(Star), R(4), | 174 B(Star), R(4), |
| 175 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 175 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
| 176 B(LdaSmi), U8(-2), | 176 B(LdaSmi), I8(-2), |
| 177 B(Star), R(2), | 177 B(Star), R(2), |
| 178 B(LdaConstant), U8(0), | 178 B(LdaConstant), U8(0), |
| 179 B(Star), R(6), | 179 B(Star), R(6), |
| 180 B(Mov), R(arg0), R(4), | 180 B(Mov), R(arg0), R(4), |
| 181 B(Mov), R(closure), R(5), | 181 B(Mov), R(closure), R(5), |
| 182 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), | 182 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), |
| 183 B(PushContext), R(0), | 183 B(PushContext), R(0), |
| 184 B(Ldar), R(this), | 184 B(Ldar), R(this), |
| 185 B(StaCurrentContextSlot), U8(4), | 185 B(StaCurrentContextSlot), U8(4), |
| 186 /* 0 E> */ B(StackCheck), | 186 /* 0 E> */ B(StackCheck), |
| 187 B(LdaCurrentContextSlot), U8(4), | 187 B(LdaCurrentContextSlot), U8(4), |
| 188 B(Star), R(5), | 188 B(Star), R(5), |
| 189 B(Mov), R(closure), R(4), | 189 B(Mov), R(closure), R(4), |
| 190 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), | 190 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), |
| 191 B(StaCurrentContextSlot), U8(5), | 191 B(StaCurrentContextSlot), U8(5), |
| 192 B(Star), R(4), | 192 B(Star), R(4), |
| 193 B(LdaCurrentContextSlot), U8(5), | 193 B(LdaCurrentContextSlot), U8(5), |
| 194 B(Star), R(5), | 194 B(Star), R(5), |
| 195 B(LdaZero), | 195 B(LdaZero), |
| 196 B(SuspendGenerator), R(5), | 196 B(SuspendGenerator), R(5), |
| 197 B(Ldar), R(4), | 197 B(Ldar), R(4), |
| 198 /* 64 S> */ B(Return), | 198 /* 64 S> */ B(Return), |
| 199 B(LdaSmi), U8(-2), | 199 B(LdaSmi), I8(-2), |
| 200 B(Star), R(2), | 200 B(Star), R(2), |
| 201 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), | 201 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), |
| 202 B(Star), R(6), | 202 B(Star), R(6), |
| 203 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), | 203 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), |
| 204 B(Star), R(7), | 204 B(Star), R(7), |
| 205 B(LdaZero), | 205 B(LdaZero), |
| 206 B(TestEqualStrict), R(7), U8(0), | 206 B(TestEqualStrict), R(7), U8(0), |
| 207 B(JumpIfTrue), U8(25), | 207 B(JumpIfTrue), U8(25), |
| 208 B(LdaSmi), U8(2), | 208 B(LdaSmi), I8(2), |
| 209 B(TestEqualStrict), R(7), U8(0), | 209 B(TestEqualStrict), R(7), U8(0), |
| 210 B(JumpIfTrue), U8(15), | 210 B(JumpIfTrue), U8(15), |
| 211 B(Jump), U8(2), | 211 B(Jump), U8(2), |
| 212 B(LdaTrue), | 212 B(LdaTrue), |
| 213 B(Star), R(9), | 213 B(Star), R(9), |
| 214 B(Mov), R(6), R(8), | 214 B(Mov), R(6), R(8), |
| 215 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), | 215 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), |
| 216 /* 64 S> */ B(Return), | 216 /* 64 S> */ B(Return), |
| 217 B(Ldar), R(6), | 217 B(Ldar), R(6), |
| 218 /* 0 E> */ B(Throw), | 218 /* 0 E> */ B(Throw), |
| 219 /* 32 S> */ B(LdaUndefined), | 219 /* 32 S> */ B(LdaUndefined), |
| 220 B(Star), R(5), | 220 B(Star), R(5), |
| 221 /* 32 E> */ B(LdaModuleVariable), U8(-1), U8(0), | 221 /* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0), |
| 222 B(JumpIfNotHole), U8(11), | 222 B(JumpIfNotHole), U8(11), |
| 223 B(LdaConstant), U8(1), | 223 B(LdaConstant), U8(1), |
| 224 B(Star), R(6), | 224 B(Star), R(6), |
| 225 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), | 225 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), |
| 226 B(Star), R(4), | 226 B(Star), R(4), |
| 227 B(LdaSmi), U8(42), | 227 B(LdaSmi), I8(42), |
| 228 B(Star), R(6), | 228 B(Star), R(6), |
| 229 /* 32 E> */ B(Call), R(4), R(5), U8(2), U8(2), | 229 /* 32 E> */ B(Call), R(4), R(5), U8(2), U8(2), |
| 230 B(Ldar), R(closure), | 230 B(Ldar), R(closure), |
| 231 B(CreateBlockContext), U8(2), | 231 B(CreateBlockContext), U8(2), |
| 232 B(PushContext), R(1), | 232 B(PushContext), R(1), |
| 233 B(LdaTheHole), | 233 B(LdaTheHole), |
| 234 B(StaCurrentContextSlot), U8(4), | 234 B(StaCurrentContextSlot), U8(4), |
| 235 /* 47 S> */ B(LdaUndefined), | 235 /* 47 S> */ B(LdaUndefined), |
| 236 /* 47 E> */ B(StaCurrentContextSlot), U8(4), | 236 /* 47 E> */ B(StaCurrentContextSlot), U8(4), |
| 237 /* 52 S> */ B(LdaUndefined), | 237 /* 52 S> */ B(LdaUndefined), |
| 238 B(Star), R(5), | 238 B(Star), R(5), |
| 239 /* 52 E> */ B(LdaModuleVariable), U8(-1), U8(1), | 239 /* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1), |
| 240 B(JumpIfNotHole), U8(11), | 240 B(JumpIfNotHole), U8(11), |
| 241 B(LdaConstant), U8(1), | 241 B(LdaConstant), U8(1), |
| 242 B(Star), R(6), | 242 B(Star), R(6), |
| 243 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), | 243 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), |
| 244 B(Star), R(4), | 244 B(Star), R(4), |
| 245 B(LdaSmi), U8(42), | 245 B(LdaSmi), I8(42), |
| 246 B(Star), R(6), | 246 B(Star), R(6), |
| 247 /* 52 E> */ B(Call), R(4), R(5), U8(2), U8(4), | 247 /* 52 E> */ B(Call), R(4), R(5), U8(2), U8(4), |
| 248 B(PopContext), R(1), | 248 B(PopContext), R(1), |
| 249 B(LdaUndefined), | 249 B(LdaUndefined), |
| 250 /* 64 S> */ B(Return), | 250 /* 64 S> */ B(Return), |
| 251 ] | 251 ] |
| 252 constant pool: [ | 252 constant pool: [ |
| 253 FIXED_ARRAY_TYPE, | 253 FIXED_ARRAY_TYPE, |
| 254 ONE_BYTE_INTERNALIZED_STRING_TYPE ["goo"], | 254 ONE_BYTE_INTERNALIZED_STRING_TYPE ["goo"], |
| 255 FIXED_ARRAY_TYPE, | 255 FIXED_ARRAY_TYPE, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 269 bytecodes: [ | 269 bytecodes: [ |
| 270 B(Ldar), R(new_target), | 270 B(Ldar), R(new_target), |
| 271 B(JumpIfUndefined), U8(28), | 271 B(JumpIfUndefined), U8(28), |
| 272 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 272 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 273 B(PushContext), R(3), | 273 B(PushContext), R(3), |
| 274 B(ResumeGenerator), R(new_target), | 274 B(ResumeGenerator), R(new_target), |
| 275 B(Star), R(2), | 275 B(Star), R(2), |
| 276 B(LdaZero), | 276 B(LdaZero), |
| 277 B(TestEqualStrict), R(2), U8(0), | 277 B(TestEqualStrict), R(2), U8(0), |
| 278 B(JumpIfTrue), U8(63), | 278 B(JumpIfTrue), U8(63), |
| 279 B(LdaSmi), U8(78), | 279 B(LdaSmi), I8(78), |
| 280 B(Star), R(4), | 280 B(Star), R(4), |
| 281 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 281 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
| 282 B(LdaSmi), U8(-2), | 282 B(LdaSmi), I8(-2), |
| 283 B(Star), R(2), | 283 B(Star), R(2), |
| 284 B(LdaConstant), U8(0), | 284 B(LdaConstant), U8(0), |
| 285 B(Star), R(6), | 285 B(Star), R(6), |
| 286 B(Mov), R(arg0), R(4), | 286 B(Mov), R(arg0), R(4), |
| 287 B(Mov), R(closure), R(5), | 287 B(Mov), R(closure), R(5), |
| 288 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), | 288 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), |
| 289 B(PushContext), R(0), | 289 B(PushContext), R(0), |
| 290 B(Ldar), R(this), | 290 B(Ldar), R(this), |
| 291 B(StaCurrentContextSlot), U8(4), | 291 B(StaCurrentContextSlot), U8(4), |
| 292 /* 0 E> */ B(StackCheck), | 292 /* 0 E> */ B(StackCheck), |
| 293 B(LdaCurrentContextSlot), U8(4), | 293 B(LdaCurrentContextSlot), U8(4), |
| 294 B(Star), R(5), | 294 B(Star), R(5), |
| 295 B(Mov), R(closure), R(4), | 295 B(Mov), R(closure), R(4), |
| 296 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), | 296 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), |
| 297 B(StaCurrentContextSlot), U8(5), | 297 B(StaCurrentContextSlot), U8(5), |
| 298 B(Star), R(4), | 298 B(Star), R(4), |
| 299 B(LdaCurrentContextSlot), U8(5), | 299 B(LdaCurrentContextSlot), U8(5), |
| 300 B(Star), R(5), | 300 B(Star), R(5), |
| 301 B(LdaZero), | 301 B(LdaZero), |
| 302 B(SuspendGenerator), R(5), | 302 B(SuspendGenerator), R(5), |
| 303 B(Ldar), R(4), | 303 B(Ldar), R(4), |
| 304 /* 49 S> */ B(Return), | 304 /* 49 S> */ B(Return), |
| 305 B(LdaSmi), U8(-2), | 305 B(LdaSmi), I8(-2), |
| 306 B(Star), R(2), | 306 B(Star), R(2), |
| 307 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), | 307 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), |
| 308 B(Star), R(6), | 308 B(Star), R(6), |
| 309 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), | 309 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), |
| 310 B(Star), R(7), | 310 B(Star), R(7), |
| 311 B(LdaZero), | 311 B(LdaZero), |
| 312 B(TestEqualStrict), R(7), U8(0), | 312 B(TestEqualStrict), R(7), U8(0), |
| 313 B(JumpIfTrue), U8(25), | 313 B(JumpIfTrue), U8(25), |
| 314 B(LdaSmi), U8(2), | 314 B(LdaSmi), I8(2), |
| 315 B(TestEqualStrict), R(7), U8(0), | 315 B(TestEqualStrict), R(7), U8(0), |
| 316 B(JumpIfTrue), U8(15), | 316 B(JumpIfTrue), U8(15), |
| 317 B(Jump), U8(2), | 317 B(Jump), U8(2), |
| 318 B(LdaTrue), | 318 B(LdaTrue), |
| 319 B(Star), R(9), | 319 B(Star), R(9), |
| 320 B(Mov), R(6), R(8), | 320 B(Mov), R(6), R(8), |
| 321 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), | 321 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), |
| 322 /* 49 S> */ B(Return), | 322 /* 49 S> */ B(Return), |
| 323 B(Ldar), R(6), | 323 B(Ldar), R(6), |
| 324 /* 0 E> */ B(Throw), | 324 /* 0 E> */ B(Throw), |
| 325 /* 17 S> */ B(LdaSmi), U8(42), | 325 /* 17 S> */ B(LdaSmi), I8(42), |
| 326 /* 17 E> */ B(StaModuleVariable), U8(1), U8(0), | 326 /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), |
| 327 /* 21 S> */ B(LdaModuleVariable), U8(1), U8(0), | 327 /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), |
| 328 B(Inc), U8(2), | 328 B(Inc), U8(2), |
| 329 /* 24 E> */ B(StaModuleVariable), U8(1), U8(0), | 329 /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), |
| 330 B(Ldar), R(closure), | 330 B(Ldar), R(closure), |
| 331 B(CreateBlockContext), U8(1), | 331 B(CreateBlockContext), U8(1), |
| 332 B(PushContext), R(1), | 332 B(PushContext), R(1), |
| 333 B(LdaTheHole), | 333 B(LdaTheHole), |
| 334 B(StaCurrentContextSlot), U8(4), | 334 B(StaCurrentContextSlot), U8(4), |
| 335 /* 34 S> */ B(LdaUndefined), | 335 /* 34 S> */ B(LdaUndefined), |
| 336 /* 34 E> */ B(StaCurrentContextSlot), U8(4), | 336 /* 34 E> */ B(StaCurrentContextSlot), U8(4), |
| 337 /* 39 S> */ B(LdaModuleVariable), U8(1), U8(1), | 337 /* 39 S> */ B(LdaModuleVariable), I8(1), U8(1), |
| 338 B(Inc), U8(3), | 338 B(Inc), U8(3), |
| 339 /* 42 E> */ B(StaModuleVariable), U8(1), U8(1), | 339 /* 42 E> */ B(StaModuleVariable), I8(1), U8(1), |
| 340 B(PopContext), R(1), | 340 B(PopContext), R(1), |
| 341 B(LdaUndefined), | 341 B(LdaUndefined), |
| 342 /* 49 S> */ B(Return), | 342 /* 49 S> */ B(Return), |
| 343 ] | 343 ] |
| 344 constant pool: [ | 344 constant pool: [ |
| 345 FIXED_ARRAY_TYPE, | 345 FIXED_ARRAY_TYPE, |
| 346 FIXED_ARRAY_TYPE, | 346 FIXED_ARRAY_TYPE, |
| 347 ] | 347 ] |
| 348 handlers: [ | 348 handlers: [ |
| 349 ] | 349 ] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 360 bytecodes: [ | 360 bytecodes: [ |
| 361 B(Ldar), R(new_target), | 361 B(Ldar), R(new_target), |
| 362 B(JumpIfUndefined), U8(28), | 362 B(JumpIfUndefined), U8(28), |
| 363 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 363 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 364 B(PushContext), R(3), | 364 B(PushContext), R(3), |
| 365 B(ResumeGenerator), R(new_target), | 365 B(ResumeGenerator), R(new_target), |
| 366 B(Star), R(2), | 366 B(Star), R(2), |
| 367 B(LdaZero), | 367 B(LdaZero), |
| 368 B(TestEqualStrict), R(2), U8(0), | 368 B(TestEqualStrict), R(2), U8(0), |
| 369 B(JumpIfTrue), U8(67), | 369 B(JumpIfTrue), U8(67), |
| 370 B(LdaSmi), U8(78), | 370 B(LdaSmi), I8(78), |
| 371 B(Star), R(4), | 371 B(Star), R(4), |
| 372 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 372 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
| 373 B(LdaSmi), U8(-2), | 373 B(LdaSmi), I8(-2), |
| 374 B(Star), R(2), | 374 B(Star), R(2), |
| 375 B(LdaConstant), U8(0), | 375 B(LdaConstant), U8(0), |
| 376 B(Star), R(6), | 376 B(Star), R(6), |
| 377 B(Mov), R(arg0), R(4), | 377 B(Mov), R(arg0), R(4), |
| 378 B(Mov), R(closure), R(5), | 378 B(Mov), R(closure), R(5), |
| 379 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), | 379 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), |
| 380 B(PushContext), R(0), | 380 B(PushContext), R(0), |
| 381 B(Ldar), R(this), | 381 B(Ldar), R(this), |
| 382 B(StaCurrentContextSlot), U8(4), | 382 B(StaCurrentContextSlot), U8(4), |
| 383 B(LdaTheHole), | 383 B(LdaTheHole), |
| 384 B(StaModuleVariable), U8(1), U8(0), | 384 B(StaModuleVariable), I8(1), U8(0), |
| 385 /* 0 E> */ B(StackCheck), | 385 /* 0 E> */ B(StackCheck), |
| 386 B(LdaCurrentContextSlot), U8(4), | 386 B(LdaCurrentContextSlot), U8(4), |
| 387 B(Star), R(5), | 387 B(Star), R(5), |
| 388 B(Mov), R(closure), R(4), | 388 B(Mov), R(closure), R(4), |
| 389 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), | 389 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), |
| 390 B(StaCurrentContextSlot), U8(5), | 390 B(StaCurrentContextSlot), U8(5), |
| 391 B(Star), R(4), | 391 B(Star), R(4), |
| 392 B(LdaCurrentContextSlot), U8(5), | 392 B(LdaCurrentContextSlot), U8(5), |
| 393 B(Star), R(5), | 393 B(Star), R(5), |
| 394 B(LdaZero), | 394 B(LdaZero), |
| 395 B(SuspendGenerator), R(5), | 395 B(SuspendGenerator), R(5), |
| 396 B(Ldar), R(4), | 396 B(Ldar), R(4), |
| 397 /* 49 S> */ B(Return), | 397 /* 49 S> */ B(Return), |
| 398 B(LdaSmi), U8(-2), | 398 B(LdaSmi), I8(-2), |
| 399 B(Star), R(2), | 399 B(Star), R(2), |
| 400 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), | 400 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), |
| 401 B(Star), R(6), | 401 B(Star), R(6), |
| 402 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), | 402 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), |
| 403 B(Star), R(7), | 403 B(Star), R(7), |
| 404 B(LdaZero), | 404 B(LdaZero), |
| 405 B(TestEqualStrict), R(7), U8(0), | 405 B(TestEqualStrict), R(7), U8(0), |
| 406 B(JumpIfTrue), U8(25), | 406 B(JumpIfTrue), U8(25), |
| 407 B(LdaSmi), U8(2), | 407 B(LdaSmi), I8(2), |
| 408 B(TestEqualStrict), R(7), U8(0), | 408 B(TestEqualStrict), R(7), U8(0), |
| 409 B(JumpIfTrue), U8(15), | 409 B(JumpIfTrue), U8(15), |
| 410 B(Jump), U8(2), | 410 B(Jump), U8(2), |
| 411 B(LdaTrue), | 411 B(LdaTrue), |
| 412 B(Star), R(9), | 412 B(Star), R(9), |
| 413 B(Mov), R(6), R(8), | 413 B(Mov), R(6), R(8), |
| 414 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), | 414 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), |
| 415 /* 49 S> */ B(Return), | 415 /* 49 S> */ B(Return), |
| 416 B(Ldar), R(6), | 416 B(Ldar), R(6), |
| 417 /* 0 E> */ B(Throw), | 417 /* 0 E> */ B(Throw), |
| 418 /* 17 S> */ B(LdaSmi), U8(42), | 418 /* 17 S> */ B(LdaSmi), I8(42), |
| 419 /* 17 E> */ B(StaModuleVariable), U8(1), U8(0), | 419 /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), |
| 420 /* 21 S> */ B(LdaModuleVariable), U8(1), U8(0), | 420 /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), |
| 421 B(Inc), U8(2), | 421 B(Inc), U8(2), |
| 422 /* 24 E> */ B(StaModuleVariable), U8(1), U8(0), | 422 /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), |
| 423 B(Ldar), R(closure), | 423 B(Ldar), R(closure), |
| 424 B(CreateBlockContext), U8(1), | 424 B(CreateBlockContext), U8(1), |
| 425 B(PushContext), R(1), | 425 B(PushContext), R(1), |
| 426 B(LdaTheHole), | 426 B(LdaTheHole), |
| 427 B(StaCurrentContextSlot), U8(4), | 427 B(StaCurrentContextSlot), U8(4), |
| 428 /* 34 S> */ B(LdaUndefined), | 428 /* 34 S> */ B(LdaUndefined), |
| 429 /* 34 E> */ B(StaCurrentContextSlot), U8(4), | 429 /* 34 E> */ B(StaCurrentContextSlot), U8(4), |
| 430 /* 39 S> */ B(LdaModuleVariable), U8(1), U8(1), | 430 /* 39 S> */ B(LdaModuleVariable), I8(1), U8(1), |
| 431 B(Inc), U8(3), | 431 B(Inc), U8(3), |
| 432 /* 42 E> */ B(StaModuleVariable), U8(1), U8(1), | 432 /* 42 E> */ B(StaModuleVariable), I8(1), U8(1), |
| 433 B(PopContext), R(1), | 433 B(PopContext), R(1), |
| 434 B(LdaUndefined), | 434 B(LdaUndefined), |
| 435 /* 49 S> */ B(Return), | 435 /* 49 S> */ B(Return), |
| 436 ] | 436 ] |
| 437 constant pool: [ | 437 constant pool: [ |
| 438 FIXED_ARRAY_TYPE, | 438 FIXED_ARRAY_TYPE, |
| 439 FIXED_ARRAY_TYPE, | 439 FIXED_ARRAY_TYPE, |
| 440 ] | 440 ] |
| 441 handlers: [ | 441 handlers: [ |
| 442 ] | 442 ] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 453 bytecodes: [ | 453 bytecodes: [ |
| 454 B(Ldar), R(new_target), | 454 B(Ldar), R(new_target), |
| 455 B(JumpIfUndefined), U8(28), | 455 B(JumpIfUndefined), U8(28), |
| 456 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 456 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 457 B(PushContext), R(3), | 457 B(PushContext), R(3), |
| 458 B(ResumeGenerator), R(new_target), | 458 B(ResumeGenerator), R(new_target), |
| 459 B(Star), R(2), | 459 B(Star), R(2), |
| 460 B(LdaZero), | 460 B(LdaZero), |
| 461 B(TestEqualStrict), R(2), U8(0), | 461 B(TestEqualStrict), R(2), U8(0), |
| 462 B(JumpIfTrue), U8(67), | 462 B(JumpIfTrue), U8(67), |
| 463 B(LdaSmi), U8(78), | 463 B(LdaSmi), I8(78), |
| 464 B(Star), R(4), | 464 B(Star), R(4), |
| 465 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 465 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
| 466 B(LdaSmi), U8(-2), | 466 B(LdaSmi), I8(-2), |
| 467 B(Star), R(2), | 467 B(Star), R(2), |
| 468 B(LdaConstant), U8(0), | 468 B(LdaConstant), U8(0), |
| 469 B(Star), R(6), | 469 B(Star), R(6), |
| 470 B(Mov), R(arg0), R(4), | 470 B(Mov), R(arg0), R(4), |
| 471 B(Mov), R(closure), R(5), | 471 B(Mov), R(closure), R(5), |
| 472 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), | 472 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), |
| 473 B(PushContext), R(0), | 473 B(PushContext), R(0), |
| 474 B(Ldar), R(this), | 474 B(Ldar), R(this), |
| 475 B(StaCurrentContextSlot), U8(4), | 475 B(StaCurrentContextSlot), U8(4), |
| 476 B(LdaTheHole), | 476 B(LdaTheHole), |
| 477 B(StaModuleVariable), U8(1), U8(0), | 477 B(StaModuleVariable), I8(1), U8(0), |
| 478 /* 0 E> */ B(StackCheck), | 478 /* 0 E> */ B(StackCheck), |
| 479 B(LdaCurrentContextSlot), U8(4), | 479 B(LdaCurrentContextSlot), U8(4), |
| 480 B(Star), R(5), | 480 B(Star), R(5), |
| 481 B(Mov), R(closure), R(4), | 481 B(Mov), R(closure), R(4), |
| 482 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), | 482 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(4), U8
(2), |
| 483 B(StaCurrentContextSlot), U8(5), | 483 B(StaCurrentContextSlot), U8(5), |
| 484 B(Star), R(4), | 484 B(Star), R(4), |
| 485 B(LdaCurrentContextSlot), U8(5), | 485 B(LdaCurrentContextSlot), U8(5), |
| 486 B(Star), R(5), | 486 B(Star), R(5), |
| 487 B(LdaZero), | 487 B(LdaZero), |
| 488 B(SuspendGenerator), R(5), | 488 B(SuspendGenerator), R(5), |
| 489 B(Ldar), R(4), | 489 B(Ldar), R(4), |
| 490 /* 51 S> */ B(Return), | 490 /* 51 S> */ B(Return), |
| 491 B(LdaSmi), U8(-2), | 491 B(LdaSmi), I8(-2), |
| 492 B(Star), R(2), | 492 B(Star), R(2), |
| 493 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), | 493 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5
), U8(1), |
| 494 B(Star), R(6), | 494 B(Star), R(6), |
| 495 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), | 495 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8
(1), |
| 496 B(Star), R(7), | 496 B(Star), R(7), |
| 497 B(LdaZero), | 497 B(LdaZero), |
| 498 B(TestEqualStrict), R(7), U8(0), | 498 B(TestEqualStrict), R(7), U8(0), |
| 499 B(JumpIfTrue), U8(25), | 499 B(JumpIfTrue), U8(25), |
| 500 B(LdaSmi), U8(2), | 500 B(LdaSmi), I8(2), |
| 501 B(TestEqualStrict), R(7), U8(0), | 501 B(TestEqualStrict), R(7), U8(0), |
| 502 B(JumpIfTrue), U8(15), | 502 B(JumpIfTrue), U8(15), |
| 503 B(Jump), U8(2), | 503 B(Jump), U8(2), |
| 504 B(LdaTrue), | 504 B(LdaTrue), |
| 505 B(Star), R(9), | 505 B(Star), R(9), |
| 506 B(Mov), R(6), R(8), | 506 B(Mov), R(6), R(8), |
| 507 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), | 507 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), |
| 508 /* 51 S> */ B(Return), | 508 /* 51 S> */ B(Return), |
| 509 B(Ldar), R(6), | 509 B(Ldar), R(6), |
| 510 /* 0 E> */ B(Throw), | 510 /* 0 E> */ B(Throw), |
| 511 /* 19 S> */ B(LdaSmi), U8(42), | 511 /* 19 S> */ B(LdaSmi), I8(42), |
| 512 /* 19 E> */ B(StaModuleVariable), U8(1), U8(0), | 512 /* 19 E> */ B(StaModuleVariable), I8(1), U8(0), |
| 513 /* 23 S> */ B(LdaModuleVariable), U8(1), U8(0), | 513 /* 23 S> */ B(LdaModuleVariable), I8(1), U8(0), |
| 514 B(Inc), U8(2), | 514 B(Inc), U8(2), |
| 515 /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 515 /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
| 516 B(Ldar), R(closure), | 516 B(Ldar), R(closure), |
| 517 B(CreateBlockContext), U8(1), | 517 B(CreateBlockContext), U8(1), |
| 518 B(PushContext), R(1), | 518 B(PushContext), R(1), |
| 519 B(LdaTheHole), | 519 B(LdaTheHole), |
| 520 B(StaCurrentContextSlot), U8(4), | 520 B(StaCurrentContextSlot), U8(4), |
| 521 /* 36 S> */ B(LdaUndefined), | 521 /* 36 S> */ B(LdaUndefined), |
| 522 /* 36 E> */ B(StaCurrentContextSlot), U8(4), | 522 /* 36 E> */ B(StaCurrentContextSlot), U8(4), |
| 523 /* 41 S> */ B(LdaModuleVariable), U8(1), U8(1), | 523 /* 41 S> */ B(LdaModuleVariable), I8(1), U8(1), |
| 524 B(Inc), U8(3), | 524 B(Inc), U8(3), |
| 525 /* 44 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 525 /* 44 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
| 526 B(PopContext), R(1), | 526 B(PopContext), R(1), |
| 527 B(LdaUndefined), | 527 B(LdaUndefined), |
| 528 /* 51 S> */ B(Return), | 528 /* 51 S> */ B(Return), |
| 529 ] | 529 ] |
| 530 constant pool: [ | 530 constant pool: [ |
| 531 FIXED_ARRAY_TYPE, | 531 FIXED_ARRAY_TYPE, |
| 532 FIXED_ARRAY_TYPE, | 532 FIXED_ARRAY_TYPE, |
| 533 ] | 533 ] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 544 bytecodes: [ | 544 bytecodes: [ |
| 545 B(Ldar), R(new_target), | 545 B(Ldar), R(new_target), |
| 546 B(JumpIfUndefined), U8(28), | 546 B(JumpIfUndefined), U8(28), |
| 547 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 547 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 548 B(PushContext), R(2), | 548 B(PushContext), R(2), |
| 549 B(ResumeGenerator), R(new_target), | 549 B(ResumeGenerator), R(new_target), |
| 550 B(Star), R(1), | 550 B(Star), R(1), |
| 551 B(LdaZero), | 551 B(LdaZero), |
| 552 B(TestEqualStrict), R(1), U8(0), | 552 B(TestEqualStrict), R(1), U8(0), |
| 553 B(JumpIfTrue), U8(67), | 553 B(JumpIfTrue), U8(67), |
| 554 B(LdaSmi), U8(78), | 554 B(LdaSmi), I8(78), |
| 555 B(Star), R(3), | 555 B(Star), R(3), |
| 556 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 556 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 557 B(LdaSmi), U8(-2), | 557 B(LdaSmi), I8(-2), |
| 558 B(Star), R(1), | 558 B(Star), R(1), |
| 559 B(LdaConstant), U8(0), | 559 B(LdaConstant), U8(0), |
| 560 B(Star), R(5), | 560 B(Star), R(5), |
| 561 B(Mov), R(arg0), R(3), | 561 B(Mov), R(arg0), R(3), |
| 562 B(Mov), R(closure), R(4), | 562 B(Mov), R(closure), R(4), |
| 563 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 563 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 564 B(PushContext), R(0), | 564 B(PushContext), R(0), |
| 565 B(Ldar), R(this), | 565 B(Ldar), R(this), |
| 566 B(StaCurrentContextSlot), U8(4), | 566 B(StaCurrentContextSlot), U8(4), |
| 567 B(LdaTheHole), | 567 B(LdaTheHole), |
| 568 B(StaModuleVariable), U8(1), U8(0), | 568 B(StaModuleVariable), I8(1), U8(0), |
| 569 /* 0 E> */ B(StackCheck), | 569 /* 0 E> */ B(StackCheck), |
| 570 B(LdaCurrentContextSlot), U8(4), | 570 B(LdaCurrentContextSlot), U8(4), |
| 571 B(Star), R(4), | 571 B(Star), R(4), |
| 572 B(Mov), R(closure), R(3), | 572 B(Mov), R(closure), R(3), |
| 573 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 573 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 574 B(StaCurrentContextSlot), U8(5), | 574 B(StaCurrentContextSlot), U8(5), |
| 575 B(Star), R(3), | 575 B(Star), R(3), |
| 576 B(LdaCurrentContextSlot), U8(5), | 576 B(LdaCurrentContextSlot), U8(5), |
| 577 B(Star), R(4), | 577 B(Star), R(4), |
| 578 B(LdaZero), | 578 B(LdaZero), |
| 579 B(SuspendGenerator), R(4), | 579 B(SuspendGenerator), R(4), |
| 580 B(Ldar), R(3), | 580 B(Ldar), R(3), |
| 581 /* 32 S> */ B(Return), | 581 /* 32 S> */ B(Return), |
| 582 B(LdaSmi), U8(-2), | 582 B(LdaSmi), I8(-2), |
| 583 B(Star), R(1), | 583 B(Star), R(1), |
| 584 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 584 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 585 B(Star), R(5), | 585 B(Star), R(5), |
| 586 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 586 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 587 B(Star), R(6), | 587 B(Star), R(6), |
| 588 B(LdaZero), | 588 B(LdaZero), |
| 589 B(TestEqualStrict), R(6), U8(0), | 589 B(TestEqualStrict), R(6), U8(0), |
| 590 B(JumpIfTrue), U8(25), | 590 B(JumpIfTrue), U8(25), |
| 591 B(LdaSmi), U8(2), | 591 B(LdaSmi), I8(2), |
| 592 B(TestEqualStrict), R(6), U8(0), | 592 B(TestEqualStrict), R(6), U8(0), |
| 593 B(JumpIfTrue), U8(15), | 593 B(JumpIfTrue), U8(15), |
| 594 B(Jump), U8(2), | 594 B(Jump), U8(2), |
| 595 B(LdaTrue), | 595 B(LdaTrue), |
| 596 B(Star), R(8), | 596 B(Star), R(8), |
| 597 B(Mov), R(5), R(7), | 597 B(Mov), R(5), R(7), |
| 598 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 598 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 599 /* 32 S> */ B(Return), | 599 /* 32 S> */ B(Return), |
| 600 B(Ldar), R(5), | 600 B(Ldar), R(5), |
| 601 /* 0 E> */ B(Throw), | 601 /* 0 E> */ B(Throw), |
| 602 B(CreateClosure), U8(1), U8(2), U8(0), | 602 B(CreateClosure), U8(1), U8(2), U8(0), |
| 603 B(StaModuleVariable), U8(1), U8(0), | 603 B(StaModuleVariable), I8(1), U8(0), |
| 604 B(LdaUndefined), | 604 B(LdaUndefined), |
| 605 /* 32 S> */ B(Return), | 605 /* 32 S> */ B(Return), |
| 606 ] | 606 ] |
| 607 constant pool: [ | 607 constant pool: [ |
| 608 FIXED_ARRAY_TYPE, | 608 FIXED_ARRAY_TYPE, |
| 609 SHARED_FUNCTION_INFO_TYPE, | 609 SHARED_FUNCTION_INFO_TYPE, |
| 610 ] | 610 ] |
| 611 handlers: [ | 611 handlers: [ |
| 612 ] | 612 ] |
| 613 | 613 |
| 614 --- | 614 --- |
| 615 snippet: " | 615 snippet: " |
| 616 export default (class {}); | 616 export default (class {}); |
| 617 " | 617 " |
| 618 frame size: 9 | 618 frame size: 9 |
| 619 parameter count: 2 | 619 parameter count: 2 |
| 620 bytecode array length: 179 | 620 bytecode array length: 179 |
| 621 bytecodes: [ | 621 bytecodes: [ |
| 622 B(Ldar), R(new_target), | 622 B(Ldar), R(new_target), |
| 623 B(JumpIfUndefined), U8(28), | 623 B(JumpIfUndefined), U8(28), |
| 624 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 624 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 625 B(PushContext), R(2), | 625 B(PushContext), R(2), |
| 626 B(ResumeGenerator), R(new_target), | 626 B(ResumeGenerator), R(new_target), |
| 627 B(Star), R(1), | 627 B(Star), R(1), |
| 628 B(LdaZero), | 628 B(LdaZero), |
| 629 B(TestEqualStrict), R(1), U8(0), | 629 B(TestEqualStrict), R(1), U8(0), |
| 630 B(JumpIfTrue), U8(67), | 630 B(JumpIfTrue), U8(67), |
| 631 B(LdaSmi), U8(78), | 631 B(LdaSmi), I8(78), |
| 632 B(Star), R(3), | 632 B(Star), R(3), |
| 633 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 633 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 634 B(LdaSmi), U8(-2), | 634 B(LdaSmi), I8(-2), |
| 635 B(Star), R(1), | 635 B(Star), R(1), |
| 636 B(LdaConstant), U8(0), | 636 B(LdaConstant), U8(0), |
| 637 B(Star), R(5), | 637 B(Star), R(5), |
| 638 B(Mov), R(arg0), R(3), | 638 B(Mov), R(arg0), R(3), |
| 639 B(Mov), R(closure), R(4), | 639 B(Mov), R(closure), R(4), |
| 640 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 640 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 641 B(PushContext), R(0), | 641 B(PushContext), R(0), |
| 642 B(Ldar), R(this), | 642 B(Ldar), R(this), |
| 643 B(StaCurrentContextSlot), U8(4), | 643 B(StaCurrentContextSlot), U8(4), |
| 644 B(LdaTheHole), | 644 B(LdaTheHole), |
| 645 B(StaModuleVariable), U8(1), U8(0), | 645 B(StaModuleVariable), I8(1), U8(0), |
| 646 /* 0 E> */ B(StackCheck), | 646 /* 0 E> */ B(StackCheck), |
| 647 B(LdaCurrentContextSlot), U8(4), | 647 B(LdaCurrentContextSlot), U8(4), |
| 648 B(Star), R(4), | 648 B(Star), R(4), |
| 649 B(Mov), R(closure), R(3), | 649 B(Mov), R(closure), R(3), |
| 650 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 650 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 651 B(StaCurrentContextSlot), U8(5), | 651 B(StaCurrentContextSlot), U8(5), |
| 652 B(Star), R(3), | 652 B(Star), R(3), |
| 653 B(LdaCurrentContextSlot), U8(5), | 653 B(LdaCurrentContextSlot), U8(5), |
| 654 B(Star), R(4), | 654 B(Star), R(4), |
| 655 B(LdaZero), | 655 B(LdaZero), |
| 656 B(SuspendGenerator), R(4), | 656 B(SuspendGenerator), R(4), |
| 657 B(Ldar), R(3), | 657 B(Ldar), R(3), |
| 658 /* 26 S> */ B(Return), | 658 /* 26 S> */ B(Return), |
| 659 B(LdaSmi), U8(-2), | 659 B(LdaSmi), I8(-2), |
| 660 B(Star), R(1), | 660 B(Star), R(1), |
| 661 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 661 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 662 B(Star), R(5), | 662 B(Star), R(5), |
| 663 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 663 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 664 B(Star), R(6), | 664 B(Star), R(6), |
| 665 B(LdaZero), | 665 B(LdaZero), |
| 666 B(TestEqualStrict), R(6), U8(0), | 666 B(TestEqualStrict), R(6), U8(0), |
| 667 B(JumpIfTrue), U8(25), | 667 B(JumpIfTrue), U8(25), |
| 668 B(LdaSmi), U8(2), | 668 B(LdaSmi), I8(2), |
| 669 B(TestEqualStrict), R(6), U8(0), | 669 B(TestEqualStrict), R(6), U8(0), |
| 670 B(JumpIfTrue), U8(15), | 670 B(JumpIfTrue), U8(15), |
| 671 B(Jump), U8(2), | 671 B(Jump), U8(2), |
| 672 B(LdaTrue), | 672 B(LdaTrue), |
| 673 B(Star), R(8), | 673 B(Star), R(8), |
| 674 B(Mov), R(5), R(7), | 674 B(Mov), R(5), R(7), |
| 675 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 675 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 676 /* 26 S> */ B(Return), | 676 /* 26 S> */ B(Return), |
| 677 B(Ldar), R(5), | 677 B(Ldar), R(5), |
| 678 /* 0 E> */ B(Throw), | 678 /* 0 E> */ B(Throw), |
| 679 /* 16 S> */ B(CreateClosure), U8(1), U8(2), U8(0), | 679 /* 16 S> */ B(CreateClosure), U8(1), U8(2), U8(0), |
| 680 B(Star), R(3), | 680 B(Star), R(3), |
| 681 B(LdaTheHole), | 681 B(LdaTheHole), |
| 682 B(Star), R(4), | 682 B(Star), R(4), |
| 683 B(LdaSmi), U8(16), | 683 B(LdaSmi), I8(16), |
| 684 B(Star), R(6), | 684 B(Star), R(6), |
| 685 B(LdaSmi), U8(24), | 685 B(LdaSmi), I8(24), |
| 686 B(Star), R(7), | 686 B(Star), R(7), |
| 687 B(Mov), R(3), R(5), | 687 B(Mov), R(3), R(5), |
| 688 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), | 688 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
| 689 B(Star), R(4), | 689 B(Star), R(4), |
| 690 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), | 690 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), |
| 691 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), | 691 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
| 692 B(StaCurrentContextSlot), U8(6), | 692 B(StaCurrentContextSlot), U8(6), |
| 693 B(LdaCurrentContextSlot), U8(6), | 693 B(LdaCurrentContextSlot), U8(6), |
| 694 /* 16 E> */ B(StaModuleVariable), U8(1), U8(0), | 694 /* 16 E> */ B(StaModuleVariable), I8(1), U8(0), |
| 695 B(LdaUndefined), | 695 B(LdaUndefined), |
| 696 /* 26 S> */ B(Return), | 696 /* 26 S> */ B(Return), |
| 697 ] | 697 ] |
| 698 constant pool: [ | 698 constant pool: [ |
| 699 FIXED_ARRAY_TYPE, | 699 FIXED_ARRAY_TYPE, |
| 700 SHARED_FUNCTION_INFO_TYPE, | 700 SHARED_FUNCTION_INFO_TYPE, |
| 701 ] | 701 ] |
| 702 handlers: [ | 702 handlers: [ |
| 703 ] | 703 ] |
| 704 | 704 |
| 705 --- | 705 --- |
| 706 snippet: " | 706 snippet: " |
| 707 export {foo as goo} from \"bar\" | 707 export {foo as goo} from \"bar\" |
| 708 " | 708 " |
| 709 frame size: 9 | 709 frame size: 9 |
| 710 parameter count: 2 | 710 parameter count: 2 |
| 711 bytecode array length: 131 | 711 bytecode array length: 131 |
| 712 bytecodes: [ | 712 bytecodes: [ |
| 713 B(Ldar), R(new_target), | 713 B(Ldar), R(new_target), |
| 714 B(JumpIfUndefined), U8(28), | 714 B(JumpIfUndefined), U8(28), |
| 715 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 715 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 716 B(PushContext), R(2), | 716 B(PushContext), R(2), |
| 717 B(ResumeGenerator), R(new_target), | 717 B(ResumeGenerator), R(new_target), |
| 718 B(Star), R(1), | 718 B(Star), R(1), |
| 719 B(LdaZero), | 719 B(LdaZero), |
| 720 B(TestEqualStrict), R(1), U8(0), | 720 B(TestEqualStrict), R(1), U8(0), |
| 721 B(JumpIfTrue), U8(63), | 721 B(JumpIfTrue), U8(63), |
| 722 B(LdaSmi), U8(78), | 722 B(LdaSmi), I8(78), |
| 723 B(Star), R(3), | 723 B(Star), R(3), |
| 724 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 724 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 725 B(LdaSmi), U8(-2), | 725 B(LdaSmi), I8(-2), |
| 726 B(Star), R(1), | 726 B(Star), R(1), |
| 727 B(LdaConstant), U8(0), | 727 B(LdaConstant), U8(0), |
| 728 B(Star), R(5), | 728 B(Star), R(5), |
| 729 B(Mov), R(arg0), R(3), | 729 B(Mov), R(arg0), R(3), |
| 730 B(Mov), R(closure), R(4), | 730 B(Mov), R(closure), R(4), |
| 731 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 731 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 732 B(PushContext), R(0), | 732 B(PushContext), R(0), |
| 733 B(Ldar), R(this), | 733 B(Ldar), R(this), |
| 734 B(StaCurrentContextSlot), U8(4), | 734 B(StaCurrentContextSlot), U8(4), |
| 735 /* 0 E> */ B(StackCheck), | 735 /* 0 E> */ B(StackCheck), |
| 736 B(LdaCurrentContextSlot), U8(4), | 736 B(LdaCurrentContextSlot), U8(4), |
| 737 B(Star), R(4), | 737 B(Star), R(4), |
| 738 B(Mov), R(closure), R(3), | 738 B(Mov), R(closure), R(3), |
| 739 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 739 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 740 B(StaCurrentContextSlot), U8(5), | 740 B(StaCurrentContextSlot), U8(5), |
| 741 B(Star), R(3), | 741 B(Star), R(3), |
| 742 B(LdaCurrentContextSlot), U8(5), | 742 B(LdaCurrentContextSlot), U8(5), |
| 743 B(Star), R(4), | 743 B(Star), R(4), |
| 744 B(LdaZero), | 744 B(LdaZero), |
| 745 B(SuspendGenerator), R(4), | 745 B(SuspendGenerator), R(4), |
| 746 B(Ldar), R(3), | 746 B(Ldar), R(3), |
| 747 /* 30 S> */ B(Return), | 747 /* 30 S> */ B(Return), |
| 748 B(LdaSmi), U8(-2), | 748 B(LdaSmi), I8(-2), |
| 749 B(Star), R(1), | 749 B(Star), R(1), |
| 750 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 750 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 751 B(Star), R(5), | 751 B(Star), R(5), |
| 752 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 752 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 753 B(Star), R(6), | 753 B(Star), R(6), |
| 754 B(LdaZero), | 754 B(LdaZero), |
| 755 B(TestEqualStrict), R(6), U8(0), | 755 B(TestEqualStrict), R(6), U8(0), |
| 756 B(JumpIfTrue), U8(25), | 756 B(JumpIfTrue), U8(25), |
| 757 B(LdaSmi), U8(2), | 757 B(LdaSmi), I8(2), |
| 758 B(TestEqualStrict), R(6), U8(0), | 758 B(TestEqualStrict), R(6), U8(0), |
| 759 B(JumpIfTrue), U8(15), | 759 B(JumpIfTrue), U8(15), |
| 760 B(Jump), U8(2), | 760 B(Jump), U8(2), |
| 761 B(LdaTrue), | 761 B(LdaTrue), |
| 762 B(Star), R(8), | 762 B(Star), R(8), |
| 763 B(Mov), R(5), R(7), | 763 B(Mov), R(5), R(7), |
| 764 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 764 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 765 /* 30 S> */ B(Return), | 765 /* 30 S> */ B(Return), |
| 766 B(Ldar), R(5), | 766 B(Ldar), R(5), |
| 767 /* 0 E> */ B(Throw), | 767 /* 0 E> */ B(Throw), |
| (...skipping 16 matching lines...) Expand all Loading... |
| 784 bytecodes: [ | 784 bytecodes: [ |
| 785 B(Ldar), R(new_target), | 785 B(Ldar), R(new_target), |
| 786 B(JumpIfUndefined), U8(28), | 786 B(JumpIfUndefined), U8(28), |
| 787 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 787 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 788 B(PushContext), R(2), | 788 B(PushContext), R(2), |
| 789 B(ResumeGenerator), R(new_target), | 789 B(ResumeGenerator), R(new_target), |
| 790 B(Star), R(1), | 790 B(Star), R(1), |
| 791 B(LdaZero), | 791 B(LdaZero), |
| 792 B(TestEqualStrict), R(1), U8(0), | 792 B(TestEqualStrict), R(1), U8(0), |
| 793 B(JumpIfTrue), U8(63), | 793 B(JumpIfTrue), U8(63), |
| 794 B(LdaSmi), U8(78), | 794 B(LdaSmi), I8(78), |
| 795 B(Star), R(3), | 795 B(Star), R(3), |
| 796 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 796 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 797 B(LdaSmi), U8(-2), | 797 B(LdaSmi), I8(-2), |
| 798 B(Star), R(1), | 798 B(Star), R(1), |
| 799 B(LdaConstant), U8(0), | 799 B(LdaConstant), U8(0), |
| 800 B(Star), R(5), | 800 B(Star), R(5), |
| 801 B(Mov), R(arg0), R(3), | 801 B(Mov), R(arg0), R(3), |
| 802 B(Mov), R(closure), R(4), | 802 B(Mov), R(closure), R(4), |
| 803 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 803 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 804 B(PushContext), R(0), | 804 B(PushContext), R(0), |
| 805 B(Ldar), R(this), | 805 B(Ldar), R(this), |
| 806 B(StaCurrentContextSlot), U8(4), | 806 B(StaCurrentContextSlot), U8(4), |
| 807 /* 0 E> */ B(StackCheck), | 807 /* 0 E> */ B(StackCheck), |
| 808 B(LdaCurrentContextSlot), U8(4), | 808 B(LdaCurrentContextSlot), U8(4), |
| 809 B(Star), R(4), | 809 B(Star), R(4), |
| 810 B(Mov), R(closure), R(3), | 810 B(Mov), R(closure), R(3), |
| 811 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 811 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 812 B(StaCurrentContextSlot), U8(5), | 812 B(StaCurrentContextSlot), U8(5), |
| 813 B(Star), R(3), | 813 B(Star), R(3), |
| 814 B(LdaCurrentContextSlot), U8(5), | 814 B(LdaCurrentContextSlot), U8(5), |
| 815 B(Star), R(4), | 815 B(Star), R(4), |
| 816 B(LdaZero), | 816 B(LdaZero), |
| 817 B(SuspendGenerator), R(4), | 817 B(SuspendGenerator), R(4), |
| 818 B(Ldar), R(3), | 818 B(Ldar), R(3), |
| 819 /* 19 S> */ B(Return), | 819 /* 19 S> */ B(Return), |
| 820 B(LdaSmi), U8(-2), | 820 B(LdaSmi), I8(-2), |
| 821 B(Star), R(1), | 821 B(Star), R(1), |
| 822 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 822 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 823 B(Star), R(5), | 823 B(Star), R(5), |
| 824 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 824 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 825 B(Star), R(6), | 825 B(Star), R(6), |
| 826 B(LdaZero), | 826 B(LdaZero), |
| 827 B(TestEqualStrict), R(6), U8(0), | 827 B(TestEqualStrict), R(6), U8(0), |
| 828 B(JumpIfTrue), U8(25), | 828 B(JumpIfTrue), U8(25), |
| 829 B(LdaSmi), U8(2), | 829 B(LdaSmi), I8(2), |
| 830 B(TestEqualStrict), R(6), U8(0), | 830 B(TestEqualStrict), R(6), U8(0), |
| 831 B(JumpIfTrue), U8(15), | 831 B(JumpIfTrue), U8(15), |
| 832 B(Jump), U8(2), | 832 B(Jump), U8(2), |
| 833 B(LdaTrue), | 833 B(LdaTrue), |
| 834 B(Star), R(8), | 834 B(Star), R(8), |
| 835 B(Mov), R(5), R(7), | 835 B(Mov), R(5), R(7), |
| 836 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 836 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 837 /* 19 S> */ B(Return), | 837 /* 19 S> */ B(Return), |
| 838 B(Ldar), R(5), | 838 B(Ldar), R(5), |
| 839 /* 0 E> */ B(Throw), | 839 /* 0 E> */ B(Throw), |
| (...skipping 17 matching lines...) Expand all Loading... |
| 857 bytecodes: [ | 857 bytecodes: [ |
| 858 B(Ldar), R(new_target), | 858 B(Ldar), R(new_target), |
| 859 B(JumpIfUndefined), U8(28), | 859 B(JumpIfUndefined), U8(28), |
| 860 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 860 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 861 B(PushContext), R(2), | 861 B(PushContext), R(2), |
| 862 B(ResumeGenerator), R(new_target), | 862 B(ResumeGenerator), R(new_target), |
| 863 B(Star), R(1), | 863 B(Star), R(1), |
| 864 B(LdaZero), | 864 B(LdaZero), |
| 865 B(TestEqualStrict), R(1), U8(0), | 865 B(TestEqualStrict), R(1), U8(0), |
| 866 B(JumpIfTrue), U8(73), | 866 B(JumpIfTrue), U8(73), |
| 867 B(LdaSmi), U8(78), | 867 B(LdaSmi), I8(78), |
| 868 B(Star), R(3), | 868 B(Star), R(3), |
| 869 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 869 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 870 B(LdaSmi), U8(-2), | 870 B(LdaSmi), I8(-2), |
| 871 B(Star), R(1), | 871 B(Star), R(1), |
| 872 B(LdaConstant), U8(0), | 872 B(LdaConstant), U8(0), |
| 873 B(Star), R(5), | 873 B(Star), R(5), |
| 874 B(Mov), R(arg0), R(3), | 874 B(Mov), R(arg0), R(3), |
| 875 B(Mov), R(closure), R(4), | 875 B(Mov), R(closure), R(4), |
| 876 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 876 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 877 B(PushContext), R(0), | 877 B(PushContext), R(0), |
| 878 B(Ldar), R(this), | 878 B(Ldar), R(this), |
| 879 B(StaCurrentContextSlot), U8(4), | 879 B(StaCurrentContextSlot), U8(4), |
| 880 B(LdaZero), | 880 B(LdaZero), |
| 881 B(Star), R(3), | 881 B(Star), R(3), |
| 882 B(CallRuntime), U16(Runtime::kGetModuleNamespace), R(3), U8(1), | 882 B(CallRuntime), U16(Runtime::kGetModuleNamespace), R(3), U8(1), |
| 883 B(StaCurrentContextSlot), U8(6), | 883 B(StaCurrentContextSlot), U8(6), |
| 884 /* 0 E> */ B(StackCheck), | 884 /* 0 E> */ B(StackCheck), |
| 885 B(LdaCurrentContextSlot), U8(4), | 885 B(LdaCurrentContextSlot), U8(4), |
| 886 B(Star), R(4), | 886 B(Star), R(4), |
| 887 B(Mov), R(closure), R(3), | 887 B(Mov), R(closure), R(3), |
| 888 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 888 /* 0 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
| 889 B(StaCurrentContextSlot), U8(5), | 889 B(StaCurrentContextSlot), U8(5), |
| 890 B(Star), R(3), | 890 B(Star), R(3), |
| 891 B(LdaCurrentContextSlot), U8(5), | 891 B(LdaCurrentContextSlot), U8(5), |
| 892 B(Star), R(4), | 892 B(Star), R(4), |
| 893 B(LdaZero), | 893 B(LdaZero), |
| 894 B(SuspendGenerator), R(4), | 894 B(SuspendGenerator), R(4), |
| 895 B(Ldar), R(3), | 895 B(Ldar), R(3), |
| 896 /* 45 S> */ B(Return), | 896 /* 45 S> */ B(Return), |
| 897 B(LdaSmi), U8(-2), | 897 B(LdaSmi), I8(-2), |
| 898 B(Star), R(1), | 898 B(Star), R(1), |
| 899 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 899 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), |
| 900 B(Star), R(5), | 900 B(Star), R(5), |
| 901 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 901 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), |
| 902 B(Star), R(6), | 902 B(Star), R(6), |
| 903 B(LdaZero), | 903 B(LdaZero), |
| 904 B(TestEqualStrict), R(6), U8(0), | 904 B(TestEqualStrict), R(6), U8(0), |
| 905 B(JumpIfTrue), U8(25), | 905 B(JumpIfTrue), U8(25), |
| 906 B(LdaSmi), U8(2), | 906 B(LdaSmi), I8(2), |
| 907 B(TestEqualStrict), R(6), U8(0), | 907 B(TestEqualStrict), R(6), U8(0), |
| 908 B(JumpIfTrue), U8(15), | 908 B(JumpIfTrue), U8(15), |
| 909 B(Jump), U8(2), | 909 B(Jump), U8(2), |
| 910 B(LdaTrue), | 910 B(LdaTrue), |
| 911 B(Star), R(8), | 911 B(Star), R(8), |
| 912 B(Mov), R(5), R(7), | 912 B(Mov), R(5), R(7), |
| 913 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | 913 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), |
| 914 /* 45 S> */ B(Return), | 914 /* 45 S> */ B(Return), |
| 915 B(Ldar), R(5), | 915 B(Ldar), R(5), |
| 916 /* 0 E> */ B(Throw), | 916 /* 0 E> */ B(Throw), |
| (...skipping 12 matching lines...) Expand all Loading... |
| 929 /* 45 S> */ B(Return), | 929 /* 45 S> */ B(Return), |
| 930 ] | 930 ] |
| 931 constant pool: [ | 931 constant pool: [ |
| 932 FIXED_ARRAY_TYPE, | 932 FIXED_ARRAY_TYPE, |
| 933 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 933 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
| 934 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 934 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 935 ] | 935 ] |
| 936 handlers: [ | 936 handlers: [ |
| 937 ] | 937 ] |
| 938 | 938 |
| OLD | NEW |