[llvm] r216924 - MCSchedule.h: fix VS2012 build after r216919

Hans Wennborg hans at hanshq.net
Tue Sep 2 11:00:01 PDT 2014


Author: hans
Date: Tue Sep  2 13:00:00 2014
New Revision: 216924

URL: http://llvm.org/viewvc/llvm-project?rev=216924&view=rev
Log:
MCSchedule.h: fix VS2012 build after r216919

Modified:
    llvm/trunk/include/llvm/MC/MCSchedule.h

Modified: llvm/trunk/include/llvm/MC/MCSchedule.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCSchedule.h?rev=216924&r1=216923&r2=216924&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCSchedule.h (original)
+++ llvm/trunk/include/llvm/MC/MCSchedule.h Tue Sep  2 13:00:00 2014
@@ -226,21 +226,22 @@ struct MCSchedModel {
 
   // /\brief Returns a default initialiszed mdoel.  Used for unknown processors.
   static MCSchedModel GetDefaultSchedModel() {
-    return { DefaultIssueWidth,
-             DefaultMicroOpBufferSize,
-             DefaultLoopMicroOpBufferSize,
-             DefaultLoadLatency,
-             DefaultHighLatency,
-             DefaultMispredictPenalty,
-             false,
-             true,
-             0,
-             nullptr,
-             nullptr,
-             0,
-             0,
-             nullptr
-           };
+    MCSchedModel Ret = { DefaultIssueWidth,
+                         DefaultMicroOpBufferSize,
+                         DefaultLoopMicroOpBufferSize,
+                         DefaultLoadLatency,
+                         DefaultHighLatency,
+                         DefaultMispredictPenalty,
+                         false,
+                         true,
+                         0,
+                         nullptr,
+                         nullptr,
+                         0,
+                         0,
+                         nullptr
+                       };
+    return Ret;
   }
 };
 





More information about the llvm-commits mailing list