Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 6e2587facd0a802e874fda122927112a6b87c2ee..2c9dace4236e20722fc23417b2cc8ace86b40dac 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1368,8 +1368,8 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( |
// Cache context-specific literals. |
Handle<Context> native_context(context->native_context()); |
- SharedFunctionInfo::AddToOptimizedCodeMap( |
- info, native_context, undefined_value(), literals, BailoutId::None()); |
+ SharedFunctionInfo::AddLiteralsToOptimizedCodeMap(info, native_context, |
+ literals); |
} |
return result; |