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

Unified Diff: runtime/vm/object.cc

Issue 1921343002: Fix product build compile and ensure all tests run cleanly again. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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_compiler.cc ('k') | samples/samples.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 8e214c7beb5553cbbe82f13282948ce32a1efcd8..f44812695774efa3c01e7bdca98c2cdd1fca0377 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -15515,11 +15515,13 @@ TokenPosition AbstractType::token_pos() const {
bool AbstractType::IsInstantiated(TrailPtr trail) const {
// AbstractType is an abstract class.
+#if !defined(PRODUCT)
// TODO(srdjan) : Remove temporary code.
Profiler::DumpStackTrace(true); // Only native stack trace.
if (Compiler::IsBackgroundCompilation()) {
UNREACHABLE();
}
+#endif
UNREACHABLE();
return false;
}
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | samples/samples.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698