summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-09-10 23:43:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-09-10 23:43:32 +0000
commitb9620f305c79914f5159cf9279a7ccd173af1186 (patch)
treeedfb15d759f16808d575cb849302fc2fd22d6709 /compiler/driver/compiler_driver.cc
parent575a5649715ee50e0de8a107e8a5379d4c465382 (diff)
parent928f72bd75c385ba2708c58521171a77264d4486 (diff)
Merge "ART: Fix things for valgrind"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 32a7676f72..db6a01eb82 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -981,7 +981,7 @@ bool CompilerDriver::CanEmbedReferenceTypeInCode(ClassReference* ref,
ScopedObjectAccess soa(Thread::Current());
mirror::Class* reference_class = mirror::Reference::GetJavaLangRefReference();
- bool is_initialized;
+ bool is_initialized = false;
bool unused_finalizable;
// Make sure we have a finished Reference class object before attempting to use it.
if (!CanEmbedTypeInCode(*reference_class->GetDexCache()->GetDexFile(),