aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCJITInfo.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-07-22 20:49:37 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-07-22 20:49:37 +0000
commit908bc862d58bdb66d22a6a58bddb4e108a64e469 (patch)
tree6745891e9ad95087fabd4d522bc5a430bfeb88bb /lib/Target/PowerPC/PPCJITInfo.cpp
parent16ec33c6ef630730ad55a4af7242c658e1efb8b3 (diff)
downloadexternal_llvm-908bc862d58bdb66d22a6a58bddb4e108a64e469.zip
external_llvm-908bc862d58bdb66d22a6a58bddb4e108a64e469.tar.gz
external_llvm-908bc862d58bdb66d22a6a58bddb4e108a64e469.tar.bz2
update interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCJITInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCJITInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp
index 416b425..289a3d6 100644
--- a/lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/lib/Target/PowerPC/PPCJITInfo.cpp
@@ -188,7 +188,7 @@ void *PPC32JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
void PPC32JITInfo::relocate(void *Function, MachineRelocation *MR,
- unsigned NumRelocs) {
+ unsigned NumRelocs, unsigned char* GOTBase) {
for (unsigned i = 0; i != NumRelocs; ++i, ++MR) {
unsigned *RelocPos = (unsigned*)Function + MR->getMachineCodeOffset()/4;
intptr_t ResultPtr = (intptr_t)MR->getResultPointer();