Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Builder call() with ArrayList.

  • Loading branch information...
commit 0b109ebfb5ec6e8e2e003f4126e00a5965ee9368 1 parent 8d6d226
Scott Olson authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  llvm/Core.ooc
3  llvm/Core.ooc
@@ -325,6 +325,9 @@ Builder: cover from LLVMBuilderRef {
325 325 call: func ~withArray (fn: Function, args: Value[], name := "") -> Value {
326 326 call(fn, args data, args length, name)
327 327 }
  328 + call: func ~withArrayList (fn: Function, args: ArrayList<Value>, name := "") -> Value {
  329 + call(fn, args toArray() as Value*, args size as UInt, name)
  330 + }
328 331 select: extern(LLVMBuildSelect) func (ifVal, thenVal, elseVal: Value, name: CString) -> Value
329 332 vaArg: extern(LLVMBuildVAArg) func (list: Value, Type, name: CString) -> Value
330 333 extractElement: extern(LLVMBuildExtractElement) func (vector, index: Value, name: CString) -> Value

0 comments on commit 0b109eb

Please sign in to comment.
Something went wrong with that request. Please try again.