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

Unified Diff: src/ic/accessor-assembler.h

Issue 2507733002: [refactoring] Pull AccessorAssembler out of CodeStubAssembler (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: src/ic/accessor-assembler.h
diff --git a/src/ic/accessor-assembler.h b/src/ic/accessor-assembler.h
new file mode 100644
index 0000000000000000000000000000000000000000..1d900f8c452392bac543eefe456d13c42e71aea4
--- /dev/null
+++ b/src/ic/accessor-assembler.h
@@ -0,0 +1,41 @@
+// Copyright 2016 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_SRC_IC_ACCESSOR_ASSEMBLER_H_
+#define V8_SRC_IC_ACCESSOR_ASSEMBLER_H_
+
+#include "src/globals.h"
+
+namespace v8 {
+namespace internal {
+
+namespace compiler {
+class CodeAssemblerState;
+}
+
+class AccessorAssembler {
+ public:
+ static void GenerateLoadIC(compiler::CodeAssemblerState* state);
+ static void GenerateLoadICTrampoline(compiler::CodeAssemblerState* state);
+ static void GenerateLoadICProtoArray(compiler::CodeAssemblerState* state);
+ static void GenerateLoadGlobalIC(compiler::CodeAssemblerState* state);
+ static void GenerateLoadGlobalICTrampoline(
+ compiler::CodeAssemblerState* state);
+ static void GenerateKeyedLoadICTF(compiler::CodeAssemblerState* state);
+ static void GenerateKeyedLoadICTrampolineTF(
+ compiler::CodeAssemblerState* state);
+ static void GenerateKeyedLoadICMegamorphic(
+ compiler::CodeAssemblerState* state);
+ static void GenerateStoreIC(compiler::CodeAssemblerState* state);
+ static void GenerateStoreICTrampoline(compiler::CodeAssemblerState* state);
+ static void GenerateKeyedStoreICTF(compiler::CodeAssemblerState* state,
+ LanguageMode language_mode);
+ static void GenerateKeyedStoreICTrampolineTF(
+ compiler::CodeAssemblerState* state, LanguageMode language_mode);
+};
+
+} // namespace internal
+} // namespace v8
+
+#endif // V8_SRC_IC_ACCESSOR_ASSEMBLER_H_
« no previous file with comments | « src/code-stubs.cc ('k') | src/ic/accessor-assembler.cc » ('j') | src/ic/accessor-assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698