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 | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 var a = 1; a += 2; | 11 var a = 1; a += 2; |
13 " | 12 " |
14 frame size: 2 | 13 frame size: 2 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 16 | 15 bytecode array length: 16 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 63 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
65 B(Mov), R(1), R(0), | 64 B(Mov), R(1), R(0), |
66 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(1), R(2), | 65 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(1), R(2), |
67 B(LdaSmi), U8(2), | 66 B(LdaSmi), U8(2), |
68 B(Mul), R(2), U8(3), | 67 B(Mul), R(2), U8(3), |
69 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(4), | 68 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(4), |
70 B(LdaUndefined), | 69 B(LdaUndefined), |
71 /* 67 S> */ B(Return), | 70 /* 67 S> */ B(Return), |
72 ] | 71 ] |
73 constant pool: [ | 72 constant pool: [ |
74 InstanceType::FIXED_ARRAY_TYPE, | 73 FIXED_ARRAY_TYPE, |
75 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"], |
76 ] | 75 ] |
77 handlers: [ | 76 handlers: [ |
78 ] | 77 ] |
79 | 78 |
80 --- | 79 --- |
81 snippet: " | 80 snippet: " |
82 var a = { 1: 2 }; a[1] ^= 2; | 81 var a = { 1: 2 }; a[1] ^= 2; |
83 " | 82 " |
84 frame size: 4 | 83 frame size: 4 |
85 parameter count: 1 | 84 parameter count: 1 |
86 bytecode array length: 28 | 85 bytecode array length: 28 |
87 bytecodes: [ | 86 bytecodes: [ |
88 /* 30 E> */ B(StackCheck), | 87 /* 30 E> */ B(StackCheck), |
89 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 88 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
90 B(Mov), R(1), R(0), | 89 B(Mov), R(1), R(0), |
91 /* 52 S> */ B(LdaSmi), U8(1), | 90 /* 52 S> */ B(LdaSmi), U8(1), |
92 B(Star), R(2), | 91 B(Star), R(2), |
93 B(LdrKeyedProperty), R(0), U8(1), R(3), | 92 B(LdrKeyedProperty), R(0), U8(1), R(3), |
94 B(LdaSmi), U8(2), | 93 B(LdaSmi), U8(2), |
95 B(BitwiseXor), R(3), U8(3), | 94 B(BitwiseXor), R(3), U8(3), |
96 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(4), | 95 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(4), |
97 B(LdaUndefined), | 96 B(LdaUndefined), |
98 /* 63 S> */ B(Return), | 97 /* 63 S> */ B(Return), |
99 ] | 98 ] |
100 constant pool: [ | 99 constant pool: [ |
101 InstanceType::FIXED_ARRAY_TYPE, | 100 FIXED_ARRAY_TYPE, |
102 ] | 101 ] |
103 handlers: [ | 102 handlers: [ |
104 ] | 103 ] |
105 | 104 |
106 --- | 105 --- |
107 snippet: " | 106 snippet: " |
108 var a = 1; (function f() { return a; }); a |= 24; | 107 var a = 1; (function f() { return a; }); a |= 24; |
109 " | 108 " |
110 frame size: 2 | 109 frame size: 2 |
111 parameter count: 1 | 110 parameter count: 1 |
112 bytecode array length: 26 | 111 bytecode array length: 26 |
113 bytecodes: [ | 112 bytecodes: [ |
114 B(CreateFunctionContext), U8(1), | 113 B(CreateFunctionContext), U8(1), |
115 B(PushContext), R(0), | 114 B(PushContext), R(0), |
116 /* 30 E> */ B(StackCheck), | 115 /* 30 E> */ B(StackCheck), |
117 /* 42 S> */ B(LdaSmi), U8(1), | 116 /* 42 S> */ B(LdaSmi), U8(1), |
118 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 117 /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
119 /* 45 S> */ B(CreateClosure), U8(0), U8(2), | 118 /* 45 S> */ B(CreateClosure), U8(0), U8(2), |
120 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1), | 119 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1), |
121 B(BitwiseOrSmi), U8(24), R(1), U8(1), | 120 B(BitwiseOrSmi), U8(24), R(1), U8(1), |
122 /* 77 E> */ B(StaContextSlot), R(context), U8(4), | 121 /* 77 E> */ B(StaContextSlot), R(context), U8(4), |
123 B(LdaUndefined), | 122 B(LdaUndefined), |
124 /* 84 S> */ B(Return), | 123 /* 84 S> */ B(Return), |
125 ] | 124 ] |
126 constant pool: [ | 125 constant pool: [ |
127 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 126 SHARED_FUNCTION_INFO_TYPE, |
128 ] | 127 ] |
129 handlers: [ | 128 handlers: [ |
130 ] | 129 ] |
131 | 130 |
OLD | NEW |