MCSchedule.h: fix VS2012 build after r216919
authorHans Wennborg <hans@hanshq.net>
Tue, 2 Sep 2014 18:00:00 +0000 (18:00 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 2 Sep 2014 18:00:00 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216924 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCSchedule.h

index 053c0ae..dae0b22 100644 (file)
@@ -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;
   }
 };