| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index 3048372fbdf68b03cc9090c92803deed14ada619..7c5fc5ae91fa377514175975ac9227e7accced6b 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -113,7 +113,7 @@ void FullCodeGenerator::Generate() {
|
| CompilationInfo* info = info_;
|
| profiling_counter_ = isolate()->factory()->NewCell(
|
| Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate()));
|
| - SetFunctionPosition(function());
|
| + SetFunctionPosition(literal());
|
| Comment cmnt(masm_, "[ function compiled by full code generator");
|
|
|
| ProfileEntryHookStub::MaybeCallEntryHook(masm_);
|
| @@ -337,7 +337,7 @@ void FullCodeGenerator::Generate() {
|
| ArgumentsAccessStub::Type type;
|
| if (is_strict(language_mode()) || !has_simple_parameters()) {
|
| type = ArgumentsAccessStub::NEW_STRICT;
|
| - } else if (function()->has_duplicate_parameters()) {
|
| + } else if (literal()->has_duplicate_parameters()) {
|
| type = ArgumentsAccessStub::NEW_SLOPPY_SLOW;
|
| } else {
|
| type = ArgumentsAccessStub::NEW_SLOPPY_FAST;
|
| @@ -383,7 +383,7 @@ void FullCodeGenerator::Generate() {
|
|
|
| { Comment cmnt(masm_, "[ Body");
|
| DCHECK(loop_depth() == 0);
|
| - VisitStatements(function()->body());
|
| + VisitStatements(literal()->body());
|
| DCHECK(loop_depth() == 0);
|
| }
|
| }
|
| @@ -495,7 +495,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| // tool from instrumenting as we rely on the code size here.
|
| int32_t arg_count = info_->scope()->num_parameters() + 1;
|
| int32_t sp_delta = arg_count * kPointerSize;
|
| - SetReturnPosition(function());
|
| + SetReturnPosition(literal());
|
| masm_->mov(sp, fp);
|
| int no_frame_start = masm_->pc_offset();
|
| masm_->MultiPop(static_cast<RegList>(fp.bit() | ra.bit()));
|
|
|