Model ARM backend ABI selection after the front end code doing the
[oota-llvm.git] / lib / Target / ARM / ARMCallingConv.h
index 4567a2a1afd8b495c783398f10a9823f87be9c1a..e0d0559ba986b4aac0fdaf6f1bfc5953100d3134 100644 (file)
@@ -194,7 +194,7 @@ static bool CC_ARM_AAPCS_Custom_HA(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
 
     // Try to allocate a contiguous block of registers, each of the correct
     // size to hold one member.
-    ArrayRef<const uint16_t> RegList;
+    ArrayRef<uint16_t> RegList;
     switch (LocVT.SimpleTy) {
     case MVT::f32:
       RegList = SRegList;