diff options
Diffstat (limited to 'compiler/dex/frontend.cc')
| -rw-r--r-- | compiler/dex/frontend.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index 6aabb2ae89..adfbf2f3b5 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -63,21 +63,12 @@ LLVMInfo::LLVMInfo() { LLVMInfo::~LLVMInfo() { } -QuickCompilerContext::QuickCompilerContext() - : inliner_map_(new DexFileToMethodInlinerMap()) { -} - -QuickCompilerContext::~QuickCompilerContext() { -} - extern "C" void ArtInitQuickCompilerContext(art::CompilerDriver& driver) { CHECK(driver.GetCompilerContext() == NULL); - driver.SetCompilerContext(new QuickCompilerContext()); } extern "C" void ArtUnInitQuickCompilerContext(art::CompilerDriver& driver) { - delete reinterpret_cast<QuickCompilerContext*>(driver.GetCompilerContext()); - driver.SetCompilerContext(NULL); + CHECK(driver.GetCompilerContext() == NULL); } /* Default optimizer/debug setting for the compiler. */ |