summarylogtreecommitdiffstats
path: root/PR37032-Fix-ldd-x86_64-darwin13-build-fails.patch
blob: bf2805b8bef5f2b62773240b4e97d284c8dd6271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: lib/Target/Mips/MipsFastISel.cpp
===================================================================
--- lib/Target/Mips/MipsFastISel.cpp
+++ lib/Target/Mips/MipsFastISel.cpp
@@ -1268,10 +1269,10 @@
     return false;
   }
 
-  std::array<MCPhysReg, 4> GPR32ArgRegs = {Mips::A0, Mips::A1, Mips::A2,
-                                           Mips::A3};
-  std::array<MCPhysReg, 2> FGR32ArgRegs = {Mips::F12, Mips::F14};
-  std::array<MCPhysReg, 2> AFGR64ArgRegs = {Mips::D6, Mips::D7};
+  std::array<MCPhysReg, 4> GPR32ArgRegs = {{Mips::A0, Mips::A1, Mips::A2,
+                                           Mips::A3}};
+  std::array<MCPhysReg, 2> FGR32ArgRegs = {{Mips::F12, Mips::F14}};
+  std::array<MCPhysReg, 2> AFGR64ArgRegs = {{Mips::D6, Mips::D7}};
   auto NextGPR32 = GPR32ArgRegs.begin();
   auto NextFGR32 = FGR32ArgRegs.begin();
   auto NextAFGR64 = AFGR64ArgRegs.begin();