Really fix the build

BUG=

Review URL: https://codereview.chromium.org//408493004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38412 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
johnmccutchan@google.com 2014-07-18 21:11:45 +00:00
parent 597caa1754
commit 98a959ff35

View file

@ -1752,7 +1752,8 @@ class ProfilerNativeStackWalker : public ValueObject {
uword* fp = reinterpret_cast<uword*>(original_fp_);
uword* previous_fp = fp;
if ((original_fp_ - original_sp_) >= kMaxStep) {
uword gap = original_fp_ - original_sp_;
if (gap >= kMaxStep) {
// Gap between frame pointer and stack pointer is
// too large.
return;
@ -1778,7 +1779,8 @@ class ProfilerNativeStackWalker : public ValueObject {
return;
}
if ((fp - previous_fp) >= kMaxStep) {
gap = fp - previous_fp;
if (gap >= kMaxStep) {
// Frame pointer step is too large.
return;
}