Ignore:
Timestamp:
Dec 1, 2015, 5:37:19 PM (10 years ago)
Author:
[email protected]
Message:

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

JSC tests for this change are failing on 32 and 64-bit bots
(Requested by ryanhaddad on #webkit).

Reverted changeset:

"[ES6] Implement LLInt/Baseline Support for ES6 Generators and
enable this feature"
https://bugs.webkit.org/show_bug.cgi?id=150792
http://trac.webkit.org/changeset/192914

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/Executable.h

    r192914 r192935  
    449449    DECLARE_INFO;
    450450
    451     ExecutableInfo executableInfo() const { return ExecutableInfo(needsActivation(), usesEval(), isStrictMode(), false, false, ConstructorKind::None, GeneratorThisMode::NonEmpty, SuperBinding::NotNeeded, SourceParseMode::ProgramMode); }
     451    ExecutableInfo executableInfo() const { return ExecutableInfo(needsActivation(), usesEval(), isStrictMode(), false, false, ConstructorKind::None, false); }
    452452
    453453    unsigned numVariables() { return m_unlinkedEvalCodeBlock->numVariables(); }
     
    502502    DECLARE_INFO;
    503503
    504     ExecutableInfo executableInfo() const { return ExecutableInfo(needsActivation(), usesEval(), isStrictMode(), false, false, ConstructorKind::None, GeneratorThisMode::NonEmpty, SuperBinding::NotNeeded, SourceParseMode::ProgramMode); }
     504    ExecutableInfo executableInfo() const { return ExecutableInfo(needsActivation(), usesEval(), isStrictMode(), false, false, ConstructorKind::None, false); }
    505505
    506506private:
     
    543543    DECLARE_INFO;
    544544
    545     ExecutableInfo executableInfo() const { return ExecutableInfo(needsActivation(), usesEval(), isStrictMode(), false, false, ConstructorKind::None, GeneratorThisMode::NonEmpty, SuperBinding::NotNeeded, SourceParseMode::ModuleEvaluateMode); }
     545    ExecutableInfo executableInfo() const { return ExecutableInfo(needsActivation(), usesEval(), isStrictMode(), false, false, ConstructorKind::None, false); }
    546546    UnlinkedModuleProgramCodeBlock* unlinkedModuleProgramCodeBlock() { return m_unlinkedModuleProgramCodeBlock.get(); }
    547547
     
    651651    bool isBuiltinFunction() const { return m_unlinkedExecutable->isBuiltinFunction(); }
    652652    ConstructAbility constructAbility() const { return m_unlinkedExecutable->constructAbility(); }
     653    bool isArrowFunction() const { return m_unlinkedExecutable->isArrowFunction(); }
    653654    bool isClassConstructorFunction() const { return m_unlinkedExecutable->isClassConstructorFunction(); }
    654655    const Identifier& name() { return m_unlinkedExecutable->name(); }
     
    656657    JSString* nameValue() const { return m_unlinkedExecutable->nameValue(); }
    657658    size_t parameterCount() const { return m_unlinkedExecutable->parameterCount(); } // Excluding 'this'!
    658     SourceParseMode parseMode() const { return m_unlinkedExecutable->parseMode(); }
    659     bool isArrowFunction() const { return parseMode() == SourceParseMode::ArrowFunctionMode; }
    660659
    661660    static void visitChildren(JSCell*, SlotVisitor&);
Note: See TracChangeset for help on using the changeset viewer.