// different ways. They should each implement this to say what a function
// pointer should look like.
//
- virtual void *getPointerToFunction(const Function *F) = 0;
+ virtual void *getPointerToFunction(Function *F) = 0;
protected:
void emitGlobals();
//
void SwitchToNewBasicBlock(BasicBlock *Dest, ExecutionContext &SF);
- void *getPointerToFunction(const Function *F) { return (void*)F; }
+ void *getPointerToFunction(Function *F) { return (void*)F; }
// getCurrentExecutablePath() - Return the directory that the lli executable
// lives in.