@@ -78,7 +78,7 @@ impl<'tcx> Const<'tcx> {
78
78
ConstVal :: Integral ( I16 ( v) ) => C_integral ( Type :: i16 ( ccx) , v as u64 , true ) ,
79
79
ConstVal :: Integral ( I32 ( v) ) => C_integral ( Type :: i32 ( ccx) , v as u64 , true ) ,
80
80
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 ) ,
82
82
ConstVal :: Integral ( Isize ( v) ) => {
83
83
let i = v. as_i64 ( ccx. tcx ( ) . sess . target . int_type ) ;
84
84
C_integral ( Type :: int ( ccx) , i as u64 , true )
@@ -87,7 +87,7 @@ impl<'tcx> Const<'tcx> {
87
87
ConstVal :: Integral ( U16 ( v) ) => C_integral ( Type :: i16 ( ccx) , v as u64 , false ) ,
88
88
ConstVal :: Integral ( U32 ( v) ) => C_integral ( Type :: i32 ( ccx) , v as u64 , false ) ,
89
89
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 ) ,
91
91
ConstVal :: Integral ( Usize ( v) ) => {
92
92
let u = v. as_u64 ( ccx. tcx ( ) . sess . target . uint_type ) ;
93
93
C_integral ( Type :: int ( ccx) , u, false )
0 commit comments