Add dex_lang as common frontend to lir and LLVM. dex_lang + bc2lir =
Greenland
First commit of Greenland compiler: It's working in the sense of oat
tests. E.g., mm test-art-host-oat-Fibonacci. It shows the correct
bitcode before lir.
Change-Id: I91cbb02188325eb1fa605ed71ec7108fd2b0dbb9
diff --git a/src/runtime.cc b/src/runtime.cc
index 226334e..d8beae8 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -101,7 +101,7 @@
delete class_linker_;
delete heap_;
-#if defined(ART_USE_LLVM_COMPILER)
+#if defined(ART_USE_LLVM_COMPILER) || defined(ART_USE_GREENLAND_COMPILER)
verifier::MethodVerifier::DeleteInferredRegCategoryMaps();
#endif
verifier::MethodVerifier::DeleteGcMaps();
@@ -641,7 +641,7 @@
verifier::MethodVerifier::InitGcMaps();
-#if defined(ART_USE_LLVM_COMPILER)
+#if defined(ART_USE_LLVM_COMPILER) || defined(ART_USE_GREENLAND_COMPILER)
verifier::MethodVerifier::InitInferredRegCategoryMaps();
#endif