Changeset 153134 in webkit for trunk/Source/JavaScriptCore/dfg/DFGDriver.cpp
- Timestamp:
- Jul 24, 2013, 8:59:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGDriver.cpp
r153124 r153134 52 52 #include "FTLCapabilities.h" 53 53 #include "FTLCompile.h" 54 #include "FTLLink.h" 54 55 #include "FTLLowerDFGToLLVM.h" 55 56 #include "FTLState.h" 56 57 #include "Operations.h" 57 58 #include "Options.h" 59 #include <wtf/CompilationThread.h> 58 60 59 61 namespace JSC { namespace DFG { … … 82 84 { 83 85 SamplingRegion samplingRegion("DFG Compilation (Driver)"); 86 CompilationScope compilationScope; 84 87 85 88 numCompilations++; … … 175 178 FTL::State state(dfg); 176 179 FTL::lowerDFGToLLVM(state); 177 return FTL::compile(state, jitCode, *jitCodeWithArityCheck); 180 FTL::compile(state); 181 compilationScope.leaveEarly(); 182 return FTL::link(state, jitCode, *jitCodeWithArityCheck); 178 183 } 179 184 #endif // ENABLE(FTL_JIT) … … 187 192 ASSERT(jitCodeWithArityCheck); 188 193 189 result = dataFlowJIT.compileFunction(jitCode, *jitCodeWithArityCheck); 194 if (!dataFlowJIT.compileFunction()) 195 return false; 196 compilationScope.leaveEarly(); 197 result = dataFlowJIT.linkFunction(jitCode, *jitCodeWithArityCheck); 190 198 } else { 191 199 ASSERT(compileMode == CompileOther); 192 200 ASSERT(!jitCodeWithArityCheck); 193 201 194 result = dataFlowJIT.compile(jitCode); 202 if (!dataFlowJIT.compile()) 203 return false; 204 compilationScope.leaveEarly(); 205 result = dataFlowJIT.link(jitCode); 195 206 } 196 207
Note:
See TracChangeset
for help on using the changeset viewer.