Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index cad7c570eba1a1b542bfda4254bf2e057bc9fadb..c8a93fe01ce78e6ba832031a27a3c702bb86a37f 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -746,8 +746,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()); |