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