Only use a single bug!() invocation in call_intrinsic_match

This reduces code size
This commit is contained in:
bjorn3 2022-01-09 15:31:44 +01:00
parent 409e3eb2cb
commit 046e094842
1 changed files with 3 additions and 3 deletions

View File

@ -88,13 +88,13 @@ macro call_intrinsic_match {
$ret.write_cvalue($fx, res);
return true;
} else {
bug!("wrong number of args for intrinsic {:?}", $intrinsic);
}
}
)*
_ => false,
_ => return false,
}
bug!("wrong number of args for intrinsic {:?}", $intrinsic);
}
}