summaryrefslogtreecommitdiffstats
path: root/compiler/oat_test.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-29 13:56:36 -0700
committerAndreas Gampe <agampe@google.com>2015-03-29 20:29:12 -0700
commitbb9c6b1c55e9e2308b4f5892a398a8837231fdbd (patch)
treeb2ba358bd031b73050f22eea5bcccfc1f6f1add1 /compiler/oat_test.cc
parentf381645a336f7092ab6f5900c0a2cf183a9dbdf7 (diff)
downloadart-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.cc3
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(),