diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-15 17:20:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-15 17:20:57 +0000 |
commit | 2085719a980faa5baa9dde0667a30560ffd1fb72 (patch) | |
tree | 65070b3cd4e6d36243783e5e0c745d889a55af27 /llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | |
parent | b29cda9b3c39fbbd53db44dbc5075d5445a98200 (diff) | |
download | bcm5719-llvm-2085719a980faa5baa9dde0667a30560ffd1fb72.tar.gz bcm5719-llvm-2085719a980faa5baa9dde0667a30560ffd1fb72.zip |
EnablePPC64RS and EnablePPC32RS are used in multiple files, so they
can't be static.
llvm-svn: 101377
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp index bc45c22972f..9a26ad8be28 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -24,10 +24,13 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" #include "llvm/MC/MCAsmInfo.h" -using namespace llvm; +namespace llvm { extern cl::opt<bool> EnablePPC32RS; // FIXME (64-bit): See PPCRegisterInfo.cpp. extern cl::opt<bool> EnablePPC64RS; // FIXME (64-bit): See PPCRegisterInfo.cpp. +} + +using namespace llvm; PPCInstrInfo::PPCInstrInfo(PPCTargetMachine &tm) : TargetInstrInfoImpl(PPCInsts, array_lengthof(PPCInsts)), TM(tm), |