Disable Smi representation support for HMathMinMax
because it's incomplete on x64. BUG=v8:2808 R=verwaest@chromium.org Review URL: https://codereview.chromium.org/20690002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15893 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
90249cf92b
commit
e9046dccb3
@ -4792,7 +4792,8 @@ class HMathMinMax: public HArithmeticBinaryOperation {
|
||||
virtual Representation RepresentationFromInputs() {
|
||||
Representation left_rep = left()->representation();
|
||||
Representation right_rep = right()->representation();
|
||||
Representation result = Representation::Smi();
|
||||
// TODO(verwaest): Initialize to Smi once lithium-codegen has been fixed.
|
||||
Representation result = Representation::Integer32();
|
||||
result = result.generalize(left_rep);
|
||||
result = result.generalize(right_rep);
|
||||
if (result.IsTagged()) return Representation::Double();
|
||||
|
Loading…
Reference in New Issue
Block a user