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; |
(...skipping 26 matching lines...) Expand all Loading... |
37 constant pool: [ | 37 constant pool: [ |
38 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"], | 38 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"], |
39 ] | 39 ] |
40 handlers: [ | 40 handlers: [ |
41 ] | 41 ] |
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: 2 |
48 parameter count: 1 | 48 parameter count: 1 |
49 bytecode array length: 12 | 49 bytecode array length: 16 |
50 bytecodes: [ | 50 bytecodes: [ |
51 /* 30 E> */ B(StackCheck), | 51 /* 30 E> */ B(StackCheck), |
52 /* 42 S> */ B(LdaSmi), I8(1), | 52 /* 42 S> */ B(LdaConstant), U8(0), |
| 53 B(Star), R(1), |
| 54 B(LdaSmi), I8(1), |
53 B(Star), R(0), | 55 B(Star), R(0), |
54 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), | 56 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), |
55 /* 54 S> */ B(LdaConstant), U8(0), | 57 /* 54 S> */ B(LdaConstant), U8(1), |
56 /* 54 E> */ B(Throw), | 58 /* 54 E> */ B(Throw), |
57 B(LdaUndefined), | 59 B(LdaUndefined), |
58 /* 72 S> */ B(Return), | 60 /* 72 S> */ B(Return), |
59 ] | 61 ] |
60 constant pool: [ | 62 constant pool: [ |
| 63 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
61 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"], | 64 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"], |
62 ] | 65 ] |
63 handlers: [ | 66 handlers: [ |
64 ] | 67 ] |
65 | 68 |
OLD | NEW |