Fix 065 and 066 tests (NULL Method bug). Don't use Method in LLVM method compiler.
Change-Id: I98e4e9b329448b1b72c3b5c9d712ea68dab624bd
diff --git a/src/runtime.cc b/src/runtime.cc
index 014ce6b..d16ee78 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -99,6 +99,9 @@
delete class_linker_;
delete heap_;
+#if defined(ART_USE_LLVM_COMPILER)
+ verifier::DexVerifier::DeleteInferredRegCategoryMaps();
+#endif
verifier::DexVerifier::DeleteGcMaps();
delete intern_table_;
delete java_vm_;
@@ -643,6 +646,10 @@
verifier::DexVerifier::InitGcMaps();
+#if defined(ART_USE_LLVM_COMPILER)
+ verifier::DexVerifier::InitInferredRegCategoryMaps();
+#endif
+
heap_ = new Heap(options->heap_initial_size_,
options->heap_growth_limit_,
options->heap_maximum_size_,