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

Unified Diff: runtime/vm/profiler_service.cc

Issue 2289993002: Fix -O0 compilation errors (Closed)
Patch Set: Created 4 years, 4 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
Index: runtime/vm/profiler_service.cc
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc
index 6aed93c8e4fc9a39892d375be0a73e8bb73ba92c..d5ffcb9ce37b889f8282b9399cf1efb0f8bab435 100644
--- a/runtime/vm/profiler_service.cc
+++ b/runtime/vm/profiler_service.cc
@@ -816,6 +816,7 @@ class ProfileCodeTable : public ZoneAllocated {
return hi;
}
UNREACHABLE();
+ return -1;
}
private:
@@ -2640,6 +2641,7 @@ const char* ProfileTrieWalker::CurrentName() {
return func->Name();
}
UNREACHABLE();
+ return NULL;
}
@@ -2663,6 +2665,7 @@ intptr_t ProfileTrieWalker::CurrentInclusiveTicks() {
return func->inclusive_ticks();
}
UNREACHABLE();
+ return -1;
}
@@ -2678,6 +2681,7 @@ intptr_t ProfileTrieWalker::CurrentExclusiveTicks() {
return func->exclusive_ticks();
}
UNREACHABLE();
+ return -1;
}
« runtime/vm/intermediate_language_mips.cc ('K') | « runtime/vm/intermediate_language_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698