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

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

Issue 2637073002: [ic] Decode offset from the handler word later in store IC dispatcher. (Closed)
Patch Set: Created 3 years, 11 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 | « src/ic/accessor-assembler.cc ('k') | no next file » | 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_IMPL_H_ 5 #ifndef V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_
6 #define V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_ 6 #define V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // Low-level helpers. 161 // Low-level helpers.
162 162
163 Node* PrepareValueForStore(Node* handler_word, Node* holder, 163 Node* PrepareValueForStore(Node* handler_word, Node* holder,
164 Representation representation, Node* transition, 164 Representation representation, Node* transition,
165 Node* value, Label* bailout); 165 Node* value, Label* bailout);
166 166
167 // Extends properties backing store by JSObject::kFieldsAdded elements. 167 // Extends properties backing store by JSObject::kFieldsAdded elements.
168 void ExtendPropertiesBackingStore(Node* object); 168 void ExtendPropertiesBackingStore(Node* object);
169 169
170 void StoreNamedField(Node* object, Node* offset, bool is_inobject, 170 void StoreNamedField(Node* handler_word, Node* object, bool is_inobject,
171 Representation representation, Node* value, 171 Representation representation, Node* value,
172 bool transition_to_field); 172 bool transition_to_field);
173 173
174 void EmitFastElementsBoundsCheck(Node* object, Node* elements, 174 void EmitFastElementsBoundsCheck(Node* object, Node* elements,
175 Node* intptr_index, 175 Node* intptr_index,
176 Node* is_jsarray_condition, Label* miss); 176 Node* is_jsarray_condition, Label* miss);
177 void EmitElementLoad(Node* object, Node* elements, Node* elements_kind, 177 void EmitElementLoad(Node* object, Node* elements, Node* elements_kind,
178 Node* key, Node* is_jsarray_condition, Label* if_hole, 178 Node* key, Node* is_jsarray_condition, Label* if_hole,
179 Label* rebox_double, Variable* var_double_value, 179 Label* rebox_double, Variable* var_double_value,
180 Label* unimplemented_elements_kind, Label* out_of_bounds, 180 Label* unimplemented_elements_kind, Label* out_of_bounds,
(...skipping 13 matching lines...) Expand all
194 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, 194 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id,
195 Node* entry_offset, Node* name, Node* map, 195 Node* entry_offset, Node* name, Node* map,
196 Label* if_handler, Variable* var_handler, 196 Label* if_handler, Variable* var_handler,
197 Label* if_miss); 197 Label* if_miss);
198 }; 198 };
199 199
200 } // namespace internal 200 } // namespace internal
201 } // namespace v8 201 } // namespace v8
202 202
203 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_ 203 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_
OLDNEW
« no previous file with comments | « src/ic/accessor-assembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698