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_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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void LoadIC_Noninlined(const LoadICParameters* p, Node* receiver_map, | 105 void LoadIC_Noninlined(const LoadICParameters* p, Node* receiver_map, |
106 Node* feedback, Variable* var_handler, | 106 Node* feedback, Variable* var_handler, |
107 Label* if_handler, Label* miss, ExitPoint* exit_point); | 107 Label* if_handler, Label* miss, ExitPoint* exit_point); |
108 | 108 |
109 void LoadIC_Uninitialized(const LoadICParameters* p); | 109 void LoadIC_Uninitialized(const LoadICParameters* p); |
110 void LoadICProtoArray(const LoadICParameters* p, Node* handler, | 110 void LoadICProtoArray(const LoadICParameters* p, Node* handler, |
111 bool throw_reference_error_if_nonexistent); | 111 bool throw_reference_error_if_nonexistent); |
112 void LoadGlobalIC(const LoadICParameters* p, TypeofMode typeof_mode); | 112 void LoadGlobalIC(const LoadICParameters* p, TypeofMode typeof_mode); |
113 void KeyedLoadIC(const LoadICParameters* p); | 113 void KeyedLoadIC(const LoadICParameters* p); |
114 void KeyedLoadICGeneric(const LoadICParameters* p); | 114 void KeyedLoadICGeneric(const LoadICParameters* p); |
115 void StoreIC(const StoreICParameters* p); | 115 void StoreIC(const StoreICParameters* p, LanguageMode language_mode); |
116 void KeyedStoreIC(const StoreICParameters* p, LanguageMode language_mode); | 116 void KeyedStoreIC(const StoreICParameters* p, LanguageMode language_mode); |
117 | 117 |
118 // IC dispatcher behavior. | 118 // IC dispatcher behavior. |
119 | 119 |
120 // Checks monomorphic case. Returns {feedback} entry of the vector. | 120 // Checks monomorphic case. Returns {feedback} entry of the vector. |
121 Node* TryMonomorphicCase(Node* slot, Node* vector, Node* receiver_map, | 121 Node* TryMonomorphicCase(Node* slot, Node* vector, Node* receiver_map, |
122 Label* if_handler, Variable* var_handler, | 122 Label* if_handler, Variable* var_handler, |
123 Label* if_miss); | 123 Label* if_miss); |
124 void HandlePolymorphicCase(Node* receiver_map, Node* feedback, | 124 void HandlePolymorphicCase(Node* receiver_map, Node* feedback, |
125 Label* if_handler, Variable* var_handler, | 125 Label* if_handler, Variable* var_handler, |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 295 |
296 CodeAssemblerLabel* const out_; | 296 CodeAssemblerLabel* const out_; |
297 CodeAssemblerVariable* const var_result_; | 297 CodeAssemblerVariable* const var_result_; |
298 CodeStubAssembler* const asm_; | 298 CodeStubAssembler* const asm_; |
299 }; | 299 }; |
300 | 300 |
301 } // namespace internal | 301 } // namespace internal |
302 } // namespace v8 | 302 } // namespace v8 |
303 | 303 |
304 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ | 304 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_ |
OLD | NEW |