Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 49ccd9580512d701ffd48bc1c1657cba986f3c07..5e2b129c5a832e6c2efb2ecca63aa4bb1d3e816a 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -874,7 +874,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()); |