summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2016-02-23 22:33:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-02-23 22:33:55 +0000
commit028d1027f9b6ea6c80982407984171204458ff9b (patch)
treea9fe4cd0f4888b5f34142824a1f9cf0434e9d066 /compiler/driver/compiler_driver.cc
parentb4982aab07ae4cdaba13b4cb99306459d92e52d5 (diff)
parent3612149aee482ab7a17da68b0ef5fef3879729a2 (diff)
Merge "Make JNI work correctly with default methods."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index db8c3abccf..8ef1f28130 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -1077,10 +1077,8 @@ static void MaybeAddToImageClasses(Handle<mirror::Class> c,
image_classes);
}
for (auto& m : c->GetVirtualMethods(pointer_size)) {
- if (m.IsMiranda() || (true)) {
- StackHandleScope<1> hs2(self);
- MaybeAddToImageClasses(hs2.NewHandle(m.GetDeclaringClass()), image_classes);
- }
+ StackHandleScope<1> hs2(self);
+ MaybeAddToImageClasses(hs2.NewHandle(m.GetDeclaringClass()), image_classes);
}
if (klass->IsArrayClass()) {
StackHandleScope<1> hs2(self);