diff options
author | Andreas Gampe <agampe@google.com> | 2014-12-02 22:41:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-02 22:41:42 +0000 |
commit | 8443637f71a777a13317fe7635028d758a0adf97 (patch) | |
tree | 95769f3fd6f6f028ca87a994d6d7ee0bc6bc7005 | |
parent | f842571345749cc119363fdeb1dda549aafb49bb (diff) | |
parent | dc8b63c21f1e84b1bc0ec11400b60669bbdd62df (diff) | |
download | art-8443637f71a777a13317fe7635028d758a0adf97.zip art-8443637f71a777a13317fe7635028d758a0adf97.tar.gz art-8443637f71a777a13317fe7635028d758a0adf97.tar.bz2 |
Merge "ART: Build fix."
-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 0d5753c..ab9f41a 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_); |