Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 000a7caebfcd51f8a1b4aad1a4d0d7d4f0a5bca3..b8cb3ee31a334b6ddac4888be4b359d6f69343e9 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::GetSharedFunctionInfo(declaration->fun(), script(), info_); |
+ Compiler::BuildFunctionInfo(declaration->fun(), script(), info_); |
// Check for stack-overflow exception. |
if (function.is_null()) return SetStackOverflow(); |
globals_->Add(function, zone()); |