summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCJITInfo.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-08-29 02:30:59 +0000
committerNate Begeman <natebegeman@mac.com>2006-08-29 02:30:59 +0000
commit06abd22b1ad203103c1a07a030ebc5c1c4cfbb14 (patch)
treea3ee8fa73888f1c7441ca23160de5b6f16c72bb7 /lib/Target/PowerPC/PPCJITInfo.h
parent97198c9b1b983b15156585098d13d5f4898ab994 (diff)
downloadllvm-06abd22b1ad203103c1a07a030ebc5c1c4cfbb14.tar.gz
llvm-06abd22b1ad203103c1a07a030ebc5c1c4cfbb14.tar.bz2
llvm-06abd22b1ad203103c1a07a030ebc5c1c4cfbb14.tar.xz
Make ppc64 jit kinda work right. About 2/3 of Olden passes with this,
there are clearly some encoding bugs lurking in there somewhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCJITInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCJITInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.h b/lib/Target/PowerPC/PPCJITInfo.h
index 245cf9ad90..61ec4691cb 100644
--- a/lib/Target/PowerPC/PPCJITInfo.h
+++ b/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