Index: runtime/vm/intermediate_language_dbc.cc |
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc |
index 16a2baffce4687c72cf1b74de681a8295e9a073f..4af998e6a78edb5d9df89bc7aea2ed1ca7584bb1 100644 |
--- a/runtime/vm/intermediate_language_dbc.cc |
+++ b/runtime/vm/intermediate_language_dbc.cc |
@@ -212,7 +212,11 @@ LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary( |
void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+#if defined(PRODUCT) |
+ compiler->Bailout("PolymorphicInstanceCallInstr::EmitNativeCode"); |
+#else // defined(PRODUCT) |
compiler->Bailout(ToCString()); |
+#endif // defined(PRODUCT) |
} |
@@ -505,7 +509,11 @@ EMIT_NATIVE_CODE(CreateArray, |
EMIT_NATIVE_CODE(StoreIndexed, 3) { |
if (compiler->is_optimizing()) { |
if (class_id() != kArrayCid) { |
+#if defined(PRODUCT) |
+ compiler->Bailout("StoreIndexed"); |
+#else // defined(PRODUCT) |
compiler->Bailout(ToCString()); |
+#endif // defined(PRODUCT) |
} |
__ StoreIndexed(locs()->in(kArrayPos).reg(), |