| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, |
| 126 Label* if_miss, int unroll_count); | 126 Label* if_miss, int min_feedback_capacity); |
| 127 void HandleKeyedStorePolymorphicCase(Node* receiver_map, Node* feedback, | 127 void HandleKeyedStorePolymorphicCase(Node* receiver_map, Node* feedback, |
| 128 Label* if_handler, Variable* var_handler, | 128 Label* if_handler, Variable* var_handler, |
| 129 Label* if_transition_handler, | 129 Label* if_transition_handler, |
| 130 Variable* var_transition_map_cell, | 130 Variable* var_transition_map_cell, |
| 131 Label* if_miss); | 131 Label* if_miss); |
| 132 | 132 |
| 133 // LoadIC implementation. | 133 // LoadIC implementation. |
| 134 | 134 |
| 135 void HandleLoadICHandlerCase( | 135 void HandleLoadICHandlerCase( |
| 136 const LoadICParameters* p, Node* handler, Label* miss, | 136 const LoadICParameters* p, Node* handler, Label* miss, |
| (...skipping 158 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 |