Commit dcf8ef28 authored by whesse@chromium.org's avatar whesse@chromium.org

Fix lint error in codegen-ia32.cc.

Review URL: http://codereview.chromium.org/7264

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@490 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b2d18f33
...@@ -2118,7 +2118,8 @@ void CodeGenerator::VisitTryFinally(TryFinally* node) { ...@@ -2118,7 +2118,8 @@ void CodeGenerator::VisitTryFinally(TryFinally* node) {
__ bind(&unlink); __ bind(&unlink);
// Reload sp from the top handler, because some statements that we // Reload sp from the top handler, because some statements that we
// break from (eg, for...in) may have left stuff on the stack. // break from (eg, for...in) may have left stuff on the stack.
frame_->Pop(eax); // preserve the TOS in a register across stack manipulation // Preserve the TOS in a register across stack manipulation.
frame_->Pop(eax);
ExternalReference handler_address(Top::k_handler_address); ExternalReference handler_address(Top::k_handler_address);
__ mov(edx, Operand::StaticVariable(handler_address)); __ mov(edx, Operand::StaticVariable(handler_address));
const int kNextOffset = StackHandlerConstants::kNextOffset + const int kNextOffset = StackHandlerConstants::kNextOffset +
...@@ -2127,8 +2128,9 @@ void CodeGenerator::VisitTryFinally(TryFinally* node) { ...@@ -2127,8 +2128,9 @@ void CodeGenerator::VisitTryFinally(TryFinally* node) {
frame_->Pop(Operand::StaticVariable(handler_address)); frame_->Pop(Operand::StaticVariable(handler_address));
frame_->Drop(StackHandlerConstants::kSize / kPointerSize - 1); frame_->Drop(StackHandlerConstants::kSize / kPointerSize - 1);
// next_sp popped. // Next_sp popped.
frame_->Push(eax); // preserve the TOS in a register across stack manipulation // Preserve the TOS in a register across stack manipulation.
frame_->Push(eax);
// --- Finally block --- // --- Finally block ---
__ bind(&finally_block); __ bind(&finally_block);
......
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