tblgen: Twinify PrintFatalError.
[oota-llvm.git] / utils / TableGen / CodeGenDAGPatterns.cpp
index f9f3caf126f3172f2fa8cd89f54979f08062b588..0af7e3d0164cefc6b80e2fc3bb6a160ff1e084b3 100644 (file)
@@ -2327,8 +2327,9 @@ void CodeGenDAGPatterns::ParseDefaultOperands() {
         /* Resolve all types */;
 
       if (TPN->ContainsUnresolvedType()) {
-        PrintFatalError("Value #" + utostr(i) + " of OperandWithDefaultOps '" +
-          DefaultOps[i]->getName() +"' doesn't have a concrete type!");
+        PrintFatalError("Value #" + Twine(i) + " of OperandWithDefaultOps '" +
+                        DefaultOps[i]->getName() +
+                        "' doesn't have a concrete type!");
       }
       DefaultOpInfo.DefaultOps.push_back(TPN);
     }