summaryrefslogtreecommitdiffstats
path: root/compiler/oat_test.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-01 09:16:49 -0800
committerIan Rogers <irogers@google.com>2014-03-01 09:16:49 -0800
commit3d504075f7c1204d581923460754bf6d3714b13f (patch)
treee095ee11d308f264b3dfb9f4c510f14fe6b1259c /compiler/oat_test.cc
parente4a74a6ac8d1486b1227504044a60002e69a9fec (diff)
downloadart-3d504075f7c1204d581923460754bf6d3714b13f.zip
art-3d504075f7c1204d581923460754bf6d3714b13f.tar.gz
art-3d504075f7c1204d581923460754bf6d3714b13f.tar.bz2
Make out arguments non-reference types.
Also, tidy some portable related code. Change-Id: I67c8aa52eef8b556ca117ecda1b1e75465ba06a5
Diffstat (limited to 'compiler/oat_test.cc')
-rw-r--r--compiler/oat_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc
index 55a962f..6dbba9f 100644
--- a/compiler/oat_test.cc
+++ b/compiler/oat_test.cc
@@ -105,7 +105,7 @@ TEST_F(OatTest, WriteRead) {
jobject class_loader = NULL;
if (kCompile) {
TimingLogger timings("OatTest::WriteRead", false, false);
- compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), timings);
+ compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings);
}
ScopedObjectAccess soa(Thread::Current());
@@ -119,12 +119,12 @@ TEST_F(OatTest, WriteRead) {
bool success = compiler_driver_->WriteElf(GetTestAndroidRoot(),
!kIsTargetBuild,
class_linker->GetBootClassPath(),
- oat_writer,
+ &oat_writer,
tmp.GetFile());
ASSERT_TRUE(success);
if (kCompile) { // OatWriter strips the code, regenerate to compare
- compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), timings);
+ compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), &timings);
}
std::string error_msg;
UniquePtr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), NULL, false,