From fb9a3fb12d336820a7ee834d49908c35f97f447f Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 2 Sep 2014 18:00:00 +0000 Subject: [PATCH] MCSchedule.h: fix VS2012 build after r216919 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216924 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCSchedule.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index 053c0ae9aba..dae0b22c5b0 100644 --- a/include/llvm/MC/MCSchedule.h +++ b/include/llvm/MC/MCSchedule.h @@ -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; } };