| 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_IMPL_H_ | 5 #ifndef V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_ |
| 6 #define V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_ | 6 #define V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_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 { |
| 11 namespace internal { | 11 namespace internal { |
| 12 | 12 |
| 13 namespace compiler { | 13 namespace compiler { |
| 14 class CodeAssemblerState; | 14 class CodeAssemblerState; |
| 15 } | 15 } |
| 16 | 16 |
| 17 using compiler::Node; | 17 using compiler::Node; |
| 18 | 18 |
| 19 #define ACCESSOR_ASSEMBLER_PUBLIC_INTERFACE(V) \ | 19 #define ACCESSOR_ASSEMBLER_PUBLIC_INTERFACE(V) \ |
| 20 V(LoadIC) \ | 20 V(LoadIC) \ |
| 21 V(LoadField) \ |
| 21 V(LoadICTrampoline) \ | 22 V(LoadICTrampoline) \ |
| 22 V(KeyedLoadICTF) \ | 23 V(KeyedLoadICTF) \ |
| 23 V(KeyedLoadICTrampolineTF) \ | 24 V(KeyedLoadICTrampolineTF) \ |
| 24 V(KeyedLoadICMegamorphic) \ | 25 V(KeyedLoadICMegamorphic) \ |
| 25 V(StoreIC) \ | 26 V(StoreIC) \ |
| 26 V(StoreICTrampoline) | 27 V(StoreICTrampoline) |
| 27 // The other IC entry points need custom handling because of additional | 28 // The other IC entry points need custom handling because of additional |
| 28 // parameters like "typeof_mode" or "language_mode". | 29 // parameters like "typeof_mode" or "language_mode". |
| 29 | 30 |
| 30 class AccessorAssemblerImpl : public CodeStubAssembler { | 31 class AccessorAssemblerImpl : public CodeStubAssembler { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, | 183 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id, |
| 183 Node* entry_offset, Node* name, Node* map, | 184 Node* entry_offset, Node* name, Node* map, |
| 184 Label* if_handler, Variable* var_handler, | 185 Label* if_handler, Variable* var_handler, |
| 185 Label* if_miss); | 186 Label* if_miss); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace internal | 189 } // namespace internal |
| 189 } // namespace v8 | 190 } // namespace v8 |
| 190 | 191 |
| 191 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_ | 192 #endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_IMPL_H_ |
| OLD | NEW |