@@ -20,6 +20,7 @@ use libc::{c_ulonglong, c_void};
2020
2121use std:: marker:: PhantomData ;
2222use common;
23+ use rustc_codegen_utils;
2324use syntax;
2425
2526use super :: RustString ;
@@ -144,18 +145,18 @@ pub enum IntPredicate {
144145}
145146
146147impl IntPredicate {
147- pub fn from_generic ( intpre : common:: IntPredicate ) -> Self {
148+ pub fn from_generic ( intpre : rustc_codegen_utils :: common:: IntPredicate ) -> Self {
148149 match intpre {
149- common:: IntPredicate :: IntEQ => IntPredicate :: IntEQ ,
150- common:: IntPredicate :: IntNE => IntPredicate :: IntNE ,
151- common:: IntPredicate :: IntUGT => IntPredicate :: IntUGT ,
152- common:: IntPredicate :: IntUGE => IntPredicate :: IntUGE ,
153- common:: IntPredicate :: IntULT => IntPredicate :: IntULT ,
154- common:: IntPredicate :: IntULE => IntPredicate :: IntULE ,
155- common:: IntPredicate :: IntSGT => IntPredicate :: IntSGT ,
156- common:: IntPredicate :: IntSGE => IntPredicate :: IntSGE ,
157- common:: IntPredicate :: IntSLT => IntPredicate :: IntSLT ,
158- common:: IntPredicate :: IntSLE => IntPredicate :: IntSLE ,
150+ rustc_codegen_utils :: common:: IntPredicate :: IntEQ => IntPredicate :: IntEQ ,
151+ rustc_codegen_utils :: common:: IntPredicate :: IntNE => IntPredicate :: IntNE ,
152+ rustc_codegen_utils :: common:: IntPredicate :: IntUGT => IntPredicate :: IntUGT ,
153+ rustc_codegen_utils :: common:: IntPredicate :: IntUGE => IntPredicate :: IntUGE ,
154+ rustc_codegen_utils :: common:: IntPredicate :: IntULT => IntPredicate :: IntULT ,
155+ rustc_codegen_utils :: common:: IntPredicate :: IntULE => IntPredicate :: IntULE ,
156+ rustc_codegen_utils :: common:: IntPredicate :: IntSGT => IntPredicate :: IntSGT ,
157+ rustc_codegen_utils :: common:: IntPredicate :: IntSGE => IntPredicate :: IntSGE ,
158+ rustc_codegen_utils :: common:: IntPredicate :: IntSLT => IntPredicate :: IntSLT ,
159+ rustc_codegen_utils :: common:: IntPredicate :: IntSLE => IntPredicate :: IntSLE ,
159160 }
160161 }
161162}
0 commit comments