Fix presubmit.
TBR=yurys@chromium.org Review URL: http://codereview.chromium.org/197056 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
adaab82197
commit
7f29be6d2e
@ -1199,7 +1199,7 @@ void Debug::PrepareStep(StepAction step_action, int step_count) {
|
||||
if (it.IsExit() || step_action == StepOut) {
|
||||
if (step_action == StepOut) {
|
||||
// Skip step_count frames starting with the current one.
|
||||
while(step_count-- > 0 && !frames_it.done()) {
|
||||
while (step_count-- > 0 && !frames_it.done()) {
|
||||
frames_it.Advance();
|
||||
}
|
||||
} else {
|
||||
@ -1207,8 +1207,8 @@ void Debug::PrepareStep(StepAction step_action, int step_count) {
|
||||
frames_it.Advance();
|
||||
}
|
||||
// Skip builtin functions on the stack.
|
||||
while(!frames_it.done() &&
|
||||
JSFunction::cast(frames_it.frame()->function())->IsBuiltin()) {
|
||||
while (!frames_it.done() &&
|
||||
JSFunction::cast(frames_it.frame()->function())->IsBuiltin()) {
|
||||
frames_it.Advance();
|
||||
}
|
||||
// Step out: If there is a JavaScript caller frame, we need to
|
||||
|
Loading…
Reference in New Issue
Block a user