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: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
11 snippet: " | 11 snippet: " |
12 var a = 1; a += 2; | 12 var a = 1; a += 2; |
13 " | 13 " |
14 frame size: 2 | 14 frame size: 2 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 16 | 16 bytecode array length: 16 |
17 bytecodes: [ | 17 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
19 /* 42 S> */ B(LdaSmi), U8(1), | 19 /* 42 S> */ B(LdaSmi), U8(1), |
20 B(Star), R(0), | 20 B(Star), R(0), |
21 /* 45 S> */ B(LdaSmi), U8(2), | 21 /* 45 S> */ B(LdaSmi), U8(2), |
22 B(Add), R(0), | 22 B(Add), R(0), |
23 B(Mov), R(0), R(1), | 23 B(Mov), R(0), R(1), |
24 /* 47 E> */ B(Star), R(0), | 24 B(Star), R(0), |
25 B(LdaUndefined), | 25 B(LdaUndefined), |
26 /* 53 S> */ B(Return), | 26 /* 53 S> */ B(Return), |
27 ] | 27 ] |
28 constant pool: [ | 28 constant pool: [ |
29 ] | 29 ] |
30 handlers: [ | 30 handlers: [ |
31 ] | 31 ] |
32 | 32 |
33 --- | 33 --- |
34 snippet: " | 34 snippet: " |
35 var a = 1; a /= 2; | 35 var a = 1; a /= 2; |
36 " | 36 " |
37 frame size: 2 | 37 frame size: 2 |
38 parameter count: 1 | 38 parameter count: 1 |
39 bytecode array length: 16 | 39 bytecode array length: 16 |
40 bytecodes: [ | 40 bytecodes: [ |
41 /* 30 E> */ B(StackCheck), | 41 /* 30 E> */ B(StackCheck), |
42 /* 42 S> */ B(LdaSmi), U8(1), | 42 /* 42 S> */ B(LdaSmi), U8(1), |
43 B(Star), R(0), | 43 B(Star), R(0), |
44 /* 45 S> */ B(LdaSmi), U8(2), | 44 /* 45 S> */ B(LdaSmi), U8(2), |
45 B(Div), R(0), | 45 B(Div), R(0), |
46 B(Mov), R(0), R(1), | 46 B(Mov), R(0), R(1), |
47 /* 47 E> */ B(Star), R(0), | 47 B(Star), R(0), |
48 B(LdaUndefined), | 48 B(LdaUndefined), |
49 /* 53 S> */ B(Return), | 49 /* 53 S> */ B(Return), |
50 ] | 50 ] |
51 constant pool: [ | 51 constant pool: [ |
52 ] | 52 ] |
53 handlers: [ | 53 handlers: [ |
54 ] | 54 ] |
55 | 55 |
56 --- | 56 --- |
57 snippet: " | 57 snippet: " |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 /* 77 E> */ B(StaContextSlot), R(context), U8(4), | 126 /* 77 E> */ B(StaContextSlot), R(context), U8(4), |
127 B(LdaUndefined), | 127 B(LdaUndefined), |
128 /* 84 S> */ B(Return), | 128 /* 84 S> */ B(Return), |
129 ] | 129 ] |
130 constant pool: [ | 130 constant pool: [ |
131 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 131 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
132 ] | 132 ] |
133 handlers: [ | 133 handlers: [ |
134 ] | 134 ] |
135 | 135 |
OLD | NEW |