Changeset 94802 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Sep 8, 2011, 2:38:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r94731 r94802 32 32 33 33 #include "BytecodeGenerator.h" 34 #include "DFGCapabilities.h" 34 35 #include "Debugger.h" 35 36 #include "Interpreter.h" … … 1931 1932 return error; 1932 1933 } 1934 1935 bool ProgramCodeBlock::canCompileWithDFG() 1936 { 1937 return DFG::canCompileProgram(this); 1938 } 1939 1940 bool EvalCodeBlock::canCompileWithDFG() 1941 { 1942 return DFG::canCompileEval(this); 1943 } 1944 1945 bool FunctionCodeBlock::canCompileWithDFG() 1946 { 1947 if (m_isConstructor) 1948 return DFG::canCompileFunctionForConstruct(this); 1949 return DFG::canCompileFunctionForCall(this); 1950 } 1933 1951 #endif 1934 1952
Note:
See TracChangeset
for help on using the changeset viewer.