| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 execute: no | 6 execute: no |
| 7 wrap: no | 7 wrap: no |
| 8 top level: yes | 8 top level: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), | 80 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), |
| 81 /* 0 E> */ B(StackCheck), | 81 /* 0 E> */ B(StackCheck), |
| 82 /* 8 S> */ B(LdaConstant), U8(1), | 82 /* 8 S> */ B(LdaConstant), U8(1), |
| 83 B(Star), R(1), | 83 B(Star), R(1), |
| 84 B(LdaZero), | 84 B(LdaZero), |
| 85 B(Star), R(2), | 85 B(Star), R(2), |
| 86 B(LdaSmi), U8(1), | 86 B(LdaSmi), U8(1), |
| 87 B(Star), R(3), | 87 B(Star), R(3), |
| 88 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 88 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
| 89 /* 11 S> */ B(LdaSmi), U8(2), | 89 /* 11 S> */ B(LdaSmi), U8(2), |
| 90 /* 12 E> */ B(StaGlobalSloppy), U8(1), U8(3), | 90 /* 12 E> */ B(StaGlobalSloppy), U8(1), U8(4), |
| 91 B(Star), R(0), | 91 B(Star), R(0), |
| 92 /* 15 S> */ B(Return), | 92 /* 15 S> */ B(Return), |
| 93 ] | 93 ] |
| 94 constant pool: [ | 94 constant pool: [ |
| 95 FIXED_ARRAY_TYPE, | 95 FIXED_ARRAY_TYPE, |
| 96 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 96 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
| 97 ] | 97 ] |
| 98 handlers: [ | 98 handlers: [ |
| 99 ] | 99 ] |
| 100 | 100 |
| 101 --- | 101 --- |
| 102 snippet: " | 102 snippet: " |
| 103 function f() {} | 103 function f() {} |
| 104 f(); | 104 f(); |
| 105 " | 105 " |
| 106 frame size: 4 | 106 frame size: 4 |
| 107 parameter count: 1 | 107 parameter count: 1 |
| 108 bytecode array length: 29 | 108 bytecode array length: 29 |
| 109 bytecodes: [ | 109 bytecodes: [ |
| 110 B(LdaConstant), U8(0), | 110 B(LdaConstant), U8(0), |
| 111 B(Star), R(1), | 111 B(Star), R(1), |
| 112 B(LdaZero), | 112 B(LdaZero), |
| 113 B(Star), R(2), | 113 B(Star), R(2), |
| 114 B(Mov), R(closure), R(3), | 114 B(Mov), R(closure), R(3), |
| 115 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), | 115 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), |
| 116 /* 0 E> */ B(StackCheck), | 116 /* 0 E> */ B(StackCheck), |
| 117 /* 16 S> */ B(LdrUndefined), R(2), | 117 /* 16 S> */ B(LdrUndefined), R(2), |
| 118 B(LdrGlobal), U8(1), R(1), | 118 B(LdrGlobal), U8(2), R(1), |
| 119 /* 16 E> */ B(Call), R(1), R(2), U8(1), U8(3), | 119 /* 16 E> */ B(Call), R(1), R(2), U8(1), U8(4), |
| 120 B(Star), R(0), | 120 B(Star), R(0), |
| 121 /* 20 S> */ B(Return), | 121 /* 20 S> */ B(Return), |
| 122 ] | 122 ] |
| 123 constant pool: [ | 123 constant pool: [ |
| 124 FIXED_ARRAY_TYPE, | 124 FIXED_ARRAY_TYPE, |
| 125 ] | 125 ] |
| 126 handlers: [ | 126 handlers: [ |
| 127 ] | 127 ] |
| 128 | 128 |
| OLD | NEW |