File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 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 @@ -533,7 +533,6 @@ extern {
533
533
pub fn LLVMInt16TypeInContext ( C : ContextRef ) -> TypeRef ;
534
534
pub fn LLVMInt32TypeInContext ( C : ContextRef ) -> TypeRef ;
535
535
pub fn LLVMInt64TypeInContext ( C : ContextRef ) -> TypeRef ;
536
- pub fn LLVMInt128TypeInContext ( C : ContextRef ) -> TypeRef ;
537
536
pub fn LLVMIntTypeInContext ( C : ContextRef , NumBits : c_uint )
538
537
-> TypeRef ;
539
538
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ impl Type {
97
97
}
98
98
99
99
pub fn i128 ( ccx : & CrateContext ) -> Type {
100
- ty ! ( llvm:: LLVMInt128TypeInContext ( ccx. llcx( ) ) )
100
+ ty ! ( llvm:: LLVMIntTypeInContext ( ccx. llcx( ) , 128 ) )
101
101
}
102
102
103
103
// 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