]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_llvm/ffi.rs
Make trans const eval error on overflow and NaN, matching HIR const eval.
[rust.git] / src / librustc_llvm / ffi.rs
index 6f640e580c9d5cdbb99b231725a9b7146ccd0253..ac0e4dde0c1024e95bbc2f3c91ad49e96a1423c3 100644 (file)
@@ -628,8 +628,6 @@ pub fn LLVMStructTypeInContext(C: ContextRef,
     pub fn LLVMConstIntGetSExtValue(ConstantVal: ValueRef) -> c_longlong;
     pub fn LLVMRustConstInt128Get(ConstantVal: ValueRef, SExt: bool,
                                   high: *mut u64, low: *mut u64) -> bool;
-    pub fn LLVMRustIsConstantFP(ConstantVal: ValueRef) -> bool;
-    pub fn LLVMRustConstFloatGetBits(ConstantVal: ValueRef) -> u64;
 
 
     // Operations on composite constants