@@ -78,7 +78,7 @@ impl<'tcx> Const<'tcx> {
7878 ConstVal :: Integral ( I16 ( v) ) => C_integral ( Type :: i16 ( ccx) , v as u64 , true ) ,
7979 ConstVal :: Integral ( I32 ( v) ) => C_integral ( Type :: i32 ( ccx) , v as u64 , true ) ,
8080 ConstVal :: Integral ( I64 ( v) ) => C_integral ( Type :: i64 ( ccx) , v as u64 , true ) ,
81- ConstVal :: Integral ( I128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v as u128 ) ,
81+ ConstVal :: Integral ( I128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v as u128 , true ) ,
8282 ConstVal :: Integral ( Isize ( v) ) => {
8383 let i = v. as_i64 ( ccx. tcx ( ) . sess . target . int_type ) ;
8484 C_integral ( Type :: int ( ccx) , i as u64 , true )
@@ -87,7 +87,7 @@ impl<'tcx> Const<'tcx> {
8787 ConstVal :: Integral ( U16 ( v) ) => C_integral ( Type :: i16 ( ccx) , v as u64 , false ) ,
8888 ConstVal :: Integral ( U32 ( v) ) => C_integral ( Type :: i32 ( ccx) , v as u64 , false ) ,
8989 ConstVal :: Integral ( U64 ( v) ) => C_integral ( Type :: i64 ( ccx) , v, false ) ,
90- ConstVal :: Integral ( U128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v) ,
90+ ConstVal :: Integral ( U128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v, false ) ,
9191 ConstVal :: Integral ( Usize ( v) ) => {
9292 let u = v. as_u64 ( ccx. tcx ( ) . sess . target . uint_type ) ;
9393 C_integral ( Type :: int ( ccx) , u, false )
0 commit comments