Concurrent FTL causes !hasOptimizedReplacement() asserts in cti_optimize
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Sep 2013 20:20:23 +0000 (20:20 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Sep 2013 20:20:23 +0000 (20:20 +0000)
commit6689c04d4cab2236579b1bd765a2fd7dc9e42a8b
treefb1203213ac8c1e90ab87e352a9a91ff780277e3
parent980ab9f09d37f2d83ef4467f7ad21c2ec0306c5a
Concurrent FTL causes !hasOptimizedReplacement() asserts in cti_optimize
https://bugs.webkit.org/show_bug.cgi?id=120890

Reviewed by Mark Hahnenberg.

Don't install an FTL code block if the DFG code block has already been jettisoned.

* dfg/DFGToFTLDeferredCompilationCallback.cpp:
(JSC::DFG::ToFTLDeferredCompilationCallback::compilationDidComplete):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGToFTLDeferredCompilationCallback.cpp