Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 17d30044cceaf6ad610b17ac0e81c17f76c1a400..891888d232def562938c690516bb0c84a7326abe 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -105,7 +105,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_); |
@@ -318,7 +318,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; |
@@ -367,7 +367,7 @@ void FullCodeGenerator::Generate() { |
{ Comment cmnt(masm_, "[ Body"); |
DCHECK(loop_depth() == 0); |
- VisitStatements(function()->body()); |
+ VisitStatements(literal()->body()); |
DCHECK(loop_depth() == 0); |
} |
} |
@@ -494,7 +494,7 @@ void FullCodeGenerator::EmitReturnSequence() { |
{ Assembler::BlockConstPoolScope block_const_pool(masm_); |
int32_t arg_count = info_->scope()->num_parameters() + 1; |
int32_t sp_delta = arg_count * kPointerSize; |
- SetReturnPosition(function()); |
+ SetReturnPosition(literal()); |
// TODO(svenpanne) The code below is sometimes 4 words, sometimes 5! |
PredictableCodeSizeScope predictable(masm_, -1); |
int no_frame_start = __ LeaveFrame(StackFrame::JAVA_SCRIPT); |