Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1721)

Unified Diff: runtime/vm/intermediate_language_dbc.cc

Issue 2011363002: - Fix product mode SIMDBC build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(),
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698