Changeset 195876 in webkit for trunk/Source/JavaScriptCore/runtime/Executable.h
- Timestamp:
- Jan 29, 2016, 6:05:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Executable.h
r195862 r195876 351 351 bool isArrowFunctionContext() const { return m_isArrowFunctionContext; } 352 352 bool isStrictMode() const { return m_features & StrictModeFeature; } 353 DerivedContextType derivedContextType() const { return m_derivedContextType; }353 DerivedContextType derivedContextType() const { return static_cast<DerivedContextType>(m_derivedContextType); } 354 354 355 355 ECMAMode ecmaMode() const { return isStrictMode() ? StrictMode : NotStrictMode; } … … 414 414 } 415 415 416 SourceCode m_source;417 416 CodeFeatures m_features; 418 bool m_hasCapturedVariables;419 bool m_neverInline;420 bool m_neverOptimize { false };421 417 bool m_didTryToEnterInLoop; 422 DerivedContextType m_derivedContextType; 423 bool m_isArrowFunctionContext; 418 bool m_hasCapturedVariables : 1; 419 bool m_neverInline : 1; 420 bool m_neverOptimize : 1; 421 bool m_isArrowFunctionContext : 1; 422 unsigned m_derivedContextType : 2; // DerivedContextType 423 424 424 int m_overrideLineNumber; 425 425 int m_firstLine; … … 429 429 unsigned m_typeProfilingStartOffset; 430 430 unsigned m_typeProfilingEndOffset; 431 SourceCode m_source; 431 432 }; 432 433 … … 700 701 friend class ScriptExecutable; 701 702 703 unsigned m_parametersStartOffset; 702 704 WriteBarrier<UnlinkedFunctionExecutable> m_unlinkedExecutable; 703 705 WriteBarrier<FunctionCodeBlock> m_codeBlockForCall; 704 706 WriteBarrier<FunctionCodeBlock> m_codeBlockForConstruct; 705 707 RefPtr<TypeSet> m_returnStatementTypeSet; 706 unsigned m_parametersStartOffset;707 708 WriteBarrier<InferredValue> m_singletonFunction; 708 709 };
Note:
See TracChangeset
for help on using the changeset viewer.