diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-06-21 21:44:12 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-06-21 21:44:12 +0000 |
commit | 96041e58b9c2e99737943cbca4a410448d246455 (patch) | |
tree | 04aad8ee1c6da43f355ee2cb50bcfec9826575bd /llvm/lib/Target/TargetMachine.cpp | |
parent | d0bf6f17d150161d51348d5433afb544b898e993 (diff) | |
download | bcm5719-llvm-96041e58b9c2e99737943cbca4a410448d246455.tar.gz bcm5719-llvm-96041e58b9c2e99737943cbca4a410448d246455.zip |
Direct declaration of namespace-ified globals does not work, must enclose
them with a namespace declaration.
llvm-svn: 14303
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/TargetMachine.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp index 8e114fc0b27..d71bd3f9542 100644 --- a/llvm/lib/Target/TargetMachine.cpp +++ b/llvm/lib/Target/TargetMachine.cpp @@ -21,9 +21,10 @@ using namespace llvm; // Command-line options that tend to be useful on more than one back-end. // -bool llvm::PrintMachineCode; -bool llvm::NoFramePointerElim; - +namespace llvm { + bool PrintMachineCode; + bool NoFramePointerElim; +}; namespace { cl::opt<bool, true> PrintCode("print-machineinstrs", cl::desc("Print generated machine code"), |