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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 frame size: 2 | 52 frame size: 2 |
53 parameter count: 1 | 53 parameter count: 1 |
54 bytecode array length: 20 | 54 bytecode array length: 20 |
55 bytecodes: [ | 55 bytecodes: [ |
56 /* 30 E> */ B(StackCheck), | 56 /* 30 E> */ B(StackCheck), |
57 /* 42 S> */ B(LdaSmi), U8(1), | 57 /* 42 S> */ B(LdaSmi), U8(1), |
58 B(Star), R(0), | 58 B(Star), R(0), |
59 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 59 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
60 B(Star), R(1), | 60 B(Star), R(1), |
61 /* 75 E> */ B(Ldar), R(0), | 61 /* 75 E> */ B(Ldar), R(0), |
62 B(StoreICSloppy), R(1), U8(1), U8(1), | 62 B(StaNamedPropertySloppy), R(1), U8(1), U8(1), |
63 B(Ldar), R(1), | 63 B(Ldar), R(1), |
64 /* 80 S> */ B(Return), | 64 /* 80 S> */ B(Return), |
65 ] | 65 ] |
66 constant pool: [ | 66 constant pool: [ |
67 InstanceType::FIXED_ARRAY_TYPE, | 67 InstanceType::FIXED_ARRAY_TYPE, |
68 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 68 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
69 ] | 69 ] |
70 handlers: [ | 70 handlers: [ |
71 ] | 71 ] |
72 | 72 |
73 --- | 73 --- |
74 snippet: " | 74 snippet: " |
75 var a = 1; return { val: a, val: a + 1 }; | 75 var a = 1; return { val: a, val: a + 1 }; |
76 " | 76 " |
77 frame size: 3 | 77 frame size: 3 |
78 parameter count: 1 | 78 parameter count: 1 |
79 bytecode array length: 26 | 79 bytecode array length: 26 |
80 bytecodes: [ | 80 bytecodes: [ |
81 /* 30 E> */ B(StackCheck), | 81 /* 30 E> */ B(StackCheck), |
82 /* 42 S> */ B(LdaSmi), U8(1), | 82 /* 42 S> */ B(LdaSmi), U8(1), |
83 B(Star), R(0), | 83 B(Star), R(0), |
84 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 84 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
85 B(Star), R(1), | 85 B(Star), R(1), |
86 /* 59 E> */ B(Ldar), R(0), | 86 /* 59 E> */ B(Ldar), R(0), |
87 /* 67 E> */ B(Star), R(2), | 87 /* 67 E> */ B(Star), R(2), |
88 B(LdaSmi), U8(1), | 88 B(LdaSmi), U8(1), |
89 B(Add), R(2), | 89 B(Add), R(2), |
90 B(StoreICSloppy), R(1), U8(1), U8(1), | 90 B(StaNamedPropertySloppy), R(1), U8(1), U8(1), |
91 B(Ldar), R(1), | 91 B(Ldar), R(1), |
92 /* 76 S> */ B(Return), | 92 /* 76 S> */ B(Return), |
93 ] | 93 ] |
94 constant pool: [ | 94 constant pool: [ |
95 InstanceType::FIXED_ARRAY_TYPE, | 95 InstanceType::FIXED_ARRAY_TYPE, |
96 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 96 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
97 ] | 97 ] |
98 handlers: [ | 98 handlers: [ |
99 ] | 99 ] |
100 | 100 |
101 --- | 101 --- |
102 snippet: " | 102 snippet: " |
103 return { func: function() { } }; | 103 return { func: function() { } }; |
104 " | 104 " |
105 frame size: 1 | 105 frame size: 1 |
106 parameter count: 1 | 106 parameter count: 1 |
107 bytecode array length: 17 | 107 bytecode array length: 17 |
108 bytecodes: [ | 108 bytecodes: [ |
109 /* 30 E> */ B(StackCheck), | 109 /* 30 E> */ B(StackCheck), |
110 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 110 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
111 B(Star), R(0), | 111 B(Star), R(0), |
112 B(CreateClosure), U8(1), U8(0), | 112 B(CreateClosure), U8(1), U8(0), |
113 B(StoreICSloppy), R(0), U8(2), U8(1), | 113 B(StaNamedPropertySloppy), R(0), U8(2), U8(1), |
114 B(Ldar), R(0), | 114 B(Ldar), R(0), |
115 /* 67 S> */ B(Return), | 115 /* 67 S> */ B(Return), |
116 ] | 116 ] |
117 constant pool: [ | 117 constant pool: [ |
118 InstanceType::FIXED_ARRAY_TYPE, | 118 InstanceType::FIXED_ARRAY_TYPE, |
119 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 119 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
120 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 120 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
121 ] | 121 ] |
122 handlers: [ | 122 handlers: [ |
123 ] | 123 ] |
124 | 124 |
125 --- | 125 --- |
126 snippet: " | 126 snippet: " |
127 return { func(a) { return a; } }; | 127 return { func(a) { return a; } }; |
128 " | 128 " |
129 frame size: 1 | 129 frame size: 1 |
130 parameter count: 1 | 130 parameter count: 1 |
131 bytecode array length: 17 | 131 bytecode array length: 17 |
132 bytecodes: [ | 132 bytecodes: [ |
133 /* 30 E> */ B(StackCheck), | 133 /* 30 E> */ B(StackCheck), |
134 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 134 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
135 B(Star), R(0), | 135 B(Star), R(0), |
136 B(CreateClosure), U8(1), U8(0), | 136 B(CreateClosure), U8(1), U8(0), |
137 B(StoreICSloppy), R(0), U8(2), U8(1), | 137 B(StaNamedPropertySloppy), R(0), U8(2), U8(1), |
138 B(Ldar), R(0), | 138 B(Ldar), R(0), |
139 /* 68 S> */ B(Return), | 139 /* 68 S> */ B(Return), |
140 ] | 140 ] |
141 constant pool: [ | 141 constant pool: [ |
142 InstanceType::FIXED_ARRAY_TYPE, | 142 InstanceType::FIXED_ARRAY_TYPE, |
143 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 143 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
144 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 144 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
145 ] | 145 ] |
146 handlers: [ | 146 handlers: [ |
147 ] | 147 ] |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 frame size: 7 | 338 frame size: 7 |
339 parameter count: 1 | 339 parameter count: 1 |
340 bytecode array length: 43 | 340 bytecode array length: 43 |
341 bytecodes: [ | 341 bytecodes: [ |
342 /* 30 E> */ B(StackCheck), | 342 /* 30 E> */ B(StackCheck), |
343 /* 42 S> */ B(LdaConstant), U8(0), | 343 /* 42 S> */ B(LdaConstant), U8(0), |
344 B(Star), R(0), | 344 B(Star), R(0), |
345 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), | 345 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), |
346 B(Star), R(1), | 346 B(Star), R(1), |
347 /* 64 E> */ B(Ldar), R(0), | 347 /* 64 E> */ B(Ldar), R(0), |
348 B(StoreICSloppy), R(1), U8(2), U8(1), | 348 B(StaNamedPropertySloppy), R(1), U8(2), U8(1), |
349 B(Mov), R(1), R(2), | 349 B(Mov), R(1), R(2), |
350 /* 68 E> */ B(Ldar), R(0), | 350 /* 68 E> */ B(Ldar), R(0), |
351 B(ToName), | 351 B(ToName), |
352 B(Star), R(3), | 352 B(Star), R(3), |
353 B(LdaSmi), U8(1), | 353 B(LdaSmi), U8(1), |
354 B(Star), R(4), | 354 B(Star), R(4), |
355 B(LdaZero), | 355 B(LdaZero), |
356 B(Star), R(5), | 356 B(Star), R(5), |
357 B(LdaZero), | 357 B(LdaZero), |
358 B(Star), R(6), | 358 B(Star), R(6), |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 454 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
455 InstanceType::FIXED_ARRAY_TYPE, | 455 InstanceType::FIXED_ARRAY_TYPE, |
456 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 456 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
457 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 457 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
458 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 458 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
459 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 459 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
460 ] | 460 ] |
461 handlers: [ | 461 handlers: [ |
462 ] | 462 ] |
463 | 463 |
OLD | NEW |