1
Fork 0

Stop stringifying integers to get integral constants.

This commit is contained in:
Graydon Hoare 2011-05-07 18:54:23 +00:00
parent a71fda40b8
commit db3b9a4992
4 changed files with 43 additions and 32 deletions

View file

@ -864,6 +864,10 @@ native mod llvm = llvm_lib {
/** Parses the bitcode in the given memory buffer. */
fn LLVMRustParseBitcode(MemoryBufferRef MemBuf) -> ModuleRef;
/** FiXME: Hacky adaptor for lack of ULongLong in FFI. */
fn LLVMRustConstSmallInt(TypeRef IntTy, uint N,
Bool SignExtend) -> ValueRef;
/** Links LLVM modules together. `Src` is destroyed by this call and
must never be referenced again. */
fn LLVMLinkModules(ModuleRef Dest, ModuleRef Src) -> Bool;