diff options
Diffstat (limited to 'deps/v8/src/ic/accessor-assembler.h')
-rw-r--r-- | deps/v8/src/ic/accessor-assembler.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/deps/v8/src/ic/accessor-assembler.h b/deps/v8/src/ic/accessor-assembler.h new file mode 100644 index 0000000000..3b75c2e54d --- /dev/null +++ b/deps/v8/src/ic/accessor-assembler.h @@ -0,0 +1,45 @@ +// 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, + bool throw_reference_error_if_nonexistent); + static void GenerateLoadGlobalIC(compiler::CodeAssemblerState* state, + TypeofMode typeof_mode); + static void GenerateLoadGlobalICTrampoline( + compiler::CodeAssemblerState* state, TypeofMode typeof_mode); + static void GenerateKeyedLoadICTF(compiler::CodeAssemblerState* state); + static void GenerateKeyedLoadICTrampolineTF( + compiler::CodeAssemblerState* state); + static void GenerateKeyedLoadICMegamorphic( + compiler::CodeAssemblerState* state); + static void GenerateLoadField(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_ |