Permalink
Browse files

Default value of "" for name for Builder call(). I wish I could do th…

…is for extern functions.
  • Loading branch information...
1 parent 0636f7b commit 8d6d226f64d9377248125d644246d15c8aa542c4 Scott Olson committed Dec 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 llvm/Core.ooc
View
@@ -322,7 +322,7 @@ Builder: cover from LLVMBuilderRef {
// Miscellaneous instructions
phi: extern(LLVMBuildPhi) func (Type, name: CString) -> Value
call: extern(LLVMBuildCall) func (fn: Function, args: Value*, numArgs: UInt, name: CString) -> Value
- call: func ~withArray (fn: Function, args: Value[], name: String) -> Value {
+ call: func ~withArray (fn: Function, args: Value[], name := "") -> Value {
call(fn, args data, args length, name)
}
select: extern(LLVMBuildSelect) func (ifVal, thenVal, elseVal: Value, name: CString) -> Value

0 comments on commit 8d6d226

Please sign in to comment.