Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index c1fa12865a29ee33bd518b4b548108b141a268e8..536092e83db28ae09aa45ac6bd48320cb163d40d 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1721,6 +1721,7 @@ void Precompiler::BindStaticCalls() { |
void Precompiler::SwitchICCalls() { |
+#if !defined(TARGET_ARCH_DBC) |
// Now that all functions have been compiled, we can switch to an instance |
// call sequence that loads the Code object and entry point directly from |
// the ic data array instead indirectly through a Function in the ic data |
@@ -1794,6 +1795,7 @@ void Precompiler::SwitchICCalls() { |
ASSERT(!I->compilation_allowed()); |
SwitchICCallsVisitor visitor(Z); |
VisitFunctions(&visitor); |
+#endif |
} |