Bug 1245421: Remove dead function CoercesToDouble; r?h4writer
--- a/js/src/jit/TypePolicy.h
+++ b/js/src/jit/TypePolicy.h
@@ -520,24 +520,16 @@ class ClampPolicy final : public TypePol
class FilterTypeSetPolicy final : public TypePolicy
{
public:
EMPTY_DATA_;
virtual bool adjustInputs(TempAllocator& alloc, MInstruction* ins) override;
};
-static inline bool
-CoercesToDouble(MIRType type)
-{
- if (type == MIRType_Undefined || IsFloatingPointType(type))
- return true;
- return false;
-}
-
#undef SPECIALIZATION_DATA_
#undef INHERIT_DATA_
#undef EMPTY_DATA_
} // namespace jit
} // namespace js
#endif /* jit_TypePolicy_h */