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 | ca9ec763dbc316a80abcf0d2dc93e5818b0c3c73 (patch) | |
| tree | ac218b3e03d059501343f314dd189ad7b87b2cc6 /lib/Target/PowerPC/PPCInstrInfo.cpp | |
| parent | 738422fa501a08e58d1d55ebebdf0ca499059d72 (diff) | |
| download | external_llvm-ca9ec763dbc316a80abcf0d2dc93e5818b0c3c73.zip external_llvm-ca9ec763dbc316a80abcf0d2dc93e5818b0c3c73.tar.gz external_llvm-ca9ec763dbc316a80abcf0d2dc93e5818b0c3c73.tar.bz2 | |
EnablePPC64RS and EnablePPC32RS are used in multiple files, so they
can't be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index bc45c22..9a26ad8 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/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), |
