diff options
author | Andreas Gampe <agampe@google.com> | 2014-12-02 14:39:52 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-12-02 14:41:03 -0800 |
commit | dc8b63c21f1e84b1bc0ec11400b60669bbdd62df (patch) | |
tree | 95769f3fd6f6f028ca87a994d6d7ee0bc6bc7005 /compiler/driver | |
parent | f842571345749cc119363fdeb1dda549aafb49bb (diff) | |
download | android_art-dc8b63c21f1e84b1bc0ec11400b60669bbdd62df.tar.gz android_art-dc8b63c21f1e84b1bc0ec11400b60669bbdd62df.tar.bz2 android_art-dc8b63c21f1e84b1bc0ec11400b60669bbdd62df.zip |
ART: Build fix.
Fix closure.
Change-Id: I6ab68f2e3fb210c3b644affe3410c67a28df3d8e
Diffstat (limited to 'compiler/driver')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 0d5753c544..ab9f41a4b3 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -818,7 +818,7 @@ class ClinitImageUpdate { } // java.lang.Reference visitor for VisitReferences. - void operator()(mirror::Class* /*klass*/, mirror::Reference* ref) const { + void operator()(mirror::Class* /* klass */, mirror::Reference* /* ref */) const { } void Walk() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { @@ -840,8 +840,10 @@ class ClinitImageUpdate { old_cause_ = self->StartAssertNoThreadSuspension("Boot image closure"); // Find the interesting classes. - art_method_class_ = linker->LookupClass(self, "Ljava/lang/reflect/ArtMethod;", nullptr); - dex_cache_class_ = linker->LookupClass(self, "Ljava/lang/DexCache;", nullptr); + art_method_class_ = linker->LookupClass(self, "Ljava/lang/reflect/ArtMethod;", + ComputeModifiedUtf8Hash("Ljava/lang/reflect/ArtMethod;"), nullptr); + dex_cache_class_ = linker->LookupClass(self, "Ljava/lang/DexCache;", + ComputeModifiedUtf8Hash("Ljava/lang/DexCache;"), nullptr); // Find all the already-marked classes. WriterMutexLock mu(self, *Locks::heap_bitmap_lock_); |