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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 163 |
164 Node* PrepareValueForStore(Node* handler_word, Node* holder, | 164 Node* PrepareValueForStore(Node* handler_word, Node* holder, |
165 Representation representation, Node* transition, | 165 Representation representation, Node* transition, |
166 Node* value, Label* bailout); | 166 Node* value, Label* bailout); |
167 | 167 |
168 // Extends properties backing store by JSObject::kFieldsAdded elements. | 168 // Extends properties backing store by JSObject::kFieldsAdded elements. |
169 void ExtendPropertiesBackingStore(Node* object); | 169 void ExtendPropertiesBackingStore(Node* object); |
170 | 170 |
171 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject, | 171 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject, |
172 Representation representation, Node* value, | 172 Representation representation, Node* value, |
173 bool transition_to_field); | 173 bool transition_to_field, Label* bailout); |
174 | 174 |
175 void EmitFastElementsBoundsCheck(Node* object, Node* elements, | 175 void EmitFastElementsBoundsCheck(Node* object, Node* elements, |
176 Node* intptr_index, | 176 Node* intptr_index, |
177 Node* is_jsarray_condition, Label* miss); | 177 Node* is_jsarray_condition, Label* miss); |
178 void EmitElementLoad(Node* object, Node* elements, Node* elements_kind, | 178 void EmitElementLoad(Node* object, Node* elements, Node* elements_kind, |
179 Node* key, Node* is_jsarray_condition, Label* if_hole, | 179 Node* key, Node* is_jsarray_condition, Label* if_hole, |
180 Label* rebox_double, Variable* var_double_value, | 180 Label* rebox_double, Variable* var_double_value, |
181 Label* unimplemented_elements_kind, Label* out_of_bounds, | 181 Label* unimplemented_elements_kind, Label* out_of_bounds, |
182 Label* miss); | 182 Label* miss); |
183 void CheckPrototype(Node* prototype_cell, Node* name, Label* miss); | 183 void CheckPrototype(Node* prototype_cell, Node* name, Label* miss); |
(...skipping 11 matching lines...) Expand all Loading... |
195 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, | 195 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, |
196 Node* entry_offset, Node* name, Node* map, | 196 Node* entry_offset, Node* name, Node* map, |
197 Label* if_handler, Variable* var_handler, | 197 Label* if_handler, Variable* var_handler, |
198 Label* if_miss); | 198 Label* if_miss); |
199 }; | 199 }; |
200 | 200 |
201 } // namespace internal | 201 } // namespace internal |
202 } // namespace v8 | 202 } // namespace v8 |
203 | 203 |
204 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ | 204 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ |
OLD | NEW |