diff options
Diffstat (limited to 'lib/CodeGen/CGCUDARuntime.cpp')
| -rw-r--r-- | lib/CodeGen/CGCUDARuntime.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCUDARuntime.cpp b/lib/CodeGen/CGCUDARuntime.cpp index fc72008af8866..eaf31bb6f67f3 100644 --- a/lib/CodeGen/CGCUDARuntime.cpp +++ b/lib/CodeGen/CGCUDARuntime.cpp @@ -44,8 +44,8 @@ RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF,    }    llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); -  CGF.EmitCall(E->getCallee()->getType(), Callee, ReturnValue, -               E->arg_begin(), E->arg_end(), TargetDecl); +  CGF.EmitCall(E->getCallee()->getType(), Callee, E->getLocStart(), +               ReturnValue, E->arg_begin(), E->arg_end(), TargetDecl);    CGF.EmitBranch(ContBlock);    CGF.EmitBlock(ContBlock);  | 
