Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 1647bd8da8d161a98e1b7493a2fd1a83ff5d45c8..f0796f7cb782f60561beb16a66df22b7ae98cf88 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -93,7 +93,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_); |
@@ -319,7 +319,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; |
@@ -362,7 +362,7 @@ void FullCodeGenerator::Generate() { |
{ Comment cmnt(masm_, "[ Body"); |
DCHECK(loop_depth() == 0); |
- VisitStatements(function()->body()); |
+ VisitStatements(literal()->body()); |
DCHECK(loop_depth() == 0); |
} |
} |
@@ -462,7 +462,7 @@ void FullCodeGenerator::EmitReturnSequence() { |
EmitProfilingCounterReset(); |
__ bind(&ok); |
- SetReturnPosition(function()); |
+ SetReturnPosition(literal()); |
int no_frame_start = masm_->pc_offset(); |
__ leave(); |