Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index cc2604c7f2ce07e48f168e7bccd6cc4a3b139230..352f4bad745d27bee746c860d06f14dc65ef47b8 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -793,8 +793,8 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
FeedbackVectorSlot slot = proxy->VariableFeedbackSlot(); |
DCHECK(!slot.IsInvalid()); |
globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone()); |
- Handle<SharedFunctionInfo> function = |
- Compiler::GetSharedFunctionInfo(declaration->fun(), script(), info_); |
+ Handle<SharedFunctionInfo> function = Compiler::GetSharedFunctionInfo( |
+ declaration->fun(), script(), info_, compilation_mode_); |
// Check for stack overflow exception. |
if (function.is_null()) return SetStackOverflow(); |
globals_->Add(function, zone()); |