| 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 top level: yes | 7 top level: yes |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 handlers: [ | 97 handlers: [ |
| 98 ] | 98 ] |
| 99 | 99 |
| 100 --- | 100 --- |
| 101 snippet: " | 101 snippet: " |
| 102 function f() {} | 102 function f() {} |
| 103 f(); | 103 f(); |
| 104 " | 104 " |
| 105 frame size: 4 | 105 frame size: 4 |
| 106 parameter count: 1 | 106 parameter count: 1 |
| 107 bytecode array length: 31 | 107 bytecode array length: 32 |
| 108 bytecodes: [ | 108 bytecodes: [ |
| 109 B(LdaConstant), U8(0), | 109 B(LdaConstant), U8(0), |
| 110 B(Star), R(1), | 110 B(Star), R(1), |
| 111 B(LdaZero), | 111 B(LdaZero), |
| 112 B(Star), R(2), | 112 B(Star), R(2), |
| 113 B(Mov), R(closure), R(3), | 113 B(Mov), R(closure), R(3), |
| 114 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), | 114 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), |
| 115 /* 0 E> */ B(StackCheck), | 115 /* 0 E> */ B(StackCheck), |
| 116 /* 16 S> */ B(LdaUndefined), | 116 /* 16 S> */ B(LdaUndefined), |
| 117 B(Star), R(2), | 117 B(Star), R(2), |
| 118 B(LdaGlobal), U8(1), U8(2), | 118 B(LdaGlobal), U8(1), U8(2), |
| 119 B(Star), R(1), | 119 B(Star), R(1), |
| 120 /* 16 E> */ B(Call0), R(1), R(2), U8(5), | 120 /* 16 E> */ B(Call), R(1), R(2), U8(1), U8(5), |
| 121 B(Star), R(0), | 121 B(Star), R(0), |
| 122 /* 20 S> */ B(Return), | 122 /* 20 S> */ B(Return), |
| 123 ] | 123 ] |
| 124 constant pool: [ | 124 constant pool: [ |
| 125 FIXED_ARRAY_TYPE, | 125 FIXED_ARRAY_TYPE, |
| 126 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 126 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
| 127 ] | 127 ] |
| 128 handlers: [ | 128 handlers: [ |
| 129 ] | 129 ] |
| 130 | 130 |
| OLD | NEW |