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/bytecode/ExecutableInfo.h

    r192914 r192935  
    2727#define ExecutableInfo_h
    2828
    29 #include "GeneratorThisMode.h"
    3029#include "ParserModes.h"
    3130
    3231namespace JSC {
    3332
    34 // FIXME: These flags, ParserModes and propagation to XXXCodeBlocks should be reorganized.
    35 // https://bugs.webkit.org/show_bug.cgi?id=151547
    3633struct ExecutableInfo {
    37     ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, GeneratorThisMode generatorThisMode, SuperBinding superBinding, SourceParseMode parseMode)
     34    ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, bool isArrowFunction)
    3835        : m_needsActivation(needsActivation)
    3936        , m_usesEval(usesEval)
     
    4138        , m_isConstructor(isConstructor)
    4239        , m_isBuiltinFunction(isBuiltinFunction)
    43         , m_generatorThisMode(static_cast<unsigned>(generatorThisMode))
    4440        , m_constructorKind(static_cast<unsigned>(constructorKind))
    45         , m_superBinding(static_cast<unsigned>(superBinding))
    46         , m_parseMode(parseMode)
     41        , m_isArrowFunction(isArrowFunction)
    4742    {
    4843        ASSERT(m_constructorKind == static_cast<unsigned>(constructorKind));
    49         ASSERT(m_superBinding == static_cast<unsigned>(superBinding));
    50         ASSERT(m_generatorThisMode == static_cast<unsigned>(generatorThisMode));
    5144    }
    5245
     
    5649    bool isConstructor() const { return m_isConstructor; }
    5750    bool isBuiltinFunction() const { return m_isBuiltinFunction; }
    58     GeneratorThisMode generatorThisMode() const { return static_cast<GeneratorThisMode>(m_generatorThisMode); }
    5951    ConstructorKind constructorKind() const { return static_cast<ConstructorKind>(m_constructorKind); }
    60     SuperBinding superBinding() const { return static_cast<SuperBinding>(m_superBinding); }
    61     SourceParseMode parseMode() const { return m_parseMode; }
     52    bool isArrowFunction() const { return m_isArrowFunction; }
    6253
    6354private:
     
    6758    unsigned m_isConstructor : 1;
    6859    unsigned m_isBuiltinFunction : 1;
    69     unsigned m_generatorThisMode : 1;
    7060    unsigned m_constructorKind : 2;
    71     unsigned m_superBinding : 1;
    72     SourceParseMode m_parseMode;
     61    unsigned m_isArrowFunction : 1;
    7362};
    7463
Note: See TracChangeset for help on using the changeset viewer.