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_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 Loading... |
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 Loading... |
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_ |
OLD | NEW |