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)

Differential Revision: https://phabricator.services.mozilla.com/D77569
parent 9a078db5
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment