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

Unified Diff: runtime/vm/object.cc

Issue 1917233002: Disable a call to the profiler in product mode (Closed) Base URL: https://chromium.googlesource.com/external/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 | « no previous file | no next file » | 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..cc566b7aa05d11abc0f70d8bd80d99c71ac3d82d 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -15516,7 +15516,9 @@ TokenPosition AbstractType::token_pos() const {
bool AbstractType::IsInstantiated(TrailPtr trail) const {
// AbstractType is an abstract class.
// TODO(srdjan) : Remove temporary code.
+NOT_IN_PRODUCT(
Profiler::DumpStackTrace(true); // Only native stack trace.
+)
if (Compiler::IsBackgroundCompilation()) {
UNREACHABLE();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698