| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index f71a76dd092b7a310ae7dfe360d436e11c0ecc7c..2b23cee456ea49160d25598cac80c964a07eafd5 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -161,6 +161,7 @@ void FullCodeGenerator::Generate() {
|
| __ mov(ebp, esp);
|
| __ push(esi); // Callee's context.
|
| __ push(edi); // Callee's JS Function.
|
| + info->AddNoFrameRange(0, masm_->pc_offset());
|
|
|
| { Comment cmnt(masm_, "[ Allocate locals");
|
| int locals_count = info->scope()->num_stack_slots();
|
| @@ -410,6 +411,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| // Do not use the leave instruction here because it is too short to
|
| // patch with the code required by the debugger.
|
| __ mov(esp, ebp);
|
| + int no_frame_start = masm_->pc_offset();
|
| __ pop(ebp);
|
|
|
| int arguments_bytes = (info_->scope()->num_parameters() + 1) * kPointerSize;
|
| @@ -420,6 +422,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| ASSERT(Assembler::kJSReturnSequenceLength <=
|
| masm_->SizeOfCodeGeneratedSince(&check_exit_codesize));
|
| #endif
|
| + info_->AddNoFrameRange(no_frame_start, masm_->pc_offset());
|
| }
|
| }
|
|
|
|
|