| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // If |transition| is nullptr then the normal field store is generated or | 143 // If |transition| is nullptr then the normal field store is generated or |
| 144 // transitioning store otherwise. | 144 // transitioning store otherwise. |
| 145 void HandleStoreICSmiHandlerCase(Node* handler_word, Node* holder, | 145 void HandleStoreICSmiHandlerCase(Node* handler_word, Node* holder, |
| 146 Node* value, Node* transition, Label* miss); | 146 Node* value, Node* transition, Label* miss); |
| 147 // If |transition| is nullptr then the normal field store is generated or | 147 // If |transition| is nullptr then the normal field store is generated or |
| 148 // transitioning store otherwise. | 148 // transitioning store otherwise. |
| 149 void HandleStoreFieldAndReturn(Node* handler_word, Node* holder, | 149 void HandleStoreFieldAndReturn(Node* handler_word, Node* holder, |
| 150 Representation representation, Node* value, | 150 Representation representation, Node* value, |
| 151 Node* transition, Label* miss); | 151 Node* transition, Label* miss); |
| 152 | 152 |
| 153 // KeyedLoadIC_Generic implementation. |
| 154 |
| 155 void GenericElementLoad(Node* receiver, Node* receiver_map, |
| 156 Node* instance_type, Node* index, Label* slow); |
| 157 |
| 158 void GenericPropertyLoad(Node* receiver, Node* receiver_map, |
| 159 Node* instance_type, Node* key, |
| 160 const LoadICParameters* p, Label* slow); |
| 161 |
| 153 // Low-level helpers. | 162 // Low-level helpers. |
| 154 | 163 |
| 155 Node* PrepareValueForStore(Node* handler_word, Node* holder, | 164 Node* PrepareValueForStore(Node* handler_word, Node* holder, |
| 156 Representation representation, Node* transition, | 165 Representation representation, Node* transition, |
| 157 Node* value, Label* bailout); | 166 Node* value, Label* bailout); |
| 158 | 167 |
| 159 // Extends properties backing store by JSObject::kFieldsAdded elements. | 168 // Extends properties backing store by JSObject::kFieldsAdded elements. |
| 160 void ExtendPropertiesBackingStore(Node* object); | 169 void ExtendPropertiesBackingStore(Node* object); |
| 161 | 170 |
| 162 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject, | 171 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 186 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, | 195 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, |
| 187 Node* entry_offset, Node* name, Node* map, | 196 Node* entry_offset, Node* name, Node* map, |
| 188 Label* if_handler, Variable* var_handler, | 197 Label* if_handler, Variable* var_handler, |
| 189 Label* if_miss); | 198 Label* if_miss); |
| 190 }; | 199 }; |
| 191 | 200 |
| 192 } // namespace internal | 201 } // namespace internal |
| 193 } // namespace v8 | 202 } // namespace v8 |
| 194 | 203 |
| 195 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ | 204 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ |
| OLD | NEW |