Commit 7f29be6d authored by ager@chromium.org's avatar ager@chromium.org

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
parent adaab821
...@@ -1199,7 +1199,7 @@ void Debug::PrepareStep(StepAction step_action, int step_count) { ...@@ -1199,7 +1199,7 @@ void Debug::PrepareStep(StepAction step_action, int step_count) {
if (it.IsExit() || step_action == StepOut) { if (it.IsExit() || step_action == StepOut) {
if (step_action == StepOut) { if (step_action == StepOut) {
// Skip step_count frames starting with the current one. // 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(); frames_it.Advance();
} }
} else { } else {
...@@ -1207,8 +1207,8 @@ void Debug::PrepareStep(StepAction step_action, int step_count) { ...@@ -1207,8 +1207,8 @@ void Debug::PrepareStep(StepAction step_action, int step_count) {
frames_it.Advance(); frames_it.Advance();
} }
// Skip builtin functions on the stack. // Skip builtin functions on the stack.
while(!frames_it.done() && while (!frames_it.done() &&
JSFunction::cast(frames_it.frame()->function())->IsBuiltin()) { JSFunction::cast(frames_it.frame()->function())->IsBuiltin()) {
frames_it.Advance(); frames_it.Advance();
} }
// Step out: If there is a JavaScript caller frame, we need to // Step out: If there is a JavaScript caller frame, we need to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment