Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 3d634e3dcebb7100c54681da5e7fb44b67201d51..b665d9c2a7c023f1857d0b3c2cc9a4a0fa48abf0 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -742,8 +742,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()); |