summaryrefslogtreecommitdiffstats
path: root/runtime/common_runtime_test.h
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 /runtime/common_runtime_test.h
parentf381645a336f7092ab6f5900c0a2cf183a9dbdf7 (diff)
downloadart-bb9c6b1c55e9e2308b4f5892a398a8837231fdbd.tar.gz
art-bb9c6b1c55e9e2308b4f5892a398a8837231fdbd.tar.bz2
art-bb9c6b1c55e9e2308b4f5892a398a8837231fdbd.zip
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 'runtime/common_runtime_test.h')
-rw-r--r--runtime/common_runtime_test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h
index a29487fff4..5fbc2ee680 100644
--- a/runtime/common_runtime_test.h
+++ b/runtime/common_runtime_test.h
@@ -140,10 +140,11 @@ class CommonRuntimeTest : public testing::Test {
// Get the first dex file from a PathClassLoader. Will abort if it is null.
const DexFile* GetFirstDexFile(jobject jclass_loader);
+ std::unique_ptr<CompilerCallbacks> callbacks_;
+
private:
static std::string GetCoreFileLocation(const char* suffix);
- std::unique_ptr<CompilerCallbacks> callbacks_;
std::vector<std::unique_ptr<const DexFile>> loaded_dex_files_;
};