DFG ToString generic cases should work correctly
https://bugs.webkit.org/show_bug.cgi?id=112654
<rdar://problem/13447250>

Reviewed by Geoffrey Garen.

Source/JavaScriptCore: 

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileToStringOnCell):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

LayoutTests: 

* fast/js/dfg-to-string-on-cell-expected.txt: Added.
* fast/js/dfg-to-string-on-cell.html: Added.
* fast/js/dfg-to-string-on-value-expected.txt: Added.
* fast/js/dfg-to-string-on-value.html: Added.
* fast/js/jsc-test-list:
* fast/js/script-tests/dfg-to-string-on-cell.js: Added.
(foo):
* fast/js/script-tests/dfg-to-string-on-value.js: Added.
(foo):



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