| 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: no | 8 wrap: no |
| 9 test function name: f | 9 test function name: f |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 function f() { return new bar(3); } | 36 function f() { return new bar(3); } |
| 37 f(); | 37 f(); |
| 38 " | 38 " |
| 39 frame size: 2 | 39 frame size: 2 |
| 40 parameter count: 1 | 40 parameter count: 1 |
| 41 bytecode array length: 17 | 41 bytecode array length: 17 |
| 42 bytecodes: [ | 42 bytecodes: [ |
| 43 B(StackCheck), | 43 B(StackCheck), |
| 44 B(LdaGlobal), U8(0), U8(2), | 44 B(LdaGlobal), U8(0), U8(2), |
| 45 B(Star), R(0), | 45 B(Star), R(0), |
| 46 B(LdaSmi8), U8(3), | 46 B(LdaSmi), U8(3), |
| 47 B(Star), R(1), | 47 B(Star), R(1), |
| 48 B(Ldar), R(0), | 48 B(Ldar), R(0), |
| 49 B(New), R(0), R(1), U8(1), | 49 B(New), R(0), R(1), U8(1), |
| 50 B(Return), | 50 B(Return), |
| 51 ] | 51 ] |
| 52 constant pool: [ | 52 constant pool: [ |
| 53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 54 ] | 54 ] |
| 55 handlers: [ | 55 handlers: [ |
| 56 ] | 56 ] |
| 57 | 57 |
| 58 --- | 58 --- |
| 59 snippet: " | 59 snippet: " |
| 60 function bar(w, x, y, z) { | 60 function bar(w, x, y, z) { |
| 61 this.value = 18; | 61 this.value = 18; |
| 62 this.x = x; | 62 this.x = x; |
| 63 this.y = y; | 63 this.y = y; |
| 64 this.z = z; | 64 this.z = z; |
| 65 } | 65 } |
| 66 function f() { return new bar(3, 4, 5); } | 66 function f() { return new bar(3, 4, 5); } |
| 67 f(); | 67 f(); |
| 68 " | 68 " |
| 69 frame size: 4 | 69 frame size: 4 |
| 70 parameter count: 1 | 70 parameter count: 1 |
| 71 bytecode array length: 25 | 71 bytecode array length: 25 |
| 72 bytecodes: [ | 72 bytecodes: [ |
| 73 B(StackCheck), | 73 B(StackCheck), |
| 74 B(LdaGlobal), U8(0), U8(2), | 74 B(LdaGlobal), U8(0), U8(2), |
| 75 B(Star), R(0), | 75 B(Star), R(0), |
| 76 B(LdaSmi8), U8(3), | 76 B(LdaSmi), U8(3), |
| 77 B(Star), R(1), | 77 B(Star), R(1), |
| 78 B(LdaSmi8), U8(4), | 78 B(LdaSmi), U8(4), |
| 79 B(Star), R(2), | 79 B(Star), R(2), |
| 80 B(LdaSmi8), U8(5), | 80 B(LdaSmi), U8(5), |
| 81 B(Star), R(3), | 81 B(Star), R(3), |
| 82 B(Ldar), R(0), | 82 B(Ldar), R(0), |
| 83 B(New), R(0), R(1), U8(3), | 83 B(New), R(0), R(1), U8(3), |
| 84 B(Return), | 84 B(Return), |
| 85 ] | 85 ] |
| 86 constant pool: [ | 86 constant pool: [ |
| 87 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 87 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 88 ] | 88 ] |
| 89 handlers: [ | 89 handlers: [ |
| 90 ] | 90 ] |
| 91 | 91 |
| OLD | NEW |