Changeset 237478 in webkit for trunk/Source/JavaScriptCore/runtime/CodeCache.cpp
- Timestamp:
- Oct 26, 2018, 12:33:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/CodeCache.cpp
r237445 r237478 58 58 derivedContextType, evalContextType, isArrowFunctionContext, debuggerMode, 59 59 vm.typeProfiler() ? TypeProfilerEnabled::Yes : TypeProfilerEnabled::No, 60 vm.controlFlowProfiler() ? ControlFlowProfilerEnabled::Yes : ControlFlowProfilerEnabled::No, 61 std::nullopt); 60 vm.controlFlowProfiler() ? ControlFlowProfilerEnabled::Yes : ControlFlowProfilerEnabled::No); 62 61 SourceCodeValue* cache = m_sourceCode.findCacheAndUpdateAge(key); 63 62 if (cache && Options::useCodeCache()) { … … 97 96 } 98 97 99 UnlinkedFunctionExecutable* CodeCache::getUnlinkedGlobalFunctionExecutable(VM& vm, const Identifier& name, const SourceCode& source, DebuggerMode debuggerMode, std::optional<int> functionConstructorParametersEndPosition,ParserError& error)98 UnlinkedFunctionExecutable* CodeCache::getUnlinkedGlobalFunctionExecutable(VM& vm, const Identifier& name, const SourceCode& source, DebuggerMode debuggerMode, ParserError& error) 100 99 { 101 100 bool isArrowFunctionContext = false; … … 109 108 debuggerMode, 110 109 vm.typeProfiler() ? TypeProfilerEnabled::Yes : TypeProfilerEnabled::No, 111 vm.controlFlowProfiler() ? ControlFlowProfilerEnabled::Yes : ControlFlowProfilerEnabled::No, 112 functionConstructorParametersEndPosition); 110 vm.controlFlowProfiler() ? ControlFlowProfilerEnabled::Yes : ControlFlowProfilerEnabled::No); 113 111 SourceCodeValue* cache = m_sourceCode.findCacheAndUpdateAge(key); 114 112 if (cache && Options::useCodeCache()) {
Note:
See TracChangeset
for help on using the changeset viewer.