aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-05-02 20:37:47 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-05-02 20:37:47 +0000
commitc718288f4939258a51ec5ae0c5be7b1a05eb6898 (patch)
tree780fb01eeeb530ffdc6a2066866b20194b25111e /lib/CodeGen
parentce3b46552a03f502e56fb3c4db82f3f92c09eff9 (diff)
downloadexternal_llvm-c718288f4939258a51ec5ae0c5be7b1a05eb6898.zip
external_llvm-c718288f4939258a51ec5ae0c5be7b1a05eb6898.tar.gz
external_llvm-c718288f4939258a51ec5ae0c5be7b1a05eb6898.tar.bz2
Fix build error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index cc6c23f..d11de96 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -44,8 +44,8 @@ STATISTIC(numPeep , "Number of identity moves eliminated after coalescing");
STATISTIC(numFolded , "Number of loads/stores folded into instructions");
STATISTIC(numAborts , "Number of times interval joining aborted");
+const int LiveIntervals::ID = 0;
namespace {
- const int LiveIntervals::ID = 0;
RegisterPass<LiveIntervals> X("liveintervals", "Live Interval Analysis");
static cl::opt<bool>
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index 6421396..d62eb96 100644
--- a/lib/CodeGen/MachineModuleInfo.cpp
+++ b/lib/CodeGen/MachineModuleInfo.cpp
@@ -28,9 +28,9 @@ using namespace llvm::dwarf;
// Handle the Pass registration stuff necessary to use TargetData's.
namespace {
- const int MachineModuleInfo::ID = 0;
RegisterPass<MachineModuleInfo> X("machinemoduleinfo", "Module Information");
}
+const int MachineModuleInfo::ID = 0;
//===----------------------------------------------------------------------===//