OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ | 5 #ifndef V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ |
6 #define V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ | 6 #define V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ |
7 | 7 |
8 #include "src/code-stub-assembler.h" | 8 #include "src/code-stub-assembler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 Node* PrepareValueForStore(Node* handler_word, Node* holder, | 155 Node* PrepareValueForStore(Node* handler_word, Node* holder, |
156 Representation representation, Node* transition, | 156 Representation representation, Node* transition, |
157 Node* value, Label* bailout); | 157 Node* value, Label* bailout); |
158 | 158 |
159 // Extends properties backing store by JSObject::kFieldsAdded elements. | 159 // Extends properties backing store by JSObject::kFieldsAdded elements. |
160 void ExtendPropertiesBackingStore(Node* object); | 160 void ExtendPropertiesBackingStore(Node* object); |
161 | 161 |
162 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject, | 162 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject, |
163 Representation representation, Node* value, | 163 Representation representation, Node* value, |
164 bool transition_to_field); | 164 bool transition_to_field, Label* bailout); |
165 | 165 |
166 void EmitFastElementsBoundsCheck(Node* object, Node* elements, | 166 void EmitFastElementsBoundsCheck(Node* object, Node* elements, |
167 Node* intptr_index, | 167 Node* intptr_index, |
168 Node* is_jsarray_condition, Label* miss); | 168 Node* is_jsarray_condition, Label* miss); |
169 void EmitElementLoad(Node* object, Node* elements, Node* elements_kind, | 169 void EmitElementLoad(Node* object, Node* elements, Node* elements_kind, |
170 Node* key, Node* is_jsarray_condition, Label* if_hole, | 170 Node* key, Node* is_jsarray_condition, Label* if_hole, |
171 Label* rebox_double, Variable* var_double_value, | 171 Label* rebox_double, Variable* var_double_value, |
172 Label* unimplemented_elements_kind, Label* out_of_bounds, | 172 Label* unimplemented_elements_kind, Label* out_of_bounds, |
173 Label* miss); | 173 Label* miss); |
174 void CheckPrototype(Node* prototype_cell, Node* name, Label* miss); | 174 void CheckPrototype(Node* prototype_cell, Node* name, Label* miss); |
(...skipping 11 matching lines...) Expand all Loading... |
186 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, | 186 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, |
187 Node* entry_offset, Node* name, Node* map, | 187 Node* entry_offset, Node* name, Node* map, |
188 Label* if_handler, Variable* var_handler, | 188 Label* if_handler, Variable* var_handler, |
189 Label* if_miss); | 189 Label* if_miss); |
190 }; | 190 }; |
191 | 191 |
192 } // namespace internal | 192 } // namespace internal |
193 } // namespace v8 | 193 } // namespace v8 |
194 | 194 |
195 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ | 195 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ |
OLD | NEW |