Commit 88a10734 authored by Tom Schuster's avatar Tom Schuster
Browse files

Bug 1640686 - Disable an assert when using Warp (bustage fix for feature disabled by default)

parent 9a078db5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -10686,8 +10686,10 @@ class MIsCallable : public MUnaryInstruction,
                    public BoxExceptPolicy<0, MIRType::Object>::Data {
  explicit MIsCallable(MDefinition* object)
      : MUnaryInstruction(classOpcode, object) {
    MOZ_ASSERT(object->type() == MIRType::Object ||
               object->type() == MIRType::Value);
    MOZ_ASSERT_IF(
        !JitOptions.warpBuilder,
        object->type() == MIRType::Object || object->type() == MIRType::Value);

    setResultType(MIRType::Boolean);
    setMovable();
  }