diff --git a/Source/Core/Core/PowerPC/JitILCommon/IR.cpp b/Source/Core/Core/PowerPC/JitILCommon/IR.cpp index 5c78ea883b..62327b18e8 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/IR.cpp +++ b/Source/Core/Core/PowerPC/JitILCommon/IR.cpp @@ -1370,11 +1370,11 @@ unsigned IRBuilder::getNumberOfOperands(InstLoc I) const number_of_operands[CInt16] = 0; number_of_operands[CInt32] = 0; - static constexpr std::array zero_op = { - LoadCR, LoadLink, LoadMSR, LoadGReg, LoadCTR, InterpreterBranch, - LoadCarry, RFIExit, LoadFReg, LoadFRegDENToZero, LoadGQR, Int3, - }; - static constexpr std::array unary_op = { + static constexpr std::array zero_op = {{ + LoadCR, LoadLink, LoadMSR, LoadGReg, LoadCTR, InterpreterBranch, LoadCarry, RFIExit, + LoadFReg, LoadFRegDENToZero, LoadGQR, Int3, + }}; + static constexpr std::array unary_op = {{ StoreLink, BranchUncond, StoreCR, @@ -1414,8 +1414,8 @@ unsigned IRBuilder::getNumberOfOperands(InstLoc I) const FastCREQSet, FastCRGTSet, FastCRLTSet, - }; - static constexpr std::array binary_op = { + }}; + static constexpr std::array binary_op = {{ BranchCond, IdleBranch, And, @@ -1460,7 +1460,7 @@ unsigned IRBuilder::getNumberOfOperands(InstLoc I) const FPMerge10, FPMerge11, FDCmpCR, - }; + }}; for (auto op : zero_op) number_of_operands[op] = 0;