Ignore:
Timestamp:
Oct 15, 2018, 11:42:44 AM (7 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r237054.
https://bugs.webkit.org/show_bug.cgi?id=190593

"this regressed JetStream 2 by 6% on iOS" (Requested by
saamyjoon on #webkit).

Reverted changeset:

"[JSC] JSC should have "parseFunction" to optimize Function
constructor"
https://bugs.webkit.org/show_bug.cgi?id=190340
https://trac.webkit.org/changeset/237054

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/FunctionExecutable.cpp

    r237054 r237128  
    9595FunctionExecutable* FunctionExecutable::fromGlobalCode(
    9696    const Identifier& name, ExecState& exec, const SourceCode& source,
    97     JSObject*& exception, int overrideLineNumber, std::optional<int> functionConstructorParametersEndPosition)
     97    JSObject*& exception, int overrideLineNumber)
    9898{
    9999    UnlinkedFunctionExecutable* unlinkedExecutable =
    100100        UnlinkedFunctionExecutable::fromGlobalCode(
    101             name, exec, source, exception, overrideLineNumber, functionConstructorParametersEndPosition);
     101            name, exec, source, exception, overrideLineNumber);
    102102    if (!unlinkedExecutable)
    103103        return nullptr;
Note: See TracChangeset for help on using the changeset viewer.