Changeset 189819 in webkit for trunk/Source/JavaScriptCore/parser/Nodes.h
- Timestamp:
- Sep 15, 2015, 12:26:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Nodes.h
r188928 r189819 1555 1555 void setUsesArguments() { m_features |= ArgumentsFeature; } 1556 1556 bool usesThis() const { return m_features & ThisFeature; } 1557 bool needsActivationForMoreThanVariables() const { return m_features & (EvalFeature | WithFeature | CatchFeature); } 1558 bool needsActivation() const { return (hasCapturedVariables()) || (m_features & (EvalFeature | WithFeature | CatchFeature)); } 1557 bool needsActivation() const { return (hasCapturedVariables()) || (m_features & (EvalFeature | WithFeature)); } 1559 1558 bool hasCapturedVariables() const { return m_varDeclarations.hasCapturedVariables(); } 1560 1559 bool captures(UniquedStringImpl* uid) { return m_varDeclarations.captures(uid); }
Note:
See TracChangeset
for help on using the changeset viewer.