Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 9abd5a0c3da381152c086379481c6e4e179e0610..478851085177aa89c633d6ad7c61c2ef09db2e97 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -469,8 +469,13 @@ class MacroAssembler: public Assembler { |
void VFPEnsureFPSCRState(Register scratch); |
// If the value is a NaN, canonicalize the value else, do nothing. |
- void VFPCanonicalizeNaN(const DwVfpRegister value, |
+ void VFPCanonicalizeNaN(const DwVfpRegister dst, |
+ const DwVfpRegister src, |
const Condition cond = al); |
+ void VFPCanonicalizeNaN(const DwVfpRegister value, |
+ const Condition cond = al) { |
+ VFPCanonicalizeNaN(value, value, cond); |
+ } |
// Compare double values and move the result to the normal condition flags. |
void VFPCompareAndSetFlags(const DwVfpRegister src1, |