Commit 7e8bd1a4 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

IR validation is now only done in debug builds

parent 31e67c5b
Pipeline #894 failed with stages
in 34 minutes and 14 seconds
......@@ -22,8 +22,8 @@ use utils::bit_utils::bits_ones;
use std;
macro_rules! assert_ir {
( $ cond : expr ) => { assert!($cond) };
($ cond : expr , $ ( $ arg : tt ) + ) => { assert!($cond, $($arg)+)};
($ cond : expr ) => { debug_assert!($cond) };
($ cond : expr , $ ( $ arg : tt ) + ) => { debug_assert!($cond, $($arg)+)};
}
......
Markdown is supported
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