| Index: src/x64/full-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/full-codegen-x64.cc (revision 4834)
|
| +++ src/x64/full-codegen-x64.cc (working copy)
|
| @@ -187,12 +187,12 @@
|
| { Comment cmnt(masm_, "[ return <undefined>;");
|
| // Emit a 'return undefined' in case control fell off the end of the body.
|
| __ LoadRoot(rax, Heap::kUndefinedValueRootIndex);
|
| - EmitReturnSequence(function()->end_position());
|
| + EmitReturnSequence();
|
| }
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitReturnSequence(int position) {
|
| +void FullCodeGenerator::EmitReturnSequence() {
|
| Comment cmnt(masm_, "[ Return sequence");
|
| if (return_label_.is_bound()) {
|
| __ jmp(&return_label_);
|
| @@ -207,7 +207,7 @@
|
| Label check_exit_codesize;
|
| masm_->bind(&check_exit_codesize);
|
| #endif
|
| - CodeGenerator::RecordPositions(masm_, position);
|
| + CodeGenerator::RecordPositions(masm_, function()->end_position());
|
| __ RecordJSReturn();
|
| // Do not use the leave instruction here because it is too short to
|
| // patch with the code required by the debugger.
|
|
|