diff --git a/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp b/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp
index dc714af6c2758b75db21ffa327650fbd410db8e4..5a778566043ff59e1135c93447ae48fef051ec3c 100644
--- a/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp
+++ b/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp
@@ -169,17 +169,17 @@ private:
   Kernel* kernel;
 
   // VISC Runtime API
-  Constant* llvm_visc_ocl_launch;
-  Constant* llvm_visc_ocl_wait;
-  Constant* llvm_visc_ocl_initContext;
-  Constant* llvm_visc_ocl_clearContext;
-  Constant* llvm_visc_ocl_argument_shared;
-  Constant* llvm_visc_ocl_argument_scalar;
-  Constant* llvm_visc_ocl_argument_ptr;
-  Constant* llvm_visc_ocl_output_ptr;
-  Constant* llvm_visc_ocl_free;
-  Constant* llvm_visc_ocl_getOutput;
-  Constant* llvm_visc_ocl_executeNode;
+  FunctionCallee llvm_visc_ocl_launch;
+  FunctionCallee llvm_visc_ocl_wait;
+  FunctionCallee llvm_visc_ocl_initContext;
+  FunctionCallee llvm_visc_ocl_clearContext;
+  FunctionCallee llvm_visc_ocl_argument_shared;
+  FunctionCallee llvm_visc_ocl_argument_scalar;
+  FunctionCallee llvm_visc_ocl_argument_ptr;
+  FunctionCallee llvm_visc_ocl_output_ptr;
+  FunctionCallee llvm_visc_ocl_free;
+  FunctionCallee llvm_visc_ocl_getOutput;
+  FunctionCallee llvm_visc_ocl_executeNode;
 
   //Functions
   std::string getKernelsModuleName(Module &M);