Skip to content
Snippets Groups Projects
Commit 58ed24d1 authored by Akash Kothari's avatar Akash Kothari :speech_balloon:
Browse files

Fixed types for function declarations to FunctionCallee

parent 966bb70b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment