Calls to HCheckFunction can be eliminated if the value is an HConstant
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 8 Jul 2013 09:00:59 +0000 (09:00 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 8 Jul 2013 09:00:59 +0000 (09:00 +0000)
commiteea586f2a1dbadbf79be4b69977840d67340970f
tree2dc194c97822c80919eec7a05a5d182a50698c48
parent99f171a1283b8123a08abe06fa5242e6eb2f039f
Calls to HCheckFunction can be eliminated if the value is an HConstant
function, and that function handle matches the target handle.

BUG=
R=danno@chromium.org, mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/18751003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15540 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/objects.cc