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 throw 1; | 10 throw 1; |
11 " | 11 " |
12 frame size: 0 | 12 frame size: 0 |
13 parameter count: 1 | 13 parameter count: 1 |
14 bytecode array length: 4 | 14 bytecode array length: 4 |
15 bytecodes: [ | 15 bytecodes: [ |
16 /* 30 E> */ B(StackCheck), | 16 /* 30 E> */ B(StackCheck), |
17 /* 34 S> */ B(LdaSmi), U8(1), | 17 /* 34 S> */ B(LdaSmi), I8(1), |
18 /* 34 E> */ B(Throw), | 18 /* 34 E> */ B(Throw), |
19 ] | 19 ] |
20 constant pool: [ | 20 constant pool: [ |
21 ] | 21 ] |
22 handlers: [ | 22 handlers: [ |
23 ] | 23 ] |
24 | 24 |
25 --- | 25 --- |
26 snippet: " | 26 snippet: " |
27 throw 'Error'; | 27 throw 'Error'; |
(...skipping 14 matching lines...) Expand all Loading... |
42 | 42 |
43 --- | 43 --- |
44 snippet: " | 44 snippet: " |
45 var a = 1; if (a) { throw 'Error'; }; | 45 var a = 1; if (a) { throw 'Error'; }; |
46 " | 46 " |
47 frame size: 1 | 47 frame size: 1 |
48 parameter count: 1 | 48 parameter count: 1 |
49 bytecode array length: 12 | 49 bytecode array length: 12 |
50 bytecodes: [ | 50 bytecodes: [ |
51 /* 30 E> */ B(StackCheck), | 51 /* 30 E> */ B(StackCheck), |
52 /* 42 S> */ B(LdaSmi), U8(1), | 52 /* 42 S> */ B(LdaSmi), I8(1), |
53 B(Star), R(0), | 53 B(Star), R(0), |
54 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), | 54 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), |
55 /* 54 S> */ B(LdaConstant), U8(0), | 55 /* 54 S> */ B(LdaConstant), U8(0), |
56 /* 54 E> */ B(Throw), | 56 /* 54 E> */ B(Throw), |
57 B(LdaUndefined), | 57 B(LdaUndefined), |
58 /* 72 S> */ B(Return), | 58 /* 72 S> */ B(Return), |
59 ] | 59 ] |
60 constant pool: [ | 60 constant pool: [ |
61 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"], | 61 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"], |
62 ] | 62 ] |
63 handlers: [ | 63 handlers: [ |
64 ] | 64 ] |
65 | 65 |
OLD | NEW |