X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp diff --git a/dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp b/dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp index 47c4fbb..70cc825 100644 --- a/dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp +++ b/dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp @@ -45,11 +45,10 @@ ToFTLForOSREntryDeferredCompilationCallback::~ToFTLForOSREntryDeferredCompilatio { } -PassRefPtr -ToFTLForOSREntryDeferredCompilationCallback::create( +RefToFTLForOSREntryDeferredCompilationCallback::create( PassRefPtr dfgCodeBlock) { - return adoptRef(new ToFTLForOSREntryDeferredCompilationCallback(dfgCodeBlock)); + return adoptRef(*new ToFTLForOSREntryDeferredCompilationCallback(dfgCodeBlock)); } void ToFTLForOSREntryDeferredCompilationCallback::compilationDidBecomeReadyAsynchronously(