diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-15 17:34:58 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-15 17:34:58 +0000 |
commit | 48a189280ec42315ff617ed88828e4bf30dd8913 (patch) | |
tree | 687ad665b06fafb54083416d69e1cdea59645f74 /llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp | |
parent | 8db54ff1deeab267e250c91a0c6a3ce22d36b961 (diff) | |
download | bcm5719-llvm-48a189280ec42315ff617ed88828e4bf30dd8913.tar.gz bcm5719-llvm-48a189280ec42315ff617ed88828e4bf30dd8913.zip |
ReuseFrameIndexVals is used in multiple files, so it can't be static.
llvm-svn: 101379
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp b/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp index 1cf86ac731d..624168c0537 100644 --- a/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp +++ b/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp @@ -36,9 +36,12 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" -using namespace llvm; +namespace llvm { extern cl::opt<bool> ReuseFrameIndexVals; +} + +using namespace llvm; Thumb1RegisterInfo::Thumb1RegisterInfo(const ARMBaseInstrInfo &tii, const ARMSubtarget &sti) |