Make CtonError parameterized on the result type.
This makes it more consistent with other custom `Result` types.
This commit is contained in:
@@ -72,7 +72,7 @@ impl Context {
|
||||
func: &mut Function,
|
||||
cfg: &ControlFlowGraph,
|
||||
domtree: &mut DominatorTree,
|
||||
) -> CtonResult {
|
||||
) -> CtonResult<()> {
|
||||
let _tt = timing::regalloc();
|
||||
debug_assert!(domtree.is_valid());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user