summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-20 04:14:44 +0000
committerChris Lattner <sabre@nondot.org>2004-11-20 04:14:44 +0000
commitf0c6aff268261ff1a5c016433feffd05c6faed65 (patch)
treeba85b66f8b6510ec190afad6abffd3e3b184d92e
parent6cf7a43603c5ed816e43e1e2d056f115cebfbb2f (diff)
downloadbcm5719-llvm-f0c6aff268261ff1a5c016433feffd05c6faed65.tar.gz
bcm5719-llvm-f0c6aff268261ff1a5c016433feffd05c6faed65.zip
getJITStubForFunction is optional and unimplemented, just remove it.
llvm-svn: 18036
-rw-r--r--llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp5
-rw-r--r--llvm/lib/Target/PowerPC/PPC32JITInfo.h6
-rw-r--r--llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp6
-rw-r--r--llvm/lib/Target/PowerPC/PPC64JITInfo.h6
4 files changed, 0 insertions, 23 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
index e567788067c..5f810cb368f 100644
--- a/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
+++ b/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
@@ -334,11 +334,6 @@ int64_t PPC32CodeEmitter::getMachineOpValue(MachineInstr &MI,
return rv;
}
-
-void *PPC32JITInfo::getJITStubForFunction(Function *F, MachineCodeEmitter &MCE){
- return (void*)((unsigned long)getResolver(MCE).getLazyResolver(F));
-}
-
void PPC32JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
std::cerr << "PPC32JITInfo::replaceMachineCodeForFunction not implemented\n";
abort();
diff --git a/llvm/lib/Target/PowerPC/PPC32JITInfo.h b/llvm/lib/Target/PowerPC/PPC32JITInfo.h
index 96fd389bb2f..5c82d21a698 100644
--- a/llvm/lib/Target/PowerPC/PPC32JITInfo.h
+++ b/llvm/lib/Target/PowerPC/PPC32JITInfo.h
@@ -30,12 +30,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);
};
}
diff --git a/llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp
index d35ddde4b15..06f422c3d50 100644
--- a/llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp
+++ b/llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp
@@ -29,12 +29,6 @@ bool PPC64TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
// PM.add(createMachineCodeDeleter());
}
-void *PPC64JITInfo::getJITStubForFunction(Function *F,
- MachineCodeEmitter &MCE) {
- assert (0 && "PPC64JITInfo::getJITStubForFunction not implemented");
- return 0;
-}
-
void PPC64JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
assert (0 && "PPC64JITInfo::replaceMachineCodeForFunction not implemented");
}
diff --git a/llvm/lib/Target/PowerPC/PPC64JITInfo.h b/llvm/lib/Target/PowerPC/PPC64JITInfo.h
index cf553f4c112..06ecffe846e 100644
--- a/llvm/lib/Target/PowerPC/PPC64JITInfo.h
+++ b/llvm/lib/Target/PowerPC/PPC64JITInfo.h
@@ -29,12 +29,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);
};
}
OpenPOWER on IntegriCloud