@@ -76,7 +76,7 @@ impl<'tcx> Const<'tcx> {
76
76
ConstVal :: Integral ( I16 ( v) ) => C_integral ( Type :: i16 ( ccx) , v as u64 , true ) ,
77
77
ConstVal :: Integral ( I32 ( v) ) => C_integral ( Type :: i32 ( ccx) , v as u64 , true ) ,
78
78
ConstVal :: Integral ( I64 ( v) ) => C_integral ( Type :: i64 ( ccx) , v as u64 , true ) ,
79
- ConstVal :: Integral ( I128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v as u128 ) ,
79
+ ConstVal :: Integral ( I128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v as u128 , true ) ,
80
80
ConstVal :: Integral ( Isize ( v) ) => {
81
81
let i = v. as_i64 ( ccx. tcx ( ) . sess . target . int_type ) ;
82
82
C_integral ( Type :: int ( ccx) , i as u64 , true )
@@ -85,7 +85,7 @@ impl<'tcx> Const<'tcx> {
85
85
ConstVal :: Integral ( U16 ( v) ) => C_integral ( Type :: i16 ( ccx) , v as u64 , false ) ,
86
86
ConstVal :: Integral ( U32 ( v) ) => C_integral ( Type :: i32 ( ccx) , v as u64 , false ) ,
87
87
ConstVal :: Integral ( U64 ( v) ) => C_integral ( Type :: i64 ( ccx) , v, false ) ,
88
- ConstVal :: Integral ( U128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v) ,
88
+ ConstVal :: Integral ( U128 ( v) ) => C_big_integral ( Type :: i128 ( ccx) , v, false ) ,
89
89
ConstVal :: Integral ( Usize ( v) ) => {
90
90
let u = v. as_u64 ( ccx. tcx ( ) . sess . target . uint_type ) ;
91
91
C_integral ( Type :: int ( ccx) , u, false )
0 commit comments