Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index be70f638cef1da7ef25980a460cb636eda1abeae..9fa5e26f27a9099100e33a995d385249f8e459ce 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -104,7 +104,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_); |
@@ -325,7 +325,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; |
@@ -373,7 +373,7 @@ void FullCodeGenerator::Generate() { |
{ |
Comment cmnt(masm_, "[ Body"); |
DCHECK(loop_depth() == 0); |
- VisitStatements(function()->body()); |
+ VisitStatements(literal()->body()); |
DCHECK(loop_depth() == 0); |
} |
} |
@@ -485,7 +485,7 @@ void FullCodeGenerator::EmitReturnSequence() { |
EmitProfilingCounterReset(); |
__ Bind(&ok); |
- SetReturnPosition(function()); |
+ SetReturnPosition(literal()); |
const Register& current_sp = __ StackPointer(); |
// Nothing ensures 16 bytes alignment here. |
DCHECK(!current_sp.Is(csp)); |