Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 1c61d6cff1d39b2205f6c0c278a05d2e2cf1cfe0..8ee3d2fb7e6a0ec8327bd29c5482aa4489ec4ba1 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -732,7 +732,8 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( |
result->set_context(*context); |
- int index = function_info->SearchOptimizedCodeMap(context->native_context()); |
+ int index = function_info->SearchOptimizedCodeMap(context->native_context(), |
+ BailoutId::None()); |
if (!function_info->bound() && index < 0) { |
int number_of_literals = function_info->num_literals(); |
Handle<FixedArray> literals = NewFixedArray(number_of_literals, pretenure); |