diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-08-29 02:30:59 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-08-29 02:30:59 +0000 |
commit | 18f0329cfc62b3edac2f13bc3a0a3ac8120bf9c4 (patch) | |
tree | ad5e8081243fd72e83b4a1fa94ba5963e7603391 /llvm/lib/Target/PowerPC/PPCJITInfo.h | |
parent | 0b4e05a28c2cdfa6223033307ecc679d7eb4439b (diff) | |
download | bcm5719-llvm-18f0329cfc62b3edac2f13bc3a0a3ac8120bf9c4.tar.gz bcm5719-llvm-18f0329cfc62b3edac2f13bc3a0a3ac8120bf9c4.zip |
Make ppc64 jit kinda work right. About 2/3 of Olden passes with this,
there are clearly some encoding bugs lurking in there somewhere.
llvm-svn: 29949
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCJITInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCJITInfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.h b/llvm/lib/Target/PowerPC/PPCJITInfo.h index 245cf9ad902..61ec4691cb1 100644 --- a/llvm/lib/Target/PowerPC/PPCJITInfo.h +++ b/llvm/lib/Target/PowerPC/PPCJITInfo.h @@ -22,8 +22,12 @@ namespace llvm { class PPCJITInfo : public TargetJITInfo { protected: PPCTargetMachine &TM; + bool is64Bit; public: - PPCJITInfo(PPCTargetMachine &tm) : TM(tm) {useGOT = 0;} + PPCJITInfo(PPCTargetMachine &tm, bool tmIs64Bit) : TM(tm) { + useGOT = 0; + is64Bit = tmIs64Bit; + } /// addPassesToJITCompile - Add passes to the specified pass manager to /// implement a fast dynamic compiler for this target. Return true if this |