cl: _testpy/gcd
This commit is contained in:
@@ -313,7 +313,7 @@ func (p Program) toLLVMTypes(t *types.Tuple, n int) (ret []llvm.Type) {
|
||||
func (p Program) toLLVMFunc(sig *types.Signature) llvm.Type {
|
||||
tParams := sig.Params()
|
||||
n := tParams.Len()
|
||||
hasVArg := HasVArg(tParams, n)
|
||||
hasVArg := HasVArg(tParams, n, sig)
|
||||
if hasVArg {
|
||||
n--
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user