Changeset 193606 in webkit for trunk/Source/JavaScriptCore/bytecode/ExecutableInfo.h
- Timestamp:
- Dec 6, 2015, 5:54:43 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/ExecutableInfo.h
r193584 r193606 35 35 // https://bugs.webkit.org/show_bug.cgi?id=151547 36 36 struct ExecutableInfo { 37 ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, GeneratorThisMode generatorThisMode, SuperBinding superBinding, SourceParseMode parseMode , bool isDerivedConstructorContext, bool isArrowFunctionContext)37 ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, GeneratorThisMode generatorThisMode, SuperBinding superBinding, SourceParseMode parseMode) 38 38 : m_needsActivation(needsActivation) 39 39 , m_usesEval(usesEval) … … 45 45 , m_superBinding(static_cast<unsigned>(superBinding)) 46 46 , m_parseMode(parseMode) 47 , m_isDerivedConstructorContext(isDerivedConstructorContext)48 , m_isArrowFunctionContext(isArrowFunctionContext)49 47 { 50 48 ASSERT(m_constructorKind == static_cast<unsigned>(constructorKind)); … … 62 60 SuperBinding superBinding() const { return static_cast<SuperBinding>(m_superBinding); } 63 61 SourceParseMode parseMode() const { return m_parseMode; } 64 bool isDerivedConstructorContext() const { return m_isDerivedConstructorContext; }65 bool isArrowFunctionContext() const { return m_isArrowFunctionContext; }66 62 67 63 private: … … 75 71 unsigned m_superBinding : 1; 76 72 SourceParseMode m_parseMode; 77 unsigned m_isDerivedConstructorContext : 1;78 unsigned m_isArrowFunctionContext : 1;79 73 }; 80 74
Note:
See TracChangeset
for help on using the changeset viewer.