diff --git a/js/src/ion/MIR.h b/js/src/ion/MIR.h index a0613232c87..2956419ed2b 100644 --- a/js/src/ion/MIR.h +++ b/js/src/ion/MIR.h @@ -3070,7 +3070,7 @@ class MConstantElements : public MNullaryInstruction void printOpcode(FILE *fp); HashNumber valueHash() const { - return (HashNumber) value_; + return (HashNumber)(size_t) value_; } bool congruentTo(MDefinition * const &ins) const {