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: string | 6 pool type: string |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 30 matching lines...) Expand all Loading... |
41 ] | 41 ] |
42 handlers: [ | 42 handlers: [ |
43 ] | 43 ] |
44 | 44 |
45 --- | 45 --- |
46 snippet: " | 46 snippet: " |
47 var a = 1; if (a) { throw 'Error'; }; | 47 var a = 1; if (a) { throw 'Error'; }; |
48 " | 48 " |
49 frame size: 1 | 49 frame size: 1 |
50 parameter count: 1 | 50 parameter count: 1 |
51 bytecode array length: 12 | 51 bytecode array length: 13 |
52 bytecodes: [ | 52 bytecodes: [ |
53 B(StackCheck), | 53 B(StackCheck), |
54 B(LdaSmi), U8(1), | 54 B(LdaSmi), U8(1), |
55 B(Star), R(0), | 55 B(Star), R(0), |
| 56 B(Nop), |
56 B(JumpIfToBooleanFalse), U8(5), | 57 B(JumpIfToBooleanFalse), U8(5), |
57 B(LdaConstant), U8(0), | 58 B(LdaConstant), U8(0), |
58 B(Throw), | 59 B(Throw), |
59 B(LdaUndefined), | 60 B(LdaUndefined), |
60 B(Return), | 61 B(Return), |
61 ] | 62 ] |
62 constant pool: [ | 63 constant pool: [ |
63 "Error", | 64 "Error", |
64 ] | 65 ] |
65 handlers: [ | 66 handlers: [ |
66 ] | 67 ] |
67 | 68 |
OLD | NEW |