File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,8 @@ macro_rules! wrapping_impl {
288
288
}
289
289
290
290
wrapping_impl ! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 }
291
+ #[ cfg( not( stage0) ) ]
292
+ wrapping_impl ! { u128 i128 }
291
293
292
294
mod shift_max {
293
295
#![ allow( non_upper_case_globals) ]
Original file line number Diff line number Diff line change @@ -538,7 +538,6 @@ extern {
538
538
pub fn LLVMInt16TypeInContext ( C : ContextRef ) -> TypeRef ;
539
539
pub fn LLVMInt32TypeInContext ( C : ContextRef ) -> TypeRef ;
540
540
pub fn LLVMInt64TypeInContext ( C : ContextRef ) -> TypeRef ;
541
- pub fn LLVMInt128TypeInContext ( C : ContextRef ) -> TypeRef ;
542
541
pub fn LLVMIntTypeInContext ( C : ContextRef , NumBits : c_uint )
543
542
-> TypeRef ;
544
543
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl Type {
96
96
}
97
97
98
98
pub fn i128 ( ccx : & CrateContext ) -> Type {
99
- ty ! ( llvm:: LLVMInt128TypeInContext ( ccx. llcx( ) ) )
99
+ ty ! ( llvm:: LLVMIntTypeInContext ( ccx. llcx( ) , 128 ) )
100
100
}
101
101
102
102
// Creates an integer type with the given number of bits, e.g. i24
You can’t perform that action at this time.
0 commit comments