Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index db9e100e018b429a8718475d348a795b51292035..50a94342c9abb97e16f853f79747615a3fb5d951 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -224,7 +224,8 @@ class OperandGenerator { |
location.AsCalleeFrameSlot(), virtual_register); |
} |
// a fixed register. |
- if (RepresentationOf(type) == kRepFloat64) { |
+ MachineType rep = RepresentationOf(type); |
+ if (rep == kRepFloat64 || rep == kRepFloat32) { |
return UnallocatedOperand(UnallocatedOperand::FIXED_DOUBLE_REGISTER, |
location.AsRegister(), virtual_register); |
} |