DFG bytecode parser is too aggressive about getting rid of GetLocals on captured variables
https://bugs.webkit.org/show_bug.cgi?id=112287
<rdar://problem/13342340>

Reviewed by Oliver Hunt.

Source/JavaScriptCore: 

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode):
(JSC::CodeBlock::finalizeUnconditionally):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::getLocal):

LayoutTests: 

* fast/js/dfg-captured-var-get-local-expected.txt: Added.
* fast/js/dfg-captured-var-get-local.html: Added.
* fast/js/jsc-test-list:
* fast/js/script-tests/dfg-captured-var-get-local.js: Added.
(foo):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145828 268f45cc-cd09-0410-ab3c-d52691b4dbfc