| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: yes | 6 wrap: yes |
| 7 | 7 |
| 8 --- | 8 --- |
| 9 snippet: " | 9 snippet: " |
| 10 const x = 10; | 10 const x = 10; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 ] | 44 ] |
| 45 constant pool: [ | 45 constant pool: [ |
| 46 ] | 46 ] |
| 47 handlers: [ | 47 handlers: [ |
| 48 ] | 48 ] |
| 49 | 49 |
| 50 --- | 50 --- |
| 51 snippet: " | 51 snippet: " |
| 52 const x = ( x = 20); | 52 const x = ( x = 20); |
| 53 " | 53 " |
| 54 frame size: 3 | 54 frame size: 5 |
| 55 parameter count: 1 | 55 parameter count: 1 |
| 56 bytecode array length: 30 | 56 bytecode array length: 30 |
| 57 bytecodes: [ | 57 bytecodes: [ |
| 58 B(LdaTheHole), | 58 B(LdaTheHole), |
| 59 B(Star), R(0), | 59 B(Star), R(0), |
| 60 /* 30 E> */ B(StackCheck), | 60 /* 30 E> */ B(StackCheck), |
| 61 /* 48 S> */ B(LdaSmi), I8(20), | 61 /* 48 S> */ B(LdaSmi), I8(20), |
| 62 B(Star), R(1), | 62 B(Star), R(3), |
| 63 B(Ldar), R(0), | 63 B(Ldar), R(0), |
| 64 B(JumpIfNotHole), U8(11), | 64 B(JumpIfNotHole), U8(11), |
| 65 B(LdaConstant), U8(0), | 65 B(LdaConstant), U8(0), |
| 66 B(Star), R(2), | 66 B(Star), R(4), |
| 67 /* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 67 /* 48 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
| 68 B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 68 B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
| 69 B(Star), R(0), | 69 B(Star), R(0), |
| 70 B(LdaUndefined), | 70 B(LdaUndefined), |
| 71 /* 55 S> */ B(Return), | 71 /* 55 S> */ B(Return), |
| 72 ] | 72 ] |
| 73 constant pool: [ | 73 constant pool: [ |
| 74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 75 ] | 75 ] |
| 76 handlers: [ | 76 handlers: [ |
| 77 ] | 77 ] |
| (...skipping 14 matching lines...) Expand all Loading... |
| 92 /* 48 S> */ B(LdaSmi), I8(20), | 92 /* 48 S> */ B(LdaSmi), I8(20), |
| 93 /* 50 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 93 /* 50 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
| 94 B(LdaUndefined), | 94 B(LdaUndefined), |
| 95 /* 56 S> */ B(Return), | 95 /* 56 S> */ B(Return), |
| 96 ] | 96 ] |
| 97 constant pool: [ | 97 constant pool: [ |
| 98 ] | 98 ] |
| 99 handlers: [ | 99 handlers: [ |
| 100 ] | 100 ] |
| 101 | 101 |
| OLD | NEW |