Split interpreter_switch_impl.cc
Due to regression in clang this file takes long to compile (>10min).
As a quick fix, split the file - one per explicit instantiation.
Test: Measure incremental build time - it halves the build time.
Change-Id: I9d35d43c185deb19ef9cf32ed35328c433a837f2
diff --git a/runtime/Android.bp b/runtime/Android.bp
index bedeaf7..5d99187 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -96,7 +96,10 @@
"interpreter/interpreter_cache.cc",
"interpreter/interpreter_common.cc",
"interpreter/interpreter_intrinsics.cc",
- "interpreter/interpreter_switch_impl.cc",
+ "interpreter/interpreter_switch_impl0.cc",
+ "interpreter/interpreter_switch_impl1.cc",
+ "interpreter/interpreter_switch_impl2.cc",
+ "interpreter/interpreter_switch_impl3.cc",
"interpreter/lock_count_data.cc",
"interpreter/shadow_frame.cc",
"interpreter/unstarted_runtime.cc",