diff --git a/hpvm/include/SupportVISC/DFG2LLVM.h b/hpvm/include/SupportVISC/DFG2LLVM.h index a2d17801ff2a61cded3822475c6f6c44c0821d9a..bf250dd5d35f5d0876cfe1cd66eb71e0cd45ac38 100644 --- a/hpvm/include/SupportVISC/DFG2LLVM.h +++ b/hpvm/include/SupportVISC/DFG2LLVM.h @@ -27,7 +27,7 @@ using namespace builddfg; #define TIMER(X) do { if (VISCTimer) { X; } } while (0) #define DECLARE(X) X = M.getOrInsertFunction(#X, \ runtimeModule->getFunction(#X)->getFunctionType()); \ - DEBUG(errs() << *X) + //DEBUG(errs() << *X) namespace dfg2llvm { // Helper Functions @@ -76,9 +76,9 @@ protected: // VISC Runtime API std::unique_ptr<Module> runtimeModule; - Constant* llvm_visc_initializeTimerSet; - Constant* llvm_visc_switchToTimer; - Constant* llvm_visc_printTimerSet; + FunctionCallee llvm_visc_initializeTimerSet; + FunctionCallee llvm_visc_switchToTimer; + FunctionCallee llvm_visc_printTimerSet; GlobalVariable* TimerSet; GlobalVariable* GraphIDAddr; Instruction* InitCall;