Permalink
Browse files

This load of functions was defined with the wrong types...

  • Loading branch information...
1 parent ebf355d commit 41878f971fb8637344d55848363b90b0dd1352a6 @solson committed Aug 13, 2010
Showing with 22 additions and 22 deletions.
  1. +22 −22 llvm/Core.ooc
View
44 llvm/Core.ooc
@@ -189,10 +189,10 @@ Builder: cover from LLVMBuilderRef {
not: extern(LLVMBuildNot) func (val: Value, name: String) -> Value
// Memory instructions
- malloc: extern(LLVMBuildMalloc) func (Type, name: String) -> Value
- alloca: extern(LLVMBuildAlloca) func (Type, name: String) -> Value
- arrayMalloc: extern(LLVMBuildArrayMalloc) func (Type, Value, name: String) -> Value
- arrayAlloca: extern(LLVMBuildArrayMalloc) func (Type, Value, name: String) -> Value
+ malloc: extern(LLVMBuildMalloc) func (Type, String) -> Value
+ alloca: extern(LLVMBuildAlloca) func (Type, String) -> Value
+ arrayMalloc: extern(LLVMBuildArrayMalloc) func (Type, Value, String) -> Value
+ arrayAlloca: extern(LLVMBuildArrayMalloc) func (Type, Value, String) -> Value
free: extern(LLVMBuildFree) func (pointer: Value) -> Value
load: extern(LLVMBuildLoad) func (pointer: Value, name: String) -> Value
@@ -206,24 +206,24 @@ Builder: cover from LLVMBuilderRef {
globalStringPtr: extern(LLVMBuildGlobalStringPtr) func (str: String, name: String) -> Value
// Cast instructions
- trunc: extern(LLVMBuildTrunc) func (Value, Type, name: String) -> Value
- zext: extern(LLVMBuildZExt) func (Value, Type, name: String) -> Value
- sext: extern(LLVMBuildSExt) func (Value, Type, name: String) -> Value
- fptoui: extern(LLVMBuildFPToUI) func (Value, Type, name: String) -> Value
- fptosi: extern(LLVMBuildFPToSI) func (Value, Type, name: String) -> Value
- uitofp: extern(LLVMBuildUIToFP) func (Value, Type, name: String) -> Value
- sitofp: extern(LLVMBuildSIToFP) func (Value, Type, name: String) -> Value
- fptrunc: extern(LLVMBuildFPTrunc) func (Value, Type, name: String) -> Value
- fpext: extern(LLVMBuildFPExt) func (Value, Type, name: String) -> Value
- ptrtoint: extern(LLVMBuildPtrToInt) func (Value, Type, name: String) -> Value
- inttoptr: extern(LLVMBuildIntToPtr) func (Value, Type, name: String) -> Value
- bitcast: extern(LLVMBuildBitCast) func (Value, Type, name: String) -> Value
- zextOrBitcast: extern(LLVMBuildZExtOrBitCast) func (Value, Type, name: String) -> Value
- sextOrBitcast: extern(LLVMBuildSExtOrBitCast) func (Value, Type, name: String) -> Value
- truncOrBitcast: extern(LLVMBuildTruncOrBitCast) func (Value, Type, name: String) -> Value
- pointerCast: extern(LLVMBuildPointerCast) func (Value, Type, name: String) -> Value
- intCast: extern(LLVMBuildIntCast) func (Value, Type, name: String) -> Value
- fpCast: extern(LLVMBuildFPCast) func (Value, Type, name: String) -> Value
+ trunc: extern(LLVMBuildTrunc) func (Value, Type, String) -> Value
+ zext: extern(LLVMBuildZExt) func (Value, Type, String) -> Value
+ sext: extern(LLVMBuildSExt) func (Value, Type, String) -> Value
+ fptoui: extern(LLVMBuildFPToUI) func (Value, Type, String) -> Value
+ fptosi: extern(LLVMBuildFPToSI) func (Value, Type, String) -> Value
+ uitofp: extern(LLVMBuildUIToFP) func (Value, Type, String) -> Value
+ sitofp: extern(LLVMBuildSIToFP) func (Value, Type, String) -> Value
+ fptrunc: extern(LLVMBuildFPTrunc) func (Value, Type, String) -> Value
+ fpext: extern(LLVMBuildFPExt) func (Value, Type, String) -> Value
+ ptrtoint: extern(LLVMBuildPtrToInt) func (Value, Type, String) -> Value
+ inttoptr: extern(LLVMBuildIntToPtr) func (Value, Type, String) -> Value
+ bitcast: extern(LLVMBuildBitCast) func (Value, Type, String) -> Value
+ zextOrBitcast: extern(LLVMBuildZExtOrBitCast) func (Value, Type, String) -> Value
+ sextOrBitcast: extern(LLVMBuildSExtOrBitCast) func (Value, Type, String) -> Value
+ truncOrBitcast: extern(LLVMBuildTruncOrBitCast) func (Value, Type, String) -> Value
+ pointerCast: extern(LLVMBuildPointerCast) func (Value, Type, String) -> Value
+ intCast: extern(LLVMBuildIntCast) func (Value, Type, String) -> Value
+ fpCast: extern(LLVMBuildFPCast) func (Value, Type, String) -> Value
// Comparison instructions
icmp: extern(LLVMBuildICmp) func (IntPredicate, lhs, rhs: Value, name: String) -> Value

0 comments on commit 41878f9

Please sign in to comment.