Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 6c4048e7d28bf7aed6dc0fe988eb2108d0d189f0..e9b040cff2a586ce4185a6b1c8bc338ac4d176b8 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -760,8 +760,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()); |