| 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 test function name: f | 7 test function name: f |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 constant pool: [ | 94 constant pool: [ |
| 95 ] | 95 ] |
| 96 handlers: [ | 96 handlers: [ |
| 97 ] | 97 ] |
| 98 | 98 |
| 99 --- | 99 --- |
| 100 snippet: " | 100 snippet: " |
| 101 function f(arg1) { arg1 = 1; } | 101 function f(arg1) { arg1 = 1; } |
| 102 f(); | 102 f(); |
| 103 " | 103 " |
| 104 frame size: 0 | 104 frame size: 1 |
| 105 parameter count: 2 | 105 parameter count: 2 |
| 106 bytecode array length: 7 | 106 bytecode array length: 11 |
| 107 bytecodes: [ | 107 bytecodes: [ |
| 108 /* 10 E> */ B(StackCheck), | 108 /* 10 E> */ B(StackCheck), |
| 109 /* 19 S> */ B(LdaSmi), I8(1), | 109 /* 19 S> */ B(LdaConstant), U8(0), |
| 110 B(Star), R(0), |
| 111 B(LdaSmi), I8(1), |
| 110 B(Star), R(arg0), | 112 B(Star), R(arg0), |
| 111 B(LdaUndefined), | 113 B(LdaUndefined), |
| 112 /* 29 S> */ B(Return), | 114 /* 29 S> */ B(Return), |
| 113 ] | 115 ] |
| 114 constant pool: [ | 116 constant pool: [ |
| 117 ONE_BYTE_INTERNALIZED_STRING_TYPE ["arg1"], |
| 115 ] | 118 ] |
| 116 handlers: [ | 119 handlers: [ |
| 117 ] | 120 ] |
| 118 | 121 |
| 119 --- | 122 --- |
| 120 snippet: " | 123 snippet: " |
| 121 function f(arg1, arg2, arg3, arg4) { arg2 = 1; } | 124 function f(arg1, arg2, arg3, arg4) { arg2 = 1; } |
| 122 f(); | 125 f(); |
| 123 " | 126 " |
| 124 frame size: 0 | 127 frame size: 1 |
| 125 parameter count: 5 | 128 parameter count: 5 |
| 126 bytecode array length: 7 | 129 bytecode array length: 11 |
| 127 bytecodes: [ | 130 bytecodes: [ |
| 128 /* 10 E> */ B(StackCheck), | 131 /* 10 E> */ B(StackCheck), |
| 129 /* 37 S> */ B(LdaSmi), I8(1), | 132 /* 37 S> */ B(LdaConstant), U8(0), |
| 133 B(Star), R(0), |
| 134 B(LdaSmi), I8(1), |
| 130 B(Star), R(arg1), | 135 B(Star), R(arg1), |
| 131 B(LdaUndefined), | 136 B(LdaUndefined), |
| 132 /* 47 S> */ B(Return), | 137 /* 47 S> */ B(Return), |
| 133 ] | 138 ] |
| 134 constant pool: [ | 139 constant pool: [ |
| 140 ONE_BYTE_INTERNALIZED_STRING_TYPE ["arg2"], |
| 135 ] | 141 ] |
| 136 handlers: [ | 142 handlers: [ |
| 137 ] | 143 ] |
| 138 | 144 |
| OLD | NEW |