Index: runtime/vm/program_visitor.cc |
diff --git a/runtime/vm/program_visitor.cc b/runtime/vm/program_visitor.cc |
index 256c9db84f5d8f233c5d0427f1b7b24000492a1a..129792dd187fff334c725de5de43d81d58607361 100644 |
--- a/runtime/vm/program_visitor.cc |
+++ b/runtime/vm/program_visitor.cc |
@@ -598,10 +598,10 @@ void ProgramVisitor::Dedup() { |
DedupCodeSourceMaps(); |
DedupLists(); |
- if (!FLAG_profiler) { |
- // Reduces binary size but obfuscates profiler results. |
- DedupInstructions(); |
- } |
+#ifdef PRODUCT |
zra
2017/07/31 15:03:11
if defined(PRODUCT)
rmacnak
2017/07/31 21:12:13
Done.
|
+ // Reduces binary size but obfuscates profiler results. |
+ DedupInstructions(); |
+#endif |
} |
} // namespace dart |