diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-05-16 09:59:29 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-05-16 10:36:37 -0700 |
commit | db2633ce0358c704f97130a94b582602cb01d14a (patch) | |
tree | ab941b728fe4343eb9872abc85755640bf059800 /compiler | |
parent | f59c6dda4928cfb05d32a56fd161e3f86a9ca560 (diff) | |
download | art-db2633ce0358c704f97130a94b582602cb01d14a.tar.gz art-db2633ce0358c704f97130a94b582602cb01d14a.tar.bz2 art-db2633ce0358c704f97130a94b582602cb01d14a.zip |
Change ObjectLock to take Handle instead of Handle pointer.
Change-Id: I9abdcdc5c9c9174634336b9250ab24c6aee434ec
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 55ba64370b..b48be587d6 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); |