mirror of
https://github.com/dart-lang/sdk
synced 2024-09-22 01:49:15 +00:00
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:
parent
597caa1754
commit
98a959ff35
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue