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