| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: 0 |
| 105 parameter count: 2 | 105 parameter count: 2 |
| 106 bytecode array length: 7 | 106 bytecode array length: 7 |
| 107 bytecodes: [ | 107 bytecodes: [ |
| 108 /* 10 E> */ B(StackCheck), | 108 /* 10 E> */ B(StackCheck), |
| 109 /* 19 S> */ B(LdaSmi), U8(1), | 109 /* 19 S> */ B(LdaSmi), I8(1), |
| 110 B(Star), R(arg0), | 110 B(Star), R(arg0), |
| 111 B(LdaUndefined), | 111 B(LdaUndefined), |
| 112 /* 29 S> */ B(Return), | 112 /* 29 S> */ B(Return), |
| 113 ] | 113 ] |
| 114 constant pool: [ | 114 constant pool: [ |
| 115 ] | 115 ] |
| 116 handlers: [ | 116 handlers: [ |
| 117 ] | 117 ] |
| 118 | 118 |
| 119 --- | 119 --- |
| 120 snippet: " | 120 snippet: " |
| 121 function f(arg1, arg2, arg3, arg4) { arg2 = 1; } | 121 function f(arg1, arg2, arg3, arg4) { arg2 = 1; } |
| 122 f(); | 122 f(); |
| 123 " | 123 " |
| 124 frame size: 0 | 124 frame size: 0 |
| 125 parameter count: 5 | 125 parameter count: 5 |
| 126 bytecode array length: 7 | 126 bytecode array length: 7 |
| 127 bytecodes: [ | 127 bytecodes: [ |
| 128 /* 10 E> */ B(StackCheck), | 128 /* 10 E> */ B(StackCheck), |
| 129 /* 37 S> */ B(LdaSmi), U8(1), | 129 /* 37 S> */ B(LdaSmi), I8(1), |
| 130 B(Star), R(arg1), | 130 B(Star), R(arg1), |
| 131 B(LdaUndefined), | 131 B(LdaUndefined), |
| 132 /* 47 S> */ B(Return), | 132 /* 47 S> */ B(Return), |
| 133 ] | 133 ] |
| 134 constant pool: [ | 134 constant pool: [ |
| 135 ] | 135 ] |
| 136 handlers: [ | 136 handlers: [ |
| 137 ] | 137 ] |
| 138 | 138 |
| OLD | NEW |