diff options
author | Vladimir Marko <vmarko@google.com> | 2018-04-04 17:24:40 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-04 17:24:40 +0000 |
commit | 6371249ce05032db5d8c4c7ec96bf7fd7264c42f (patch) | |
tree | 674aab842490d4fb7013205e125c0c590bb1eebe /compiler/optimizing/code_generator.h | |
parent | c8ae8c3291aa766a1ed1ffde54fead37507f87dd (diff) | |
parent | 5806a9ec99b5494b511e84c74f494f0b3a8ebec5 (diff) |
Merge "Revert "Compile link-time thunks in codegen.""
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r-- | compiler/optimizing/code_generator.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index a86b27151d..3bd5e14539 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -21,7 +21,6 @@ #include "arch/instruction_set_features.h" #include "base/arena_containers.h" #include "base/arena_object.h" -#include "base/array_ref.h" #include "base/bit_field.h" #include "base/bit_utils.h" #include "base/enums.h" @@ -75,7 +74,6 @@ class CodeAllocator { virtual ~CodeAllocator() {} virtual uint8_t* Allocate(size_t size) = 0; - virtual ArrayRef<const uint8_t> GetMemory() const = 0; private: DISALLOW_COPY_AND_ASSIGN(CodeAllocator); @@ -212,10 +210,6 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> { virtual void Initialize() = 0; virtual void Finalize(CodeAllocator* allocator); virtual void EmitLinkerPatches(ArenaVector<linker::LinkerPatch>* linker_patches); - virtual bool NeedsThunkCode(const linker::LinkerPatch& patch) const; - virtual void EmitThunkCode(const linker::LinkerPatch& patch, - /*out*/ ArenaVector<uint8_t>* code, - /*out*/ std::string* debug_name); virtual void GenerateFrameEntry() = 0; virtual void GenerateFrameExit() = 0; virtual void Bind(HBasicBlock* block) = 0; |