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

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

Issue 2446983002: [ic] Support negative lookup on receiver in data handlers. (Closed)
Patch Set: Addressing comments 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 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 compiler::Node* CallGetterIfAccessor(compiler::Node* value, 1090 compiler::Node* CallGetterIfAccessor(compiler::Node* value,
1091 compiler::Node* details, 1091 compiler::Node* details,
1092 compiler::Node* context, 1092 compiler::Node* context,
1093 compiler::Node* receiver, 1093 compiler::Node* receiver,
1094 Label* if_bailout); 1094 Label* if_bailout);
1095 1095
1096 void HandleLoadICHandlerCase( 1096 void HandleLoadICHandlerCase(
1097 const LoadICParameters* p, compiler::Node* handler, Label* miss, 1097 const LoadICParameters* p, compiler::Node* handler, Label* miss,
1098 ElementSupport support_elements = kOnlyProperties); 1098 ElementSupport support_elements = kOnlyProperties);
1099 1099
1100 void HandleLoadICProtoHandler(const LoadICParameters* p,
1101 compiler::Node* handler, Variable* var_holder,
1102 Variable* var_smi_handler,
1103 Label* if_smi_handler, Label* miss);
1104
1105 void NameDictionaryNegativeLookup(compiler::Node* object,
1106 compiler::Node* name, Label* miss);
1107
1100 void HandleStoreFieldAndReturn(compiler::Node* handler_word, 1108 void HandleStoreFieldAndReturn(compiler::Node* handler_word,
1101 compiler::Node* holder, 1109 compiler::Node* holder,
1102 Representation representation, 1110 Representation representation,
1103 compiler::Node* value, 1111 compiler::Node* value,
1104 bool transition_to_field, Label* miss); 1112 bool transition_to_field, Label* miss);
1105 1113
1106 void HandleStoreICSmiHandlerCase(compiler::Node* handler_word, 1114 void HandleStoreICSmiHandlerCase(compiler::Node* handler_word,
1107 compiler::Node* holder, 1115 compiler::Node* holder,
1108 compiler::Node* value, 1116 compiler::Node* value,
1109 bool transition_to_field, Label* miss); 1117 bool transition_to_field, Label* miss);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 static const int kElementLoopUnrollThreshold = 8; 1167 static const int kElementLoopUnrollThreshold = 8;
1160 }; 1168 };
1161 1169
1162 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) 1170 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__)
1163 1171
1164 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1172 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1165 1173
1166 } // namespace internal 1174 } // namespace internal
1167 } // namespace v8 1175 } // namespace v8
1168 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1176 #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