forked from OSchip/llvm-project
getJITStubForFunction is optional and unimplemented, just remove it for now.
llvm-svn: 18037
This commit is contained in:
parent
f0c6aff268
commit
ae5ac03c1d
|
@ -25,12 +25,6 @@ bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
|||
return true; // Not implemented yet!
|
||||
}
|
||||
|
||||
void *SkeletonJITInfo::getJITStubForFunction(Function *F,
|
||||
MachineCodeEmitter &MCE) {
|
||||
assert (0 && "getJITStubForFunction not implemented");
|
||||
return 0;
|
||||
}
|
||||
|
||||
void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
|
||||
assert (0 && "replaceMachineCodeForFunction not implemented");
|
||||
}
|
||||
|
|
|
@ -37,12 +37,6 @@ namespace llvm {
|
|||
/// code.
|
||||
///
|
||||
virtual void replaceMachineCodeForFunction(void *Old, void *New);
|
||||
|
||||
/// getJITStubForFunction - Create or return a stub for the specified
|
||||
/// function. This stub acts just like the specified function, except that
|
||||
/// it allows the "address" of the function to be taken without having to
|
||||
/// generate code for it.
|
||||
virtual void *getJITStubForFunction(Function *F, MachineCodeEmitter &MCE);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue