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 --- |
11 snippet: " | 11 snippet: " |
12 throw 1; | 12 throw 1; |
13 " | 13 " |
14 frame size: 0 | 14 frame size: 0 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 4 | 16 bytecode array length: 4 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
19 B(LdaSmi), U8(1), | 19 /* 34 S> */ B(LdaSmi), U8(1), |
20 B(Throw), | 20 /* 34 E> */ B(Throw), |
21 ] | 21 ] |
22 constant pool: [ | 22 constant pool: [ |
23 ] | 23 ] |
24 handlers: [ | 24 handlers: [ |
25 ] | 25 ] |
26 | 26 |
27 --- | 27 --- |
28 snippet: " | 28 snippet: " |
29 throw 'Error'; | 29 throw 'Error'; |
30 " | 30 " |
31 frame size: 0 | 31 frame size: 0 |
32 parameter count: 1 | 32 parameter count: 1 |
33 bytecode array length: 4 | 33 bytecode array length: 4 |
34 bytecodes: [ | 34 bytecodes: [ |
35 B(StackCheck), | 35 /* 30 E> */ B(StackCheck), |
36 B(LdaConstant), U8(0), | 36 /* 34 S> */ B(LdaConstant), U8(0), |
37 B(Throw), | 37 /* 34 E> */ B(Throw), |
38 ] | 38 ] |
39 constant pool: [ | 39 constant pool: [ |
40 "Error", | 40 "Error", |
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: 12 |
52 bytecodes: [ | 52 bytecodes: [ |
53 B(StackCheck), | 53 /* 30 E> */ B(StackCheck), |
54 B(LdaSmi), U8(1), | 54 /* 42 S> */ B(LdaSmi), U8(1), |
55 B(Star), R(0), | 55 /* 42 E> */ B(Star), R(0), |
56 B(JumpIfToBooleanFalse), U8(5), | 56 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), |
57 B(LdaConstant), U8(0), | 57 /* 54 S> */ B(LdaConstant), U8(0), |
58 B(Throw), | 58 /* 54 E> */ B(Throw), |
59 B(LdaUndefined), | 59 B(LdaUndefined), |
60 B(Return), | 60 /* 72 S> */ B(Return), |
61 ] | 61 ] |
62 constant pool: [ | 62 constant pool: [ |
63 "Error", | 63 "Error", |
64 ] | 64 ] |
65 handlers: [ | 65 handlers: [ |
66 ] | 66 ] |
67 | 67 |
OLD | NEW |