summaryrefslogtreecommitdiffstats
path: root/compiler/compilers.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-08-05 20:21:05 -0700
committerAndreas Gampe <agampe@google.com>2014-08-06 14:18:59 -0700
commit79273802f2b788bcd3eb76edf4df1bcaa57f886f (patch)
tree44dd09d962cc7a38eb6312296e45e98ae9c469f2 /compiler/compilers.cc
parent1b192268f167f603fc372f02f9067f3ce5d82daf (diff)
downloadandroid_art-79273802f2b788bcd3eb76edf4df1bcaa57f886f.tar.gz
android_art-79273802f2b788bcd3eb76edf4df1bcaa57f886f.tar.bz2
android_art-79273802f2b788bcd3eb76edf4df1bcaa57f886f.zip
ART: Rework CFA frame initialization and writing code
Move eh_frame initialization code and CFI writing code to elf_writer_quick to remove hard-wired dependencies on specific Quick-compiler backends. Change-Id: I27ee8ce7245da33a20c90e0086b8d4fd0a2baf4d
Diffstat (limited to 'compiler/compilers.cc')
-rw-r--r--compiler/compilers.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/compilers.cc b/compiler/compilers.cc
index 250924ad30..5cf846f8db 100644
--- a/compiler/compilers.cc
+++ b/compiler/compilers.cc
@@ -38,9 +38,6 @@ extern "C" art::CompiledMethod* ArtQuickJniCompileMethod(art::CompilerDriver* dr
uint32_t access_flags, uint32_t method_idx,
const art::DexFile& dex_file);
-// Hack for CFI CIE initialization
-extern std::vector<uint8_t>* X86CFIInitialization(bool is_x86_64);
-
void QuickCompiler::Init() const {
ArtInitQuickCompilerContext(GetCompilerDriver());
}
@@ -126,17 +123,6 @@ Backend* QuickCompiler::GetCodeGenerator(CompilationUnit* cu, void* compilation_
return mir_to_lir;
}
-std::vector<uint8_t>* QuickCompiler::GetCallFrameInformationInitialization(
- const CompilerDriver& driver) const {
- if (driver.GetInstructionSet() == kX86) {
- return X86CFIInitialization(false);
- }
- if (driver.GetInstructionSet() == kX86_64) {
- return X86CFIInitialization(true);
- }
- return nullptr;
-}
-
CompiledMethod* OptimizingCompiler::Compile(const DexFile::CodeItem* code_item,
uint32_t access_flags,
InvokeType invoke_type,