Changeset 153179 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jul 24, 2013, 9:00:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r153177 r153179 1593 1593 , m_putToBaseOperations(other.m_putToBaseOperations) 1594 1594 #if ENABLE(JIT) 1595 , m_ca nCompileWithDFGState(DFG::CapabilityLevelNotSet)1595 , m_capabilityLevelState(DFG::CapabilityLevelNotSet) 1596 1596 #endif 1597 1597 { … … 2885 2885 } 2886 2886 2887 DFG::CapabilityLevel ProgramCodeBlock::ca nCompileWithDFGInternal()2888 { 2889 return DFG:: canCompileProgram(this);2890 } 2891 2892 DFG::CapabilityLevel EvalCodeBlock::ca nCompileWithDFGInternal()2893 { 2894 return DFG:: canCompileEval(this);2895 } 2896 2897 DFG::CapabilityLevel FunctionCodeBlock::ca nCompileWithDFGInternal()2887 DFG::CapabilityLevel ProgramCodeBlock::capabilityLevelInternal() 2888 { 2889 return DFG::programCapabilityLevel(this); 2890 } 2891 2892 DFG::CapabilityLevel EvalCodeBlock::capabilityLevelInternal() 2893 { 2894 return DFG::evalCapabilityLevel(this); 2895 } 2896 2897 DFG::CapabilityLevel FunctionCodeBlock::capabilityLevelInternal() 2898 2898 { 2899 2899 if (m_isConstructor) 2900 return DFG:: canCompileFunctionForConstruct(this);2901 return DFG:: canCompileFunctionForCall(this);2900 return DFG::functionForConstructCapabilityLevel(this); 2901 return DFG::functionForCallCapabilityLevel(this); 2902 2902 } 2903 2903
Note:
See TracChangeset
for help on using the changeset viewer.