Don't skip compilation for portable builds.
Portable build fix.
Change-Id: If4e5efedb232d52257714af020c50a52843cbad8
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc
index 8da1520..d1f7f3e 100644
--- a/compiler/dex/frontend.cc
+++ b/compiler/dex/frontend.cc
@@ -181,9 +181,11 @@
cu->mir_graph->InlineMethod(code_item, access_flags, invoke_type, class_def_idx, method_idx,
class_loader, dex_file);
+#if !defined(ART_USE_PORTABLE_COMPILER)
if (cu->mir_graph->SkipCompilation(Runtime::Current()->GetCompilerFilter())) {
return NULL;
}
+#endif
/* Do a code layout pass */
cu->mir_graph->CodeLayout();