summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-05-16 09:59:29 -0700
committerMathieu Chartier <mathieuc@google.com>2014-05-16 10:36:37 -0700
commitdb2633ce0358c704f97130a94b582602cb01d14a (patch)
treeab941b728fe4343eb9872abc85755640bf059800 /compiler/driver/compiler_driver.cc
parentf59c6dda4928cfb05d32a56fd161e3f86a9ca560 (diff)
downloadart-db2633ce0358c704f97130a94b582602cb01d14a.zip
art-db2633ce0358c704f97130a94b582602cb01d14a.tar.gz
art-db2633ce0358c704f97130a94b582602cb01d14a.tar.bz2
Change ObjectLock to take Handle instead of Handle pointer.
Change-Id: I9abdcdc5c9c9174634336b9250ab24c6aee434ec
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 55ba643..b48be58 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -1706,7 +1706,7 @@ static void InitializeClass(const ParallelCompilationManager* manager, size_t cl
// We need to use an ObjectLock due to potential suspension in the interpreting code. Rather
// than use a special Object for the purpose we use the Class of java.lang.Class.
Handle<mirror::Class> h_klass(hs.NewHandle(klass->GetClass()));
- ObjectLock<mirror::Class> lock(soa.Self(), &h_klass);
+ ObjectLock<mirror::Class> lock(soa.Self(), h_klass);
// Attempt to initialize allowing initialization of parent classes but still not static
// fields.
manager->GetClassLinker()->EnsureInitialized(klass, false, true);