Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index e9545b8f3eff884902f8dcf7f21af3656dee4af6..a528cceea523644bdb575f61f76958bce3e6fdcd 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -359,7 +359,7 @@ base::SmartArrayPointer<char> GetDebugName(CompilationInfo* info) { |
return name; |
} else { |
AllowHandleDereference allow_deref; |
- return info->function()->debug_name()->ToCString(); |
+ return info->literal()->debug_name()->ToCString(); |
} |
} |
@@ -1014,7 +1014,7 @@ Handle<Code> Pipeline::GenerateCode() { |
if (json_file != nullptr) { |
OFStream json_of(json_file); |
Handle<Script> script = info()->script(); |
- FunctionLiteral* function = info()->function(); |
+ FunctionLiteral* function = info()->literal(); |
base::SmartArrayPointer<char> function_name = |
info()->shared_info()->DebugName()->ToCString(); |
int pos = info()->shared_info()->start_position(); |