Constify a few things with DotDebugLocEntry.
[oota-llvm.git] / lib / CodeGen / TargetLoweringBase.cpp
index 47a86d601ba151d16eb12274cf223b196366f4d0..f1b796919134d7ceb51fe9332caf8fe2e81776bf 100644 (file)
@@ -1145,7 +1145,7 @@ void TargetLoweringBase::computeRegisterProperties() {
   for (unsigned i = 0; i != MVT::LAST_VALUETYPE; ++i) {
     const TargetRegisterClass* RRC;
     uint8_t Cost;
-    tie(RRC, Cost) =  findRepresentativeClass((MVT::SimpleValueType)i);
+    std::tie(RRC, Cost) = findRepresentativeClass((MVT::SimpleValueType)i);
     RepRegClassForVT[i] = RRC;
     RepRegClassCostForVT[i] = Cost;
   }