Changeset 190589 in webkit for trunk/Source/JavaScriptCore/jit/JITToDFGDeferredCompilationCallback.cpp
- Timestamp:
- Oct 5, 2015, 4:31:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITToDFGDeferredCompilationCallback.cpp
r190546 r190589 44 44 45 45 void JITToDFGDeferredCompilationCallback::compilationDidBecomeReadyAsynchronously( 46 CodeBlock* codeBlock )46 CodeBlock* codeBlock, CodeBlock* profiledDFGCodeBlock) 47 47 { 48 ASSERT_UNUSED(profiledDFGCodeBlock, !profiledDFGCodeBlock); 48 49 ASSERT(codeBlock->alternative()->jitType() == JITCode::BaselineJIT); 49 50 … … 55 56 56 57 void JITToDFGDeferredCompilationCallback::compilationDidComplete( 57 CodeBlock* codeBlock, Co mpilationResult result)58 CodeBlock* codeBlock, CodeBlock* profiledDFGCodeBlock, CompilationResult result) 58 59 { 60 ASSERT(!profiledDFGCodeBlock); 59 61 ASSERT(codeBlock->alternative()->jitType() == JITCode::BaselineJIT); 60 62 … … 67 69 codeBlock->alternative()->setOptimizationThresholdBasedOnCompilationResult(result); 68 70 69 DeferredCompilationCallback::compilationDidComplete(codeBlock, result);71 DeferredCompilationCallback::compilationDidComplete(codeBlock, profiledDFGCodeBlock, result); 70 72 } 71 73
Note:
See TracChangeset
for help on using the changeset viewer.