Do not emit double values at their use sites.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Apr 2013 13:08:10 +0000 (13:08 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Apr 2013 13:08:10 +0000 (13:08 +0000)
commitcd34acdae352aa672b3f2a31e23aaaf5ef3a9119
tree34789cad2e4d839e978b39d74631ad85b4b0b112
parentc46cbccefde692e341071f3b6ab82330ccd58712
Do not emit double values at their use sites.

Revert part of r14179. From the regression test's comment:

Currently, the gap resolver doesn't handle moves from a ConstantOperand to a
DoubleRegister, but these kind of moves appeared when HConstant::EmitAtUses
was changed to allow special double values (-0, NaN, hole). So we should
either enhance the gap resolver or make sure that such moves don't happen.

BUG=chrome:234101

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14394 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen-instructions.h
test/mjsunit/regress/regress-234101.js [new file with mode: 0644]