Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 2d6e7867b560e03d2985b5523a630a90d08a4e33..60ac0b58b5b00d79525f6c2964738609c5f14d22 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -102,7 +102,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_); |
@@ -330,7 +330,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; |
@@ -377,7 +377,7 @@ void FullCodeGenerator::Generate() { |
{ |
Comment cmnt(masm_, "[ Body"); |
DCHECK(loop_depth() == 0); |
- VisitStatements(function()->body()); |
+ VisitStatements(literal()->body()); |
DCHECK(loop_depth() == 0); |
} |
} |
@@ -487,7 +487,7 @@ void FullCodeGenerator::EmitReturnSequence() { |
Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); |
int32_t arg_count = info_->scope()->num_parameters() + 1; |
int32_t sp_delta = arg_count * kPointerSize; |
- SetReturnPosition(function()); |
+ SetReturnPosition(literal()); |
int no_frame_start = __ LeaveFrame(StackFrame::JAVA_SCRIPT, sp_delta); |
__ blr(); |
info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); |