| 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 |
| 11 --- | 11 --- |
| 12 snippet: " | 12 snippet: " |
| 13 var a = 1; | 13 var a = 1; |
| 14 " | 14 " |
| 15 frame size: 4 | 15 frame size: 4 |
| 16 parameter count: 1 | 16 parameter count: 1 |
| 17 bytecode array length: 31 | 17 bytecode array length: 31 |
| 18 bytecodes: [ | 18 bytecodes: [ |
| 19 B(LdaConstant), U8(0), | 19 B(LdaConstant), U8(0), |
| 20 B(Star), R(1), | 20 B(Star), R(1), |
| 21 B(LdaZero), | 21 B(LdaZero), |
| 22 B(Star), R(2), | 22 B(Star), R(2), |
| 23 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), | 23 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), |
| 24 B(StackCheck), | 24 B(StackCheck), |
| 25 B(LdaConstant), U8(1), | 25 B(LdaConstant), U8(1), |
| 26 B(Star), R(1), | 26 B(Star), R(1), |
| 27 B(LdaZero), | 27 B(LdaZero), |
| 28 B(Star), R(2), | 28 B(Star), R(2), |
| 29 B(LdaSmi8), U8(1), | 29 B(LdaSmi), U8(1), |
| 30 B(Star), R(3), | 30 B(Star), R(3), |
| 31 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 31 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
| 32 B(LdaUndefined), | 32 B(LdaUndefined), |
| 33 B(Return), | 33 B(Return), |
| 34 ] | 34 ] |
| 35 constant pool: [ | 35 constant pool: [ |
| 36 InstanceType::FIXED_ARRAY_TYPE, | 36 InstanceType::FIXED_ARRAY_TYPE, |
| 37 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 37 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 38 ] | 38 ] |
| 39 handlers: [ | 39 handlers: [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 B(LdaConstant), U8(0), | 74 B(LdaConstant), U8(0), |
| 75 B(Star), R(1), | 75 B(Star), R(1), |
| 76 B(LdaZero), | 76 B(LdaZero), |
| 77 B(Star), R(2), | 77 B(Star), R(2), |
| 78 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), | 78 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), |
| 79 B(StackCheck), | 79 B(StackCheck), |
| 80 B(LdaConstant), U8(1), | 80 B(LdaConstant), U8(1), |
| 81 B(Star), R(1), | 81 B(Star), R(1), |
| 82 B(LdaZero), | 82 B(LdaZero), |
| 83 B(Star), R(2), | 83 B(Star), R(2), |
| 84 B(LdaSmi8), U8(1), | 84 B(LdaSmi), U8(1), |
| 85 B(Star), R(3), | 85 B(Star), R(3), |
| 86 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 86 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
| 87 B(LdaSmi8), U8(2), | 87 B(LdaSmi), U8(2), |
| 88 B(StaGlobalSloppy), U8(1), U8(3), | 88 B(StaGlobalSloppy), U8(1), U8(3), |
| 89 B(Star), R(0), | 89 B(Star), R(0), |
| 90 B(Return), | 90 B(Return), |
| 91 ] | 91 ] |
| 92 constant pool: [ | 92 constant pool: [ |
| 93 InstanceType::FIXED_ARRAY_TYPE, | 93 InstanceType::FIXED_ARRAY_TYPE, |
| 94 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 94 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 95 ] | 95 ] |
| 96 handlers: [ | 96 handlers: [ |
| 97 ] | 97 ] |
| (...skipping 21 matching lines...) Expand all Loading... |
| 119 B(Star), R(0), | 119 B(Star), R(0), |
| 120 B(Return), | 120 B(Return), |
| 121 ] | 121 ] |
| 122 constant pool: [ | 122 constant pool: [ |
| 123 InstanceType::FIXED_ARRAY_TYPE, | 123 InstanceType::FIXED_ARRAY_TYPE, |
| 124 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 124 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 125 ] | 125 ] |
| 126 handlers: [ | 126 handlers: [ |
| 127 ] | 127 ] |
| 128 | 128 |
| OLD | NEW |