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

Unified Diff: runtime/vm/profiler.cc

Issue 81513004: Disable native symbol resolver on WindowsDisable native symbol resolver on Windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index 7811b0bfc5b77943aff488f9f1da8814f31d3dcc..694d18a30ddbcc17b98d41e5604698cd0d02d5ee 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -472,7 +472,8 @@ int ProfilerSampleStackWalker::walk() {
// Stack pointer should not be above frame pointer.
return 0;
}
- if ((original_fp_ - original_sp_) >= kMaxStep) {
+ intptr_t gap = original_fp_ - original_sp_;
+ if (gap >= kMaxStep) {
// Gap between frame pointer and stack pointer is
// too large.
return 0;
« 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