Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
This load of functions was defined with the wrong types...
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Olson committed Aug 13, 2010
1 parent ebf355d commit 41878f9
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions llvm/Core.ooc
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 41878f9

Please sign in to comment.