Index: runtime/vm/program_visitor.cc |
diff --git a/runtime/vm/program_visitor.cc b/runtime/vm/program_visitor.cc |
index 372b60fa5a7de00556f21236d937e14455cb3223..61288b545eb23a8dbe73d854093218e71df8c9b1 100644 |
--- a/runtime/vm/program_visitor.cc |
+++ b/runtime/vm/program_visitor.cc |
@@ -281,6 +281,7 @@ class TypedDataKeyValueTrait { |
typedef DirectChainedHashMap<TypedDataKeyValueTrait> TypedDataSet; |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
void ProgramVisitor::DedupDeoptEntries() { |
class DedupDeoptEntriesVisitor : public FunctionVisitor { |
public: |
@@ -337,6 +338,7 @@ void ProgramVisitor::DedupDeoptEntries() { |
DedupDeoptEntriesVisitor visitor(Thread::Current()->zone()); |
ProgramVisitor::VisitFunctions(&visitor); |
} |
+#endif // !defined(DART_PRECOMPILED_RUNTIME) |
class CodeSourceMapKeyValueTrait { |
@@ -607,7 +609,7 @@ void ProgramVisitor::Dedup() { |
ShareMegamorphicBuckets(); |
DedupStackMaps(); |
DedupPcDescriptors(); |
- DedupDeoptEntries(); |
+ NOT_IN_PRECOMPILED(DedupDeoptEntries()); |
DedupCodeSourceMaps(); |
DedupLists(); |