aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/TargetSchedInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/TargetSchedInfo.cpp')
-rw-r--r--lib/Target/TargetSchedInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/TargetSchedInfo.cpp b/lib/Target/TargetSchedInfo.cpp
index 0dbde45..f33223c 100644
--- a/lib/Target/TargetSchedInfo.cpp
+++ b/lib/Target/TargetSchedInfo.cpp
@@ -15,6 +15,8 @@
#include "llvm/Target/TargetSchedInfo.h"
#include "llvm/Target/TargetMachine.h"
+namespace llvm {
+
resourceId_t MachineResource::nextId = 0;
// Check if fromRVec and toRVec have *any* common entries.
@@ -249,3 +251,5 @@ void InstrRUsage::addUsageDelta(const InstrRUsageDelta &delta) {
assert(r >= 0 && "Resource to remove was unused in cycle c!");
}
}
+
+} // End llvm namespace