Use the method form for CodegenCx everywhere

This commit is contained in:
Denis Merigoux
2018-08-30 15:41:59 +02:00
committed by Eduard-Mihai Burtescu
parent 6c5b990c5f
commit 3e77f2fc4f
16 changed files with 54 additions and 55 deletions

View File

@@ -8,8 +8,10 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::fmt::Debug;
pub trait Backend {
type Value;
type Value: Debug + PartialEq;
type BasicBlock;
type Type;
type Context;