diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-29 13:56:36 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-03-29 20:29:12 -0700 |
commit | bb9c6b1c55e9e2308b4f5892a398a8837231fdbd (patch) | |
tree | b2ba358bd031b73050f22eea5bcccfc1f6f1add1 /compiler/oat_test.cc | |
parent | f381645a336f7092ab6f5900c0a2cf183a9dbdf7 (diff) | |
download | art-bb9c6b1c55e9e2308b4f5892a398a8837231fdbd.zip art-bb9c6b1c55e9e2308b4f5892a398a8837231fdbd.tar.gz art-bb9c6b1c55e9e2308b4f5892a398a8837231fdbd.tar.bz2 |
ART: Refactor callbacks_ in common_runtime_test
The callback is now important for some runtime checks, and just
resetting callbacks_ is not correct anymore.
Change-Id: I2cb806f1916fd5ea190911a833ce460be557a428
Diffstat (limited to 'compiler/oat_test.cc')
-rw-r--r-- | compiler/oat_test.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc index d59ad6c..afd39e8 100644 --- a/compiler/oat_test.cc +++ b/compiler/oat_test.cc @@ -85,9 +85,6 @@ TEST_F(OatTest, WriteRead) { compiler_options_.reset(new CompilerOptions); verification_results_.reset(new VerificationResults(compiler_options_.get())); method_inliner_map_.reset(new DexFileToMethodInlinerMap); - callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), - method_inliner_map_.get(), - CompilerCallbacks::CallbackMode::kCompileApp)); timer_.reset(new CumulativeLogger("Compilation times")); compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), verification_results_.get(), |