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 --- |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 --- | 55 --- |
56 snippet: " | 56 snippet: " |
57 var a = { val: 2 }; a.name *= 2; | 57 var a = { val: 2 }; a.name *= 2; |
58 " | 58 " |
59 frame size: 3 | 59 frame size: 3 |
60 parameter count: 1 | 60 parameter count: 1 |
61 bytecode array length: 24 | 61 bytecode array length: 24 |
62 bytecodes: [ | 62 bytecodes: [ |
63 /* 30 E> */ B(StackCheck), | 63 /* 30 E> */ B(StackCheck), |
64 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 64 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
65 B(Star), R(1), | 65 B(Mov), R(1), R(0), |
66 B(Star), R(0), | |
67 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(1), R(2), | 66 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(1), R(2), |
68 B(LdaSmi), U8(2), | 67 B(LdaSmi), U8(2), |
69 B(Mul), R(2), | 68 B(Mul), R(2), |
70 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3), | 69 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3), |
71 B(LdaUndefined), | 70 B(LdaUndefined), |
72 /* 67 S> */ B(Return), | 71 /* 67 S> */ B(Return), |
73 ] | 72 ] |
74 constant pool: [ | 73 constant pool: [ |
75 InstanceType::FIXED_ARRAY_TYPE, | 74 InstanceType::FIXED_ARRAY_TYPE, |
76 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 75 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
77 ] | 76 ] |
78 handlers: [ | 77 handlers: [ |
79 ] | 78 ] |
80 | 79 |
81 --- | 80 --- |
82 snippet: " | 81 snippet: " |
83 var a = { 1: 2 }; a[1] ^= 2; | 82 var a = { 1: 2 }; a[1] ^= 2; |
84 " | 83 " |
85 frame size: 4 | 84 frame size: 4 |
86 parameter count: 1 | 85 parameter count: 1 |
87 bytecode array length: 27 | 86 bytecode array length: 27 |
88 bytecodes: [ | 87 bytecodes: [ |
89 /* 30 E> */ B(StackCheck), | 88 /* 30 E> */ B(StackCheck), |
90 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 89 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
91 B(Star), R(1), | 90 B(Mov), R(1), R(0), |
92 B(Star), R(0), | |
93 /* 52 S> */ B(LdaSmi), U8(1), | 91 /* 52 S> */ B(LdaSmi), U8(1), |
94 B(Star), R(2), | 92 B(Star), R(2), |
95 B(LdrKeyedProperty), R(0), U8(1), R(3), | 93 B(LdrKeyedProperty), R(0), U8(1), R(3), |
96 B(LdaSmi), U8(2), | 94 B(LdaSmi), U8(2), |
97 B(BitwiseXor), R(3), | 95 B(BitwiseXor), R(3), |
98 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(3), | 96 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(3), |
99 B(LdaUndefined), | 97 B(LdaUndefined), |
100 /* 63 S> */ B(Return), | 98 /* 63 S> */ B(Return), |
101 ] | 99 ] |
102 constant pool: [ | 100 constant pool: [ |
(...skipping 21 matching lines...) Expand all Loading... |
124 /* 77 E> */ B(StaContextSlot), R(context), U8(4), | 122 /* 77 E> */ B(StaContextSlot), R(context), U8(4), |
125 B(LdaUndefined), | 123 B(LdaUndefined), |
126 /* 84 S> */ B(Return), | 124 /* 84 S> */ B(Return), |
127 ] | 125 ] |
128 constant pool: [ | 126 constant pool: [ |
129 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 127 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
130 ] | 128 ] |
131 handlers: [ | 129 handlers: [ |
132 ] | 130 ] |
133 | 131 |
OLD | NEW |