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

Side by Side Diff: src/code-stub-assembler.h

Issue 2449463002: [ic] Load IC data handlers now support prototype chain checks with global and dictionary objects. (Closed)
Patch Set: Addressing comments and fixing the handlers in new space issue Created 4 years, 1 month 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/code-stub-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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 1100
1101 void HandleLoadICHandlerCase( 1101 void HandleLoadICHandlerCase(
1102 const LoadICParameters* p, compiler::Node* handler, Label* miss, 1102 const LoadICParameters* p, compiler::Node* handler, Label* miss,
1103 ElementSupport support_elements = kOnlyProperties); 1103 ElementSupport support_elements = kOnlyProperties);
1104 1104
1105 void HandleLoadICProtoHandler(const LoadICParameters* p, 1105 void HandleLoadICProtoHandler(const LoadICParameters* p,
1106 compiler::Node* handler, Variable* var_holder, 1106 compiler::Node* handler, Variable* var_holder,
1107 Variable* var_smi_handler, 1107 Variable* var_smi_handler,
1108 Label* if_smi_handler, Label* miss); 1108 Label* if_smi_handler, Label* miss);
1109 1109
1110 void CheckPrototype(compiler::Node* prototype_cell, compiler::Node* name,
1111 Label* miss);
1112
1110 void NameDictionaryNegativeLookup(compiler::Node* object, 1113 void NameDictionaryNegativeLookup(compiler::Node* object,
1111 compiler::Node* name, Label* miss); 1114 compiler::Node* name, Label* miss);
1112 1115
1113 void HandleStoreFieldAndReturn(compiler::Node* handler_word, 1116 void HandleStoreFieldAndReturn(compiler::Node* handler_word,
1114 compiler::Node* holder, 1117 compiler::Node* holder,
1115 Representation representation, 1118 Representation representation,
1116 compiler::Node* value, 1119 compiler::Node* value,
1117 bool transition_to_field, Label* miss); 1120 bool transition_to_field, Label* miss);
1118 1121
1119 void HandleStoreICSmiHandlerCase(compiler::Node* handler_word, 1122 void HandleStoreICSmiHandlerCase(compiler::Node* handler_word,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 static const int kElementLoopUnrollThreshold = 8; 1175 static const int kElementLoopUnrollThreshold = 8;
1173 }; 1176 };
1174 1177
1175 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) 1178 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__)
1176 1179
1177 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1180 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1178 1181
1179 } // namespace internal 1182 } // namespace internal
1180 } // namespace v8 1183 } // namespace v8
1181 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1184 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698