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 return 1 ? 2 : 3; | 10 return 1 ? 2 : 3; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 constant pool: [ | 61 constant pool: [ |
62 ] | 62 ] |
63 handlers: [ | 63 handlers: [ |
64 ] | 64 ] |
65 | 65 |
66 --- | 66 --- |
67 snippet: " | 67 snippet: " |
68 var x = 0; | 68 var x = 0; |
69 return x ? 2 : 3; | 69 return x ? 2 : 3; |
70 " | 70 " |
71 frame size: 1 | 71 frame size: 2 |
72 parameter count: 1 | 72 parameter count: 1 |
73 bytecode array length: 13 | 73 bytecode array length: 17 |
74 bytecodes: [ | 74 bytecodes: [ |
75 /* 30 E> */ B(StackCheck), | 75 /* 30 E> */ B(StackCheck), |
76 /* 42 S> */ B(LdaZero), | 76 /* 42 S> */ B(LdaConstant), U8(0), |
| 77 B(Star), R(1), |
| 78 B(LdaZero), |
77 B(Star), R(0), | 79 B(Star), R(0), |
78 /* 45 S> */ B(JumpIfToBooleanFalse), U8(6), | 80 /* 45 S> */ B(JumpIfToBooleanFalse), U8(6), |
79 B(LdaSmi), I8(2), | 81 B(LdaSmi), I8(2), |
80 B(Jump), U8(4), | 82 B(Jump), U8(4), |
81 B(LdaSmi), I8(3), | 83 B(LdaSmi), I8(3), |
82 /* 63 S> */ B(Return), | 84 /* 63 S> */ B(Return), |
83 ] | 85 ] |
84 constant pool: [ | 86 constant pool: [ |
| 87 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
85 ] | 88 ] |
86 handlers: [ | 89 handlers: [ |
87 ] | 90 ] |
88 | 91 |
OLD | NEW |