-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=90209 Source/JavaScriptCore: Reviewed by Gavin Barraclough. Don't attempt to short-circuit Phantom(GetLocal) if the GetLocal is for a captured variable. * dfg/DFGCFGSimplificationPhase.cpp: (JSC::DFG::CFGSimplificationPhase::mergeBlocks): LayoutTests: Reviewed by Gavin Barraclough. * fast/js/dfg-cfg-simplify-phantom-get-local-on-same-block-set-local-expected.txt: Added. * fast/js/dfg-cfg-simplify-phantom-get-local-on-same-block-set-local.html: Added. * fast/js/script-tests/dfg-cfg-simplify-phantom-get-local-on-same-block-set-local.js: Added. (baz): (stuff): (foo): (o.g): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3aef57f1