Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index abe53ff3c2ef25513cf1c5ac897141e8221eeebb..a40c1a7d55bf80d1e85c29f907a8bd2986ed31d9 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -892,7 +892,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()); |