Navigation Menu

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

Commit

Permalink
Builder call() with ArrayList.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Olson committed Dec 9, 2010
1 parent 8d6d226 commit 0b109eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/Core.ooc
Expand Up @@ -325,6 +325,9 @@ Builder: cover from LLVMBuilderRef {
call: func ~withArray (fn: Function, args: Value[], name := "") -> Value {
call(fn, args data, args length, name)
}
call: func ~withArrayList (fn: Function, args: ArrayList<Value>, name := "") -> Value {
call(fn, args toArray() as Value*, args size as UInt, name)
}
select: extern(LLVMBuildSelect) func (ifVal, thenVal, elseVal: Value, name: CString) -> Value
vaArg: extern(LLVMBuildVAArg) func (list: Value, Type, name: CString) -> Value
extractElement: extern(LLVMBuildExtractElement) func (vector, index: Value, name: CString) -> Value
Expand Down

0 comments on commit 0b109eb

Please sign in to comment.