| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 pool type: mixed | 6 pool type: mixed |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: yes | 8 wrap: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 handlers: [ | 58 handlers: [ |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 --- | 61 --- |
| 62 snippet: " | 62 snippet: " |
| 63 var x = 'potatoes'; | 63 var x = 'potatoes'; |
| 64 for (var p in x) { return p; } | 64 for (var p in x) { return p; } |
| 65 " | 65 " |
| 66 frame size: 8 | 66 frame size: 8 |
| 67 parameter count: 1 | 67 parameter count: 1 |
| 68 bytecode array length: 45 | 68 bytecode array length: 47 |
| 69 bytecodes: [ | 69 bytecodes: [ |
| 70 B(StackCheck), | 70 B(StackCheck), |
| 71 B(LdaConstant), U8(0), | 71 B(LdaConstant), U8(0), |
| 72 B(Star), R(1), | 72 B(Star), R(1), |
| 73 B(JumpIfUndefined), U8(38), | 73 B(Nop), |
| 74 B(JumpIfNull), U8(36), | 74 B(JumpIfUndefined), U8(39), |
| 75 B(JumpIfNull), U8(37), |
| 75 B(ToObject), | 76 B(ToObject), |
| 76 B(Star), R(3), | 77 B(Star), R(3), |
| 77 B(ForInPrepare), R(4), | 78 B(ForInPrepare), R(4), |
| 78 B(LdaZero), | 79 B(LdaZero), |
| 79 B(Star), R(7), | 80 B(Star), R(7), |
| 80 B(ForInDone), R(7), R(6), | 81 B(ForInDone), R(7), R(6), |
| 81 B(JumpIfTrue), U8(23), | 82 B(JumpIfTrue), U8(24), |
| 82 B(ForInNext), R(3), R(7), R(4), U8(1), | 83 B(ForInNext), R(3), R(7), R(4), U8(1), |
| 83 B(JumpIfUndefined), U8(10), | 84 B(JumpIfUndefined), U8(11), |
| 84 B(Star), R(0), | 85 B(Star), R(0), |
| 85 B(StackCheck), | 86 B(StackCheck), |
| 86 B(Ldar), R(0), | 87 B(Ldar), R(0), |
| 87 B(Star), R(2), | 88 B(Star), R(2), |
| 89 B(Nop), |
| 88 B(Return), | 90 B(Return), |
| 89 B(ForInStep), R(7), | 91 B(ForInStep), R(7), |
| 90 B(Star), R(7), | 92 B(Star), R(7), |
| 91 B(Jump), U8(-24), | 93 B(Jump), U8(-25), |
| 92 B(LdaUndefined), | 94 B(LdaUndefined), |
| 93 B(Return), | 95 B(Return), |
| 94 ] | 96 ] |
| 95 constant pool: [ | 97 constant pool: [ |
| 96 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 98 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 97 ] | 99 ] |
| 98 handlers: [ | 100 handlers: [ |
| 99 ] | 101 ] |
| 100 | 102 |
| 101 --- | 103 --- |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 B(LdaUndefined), | 252 B(LdaUndefined), |
| 251 B(Return), | 253 B(Return), |
| 252 ] | 254 ] |
| 253 constant pool: [ | 255 constant pool: [ |
| 254 InstanceType::FIXED_ARRAY_TYPE, | 256 InstanceType::FIXED_ARRAY_TYPE, |
| 255 InstanceType::FIXED_ARRAY_TYPE, | 257 InstanceType::FIXED_ARRAY_TYPE, |
| 256 ] | 258 ] |
| 257 handlers: [ | 259 handlers: [ |
| 258 ] | 260 ] |
| 259 | 261 |
| OLD | NEW |