Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index b7d95b1c4a3f42ef2b72313d359c99504b26a495..e2ded52c04cc6d2a40b68b5d95d583a6d206f791 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -2086,7 +2086,7 @@ DEFINE_NATIVE_ENTRY(VariableMirror_type, 2) { |
DEFINE_NATIVE_ENTRY(TypeMirror_subtypeTest, 2) { |
GET_NON_NULL_NATIVE_ARGUMENT(AbstractType, a, arguments->NativeArgAt(0)); |
GET_NON_NULL_NATIVE_ARGUMENT(AbstractType, b, arguments->NativeArgAt(1)); |
- return Bool::Get(a.IsSubtypeOf(b, NULL)).raw(); |
+ return Bool::Get(a.IsSubtypeOf(b, NULL, NULL, Heap::kNew)).raw(); |
} |