Index: src/IceTargetLowering.cpp |
diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp |
index f6631559f9064a5049c842b74ba441c47da88b24..76d34735fae66d162d7756d8139d5d285a178d8f 100644 |
--- a/src/IceTargetLowering.cpp |
+++ b/src/IceTargetLowering.cpp |
@@ -229,6 +229,8 @@ void TargetLowering::lower() { |
// registers could potentially be parameterized if we want to restrict |
// registers e.g. for performance testing. |
void TargetLowering::regAlloc() { |
+ static TimerIdT IDregAlloc = GlobalContext::getTimerID("regAlloc"); |
+ TimerMarker T(IDregAlloc, Ctx); |
LinearScan LinearScan(Func); |
RegSetMask RegInclude = RegSet_None; |
RegSetMask RegExclude = RegSet_None; |