| 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: 46 |
| 69 bytecodes: [ | 69 bytecodes: [ |
| 70 /* 30 E> */ B(StackCheck), | 70 /* 30 E> */ B(StackCheck), |
| 71 /* 42 S> */ B(LdaConstant), U8(0), | 71 /* 42 S> */ B(LdaConstant), U8(0), |
| 72 /* 42 E> */ B(Star), R(1), | 72 /* 42 E> */ B(Star), R(1), |
| 73 /* 68 S> */ B(JumpIfUndefined), U8(38), | 73 /* 68 S> */ B(JumpIfUndefined), U8(39), |
| 74 B(JumpIfNull), U8(36), | 74 B(JumpIfNull), U8(37), |
| 75 B(ToObject), | 75 B(ToObject), |
| 76 B(Star), R(3), | 76 B(Star), R(3), |
| 77 B(ForInPrepare), R(4), | 77 B(ForInPrepare), R(4), |
| 78 B(LdaZero), | 78 B(LdaZero), |
| 79 B(Star), R(7), | 79 B(Star), R(7), |
| 80 /* 63 S> */ B(ForInDone), R(7), R(6), | 80 /* 63 S> */ B(ForInDone), R(7), R(6), |
| 81 B(JumpIfTrue), U8(23), | 81 B(JumpIfTrue), U8(24), |
| 82 B(ForInNext), R(3), R(7), R(4), U8(1), | 82 B(ForInNext), R(3), R(7), R(4), U8(1), |
| 83 B(JumpIfUndefined), U8(10), | 83 B(JumpIfUndefined), U8(11), |
| 84 B(Star), R(0), | 84 B(Star), R(0), |
| 85 /* 54 E> */ B(StackCheck), | 85 /* 54 E> */ B(StackCheck), |
| 86 B(Ldar), R(0), | 86 B(Ldar), R(0), |
| 87 B(Star), R(2), | 87 B(Star), R(2), |
| 88 /* 73 S> */ B(Nop), |
| 88 /* 85 S> */ B(Return), | 89 /* 85 S> */ B(Return), |
| 89 B(ForInStep), R(7), | 90 B(ForInStep), R(7), |
| 90 B(Star), R(7), | 91 B(Star), R(7), |
| 91 B(Jump), U8(-24), | 92 B(Jump), U8(-25), |
| 92 B(LdaUndefined), | 93 B(LdaUndefined), |
| 93 /* 85 S> */ B(Return), | 94 /* 85 S> */ B(Return), |
| 94 ] | 95 ] |
| 95 constant pool: [ | 96 constant pool: [ |
| 96 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 97 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 97 ] | 98 ] |
| 98 handlers: [ | 99 handlers: [ |
| 99 ] | 100 ] |
| 100 | 101 |
| 101 --- | 102 --- |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 B(LdaUndefined), | 251 B(LdaUndefined), |
| 251 /* 98 S> */ B(Return), | 252 /* 98 S> */ B(Return), |
| 252 ] | 253 ] |
| 253 constant pool: [ | 254 constant pool: [ |
| 254 InstanceType::FIXED_ARRAY_TYPE, | 255 InstanceType::FIXED_ARRAY_TYPE, |
| 255 InstanceType::FIXED_ARRAY_TYPE, | 256 InstanceType::FIXED_ARRAY_TYPE, |
| 256 ] | 257 ] |
| 257 handlers: [ | 258 handlers: [ |
| 258 ] | 259 ] |
| 259 | 260 |
| OLD | NEW |