Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: src/ic/accessor-assembler.h

Issue 2654893003: [stubs] KeyedLoadGeneric: support loading properties from strings (Closed)
Patch Set: fix typo in CSA_ASSERT Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/ic/accessor-assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/ic/accessor-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698