Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index b8cb3ee31a334b6ddac4888be4b359d6f69343e9..000a7caebfcd51f8a1b4aad1a4d0d7d4f0a5bca3 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -901,7 +901,7 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
case Variable::UNALLOCATED: { |
globals_->Add(variable->name(), zone()); |
Handle<SharedFunctionInfo> function = |
- Compiler::BuildFunctionInfo(declaration->fun(), script(), info_); |
+ Compiler::GetSharedFunctionInfo(declaration->fun(), script(), info_); |
// Check for stack-overflow exception. |
if (function.is_null()) return SetStackOverflow(); |
globals_->Add(function, zone()); |