[PowerPC] Fix PR22711 - Misaligned .toc section
[oota-llvm.git] / lib / Target / PowerPC / PPCISelLowering.h
index faa1e3f06ffe4b8e6fd3f5769d670eac27c4367f..04afe88b742fc318839376f1a23c2b85116fe12d 100644 (file)
@@ -509,9 +509,10 @@ namespace llvm {
     ConstraintWeight getSingleConstraintMatchWeight(
       AsmOperandInfo &info, const char *constraint) const override;
 
-    std::pair<unsigned, const TargetRegisterClass*>
-      getRegForInlineAsmConstraint(const std::string &Constraint,
-                                   MVT VT) const override;
+    std::pair<unsigned, const TargetRegisterClass *>
+    getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
+                                 const std::string &Constraint,
+                                 MVT VT) const override;
 
     /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
     /// function arguments in the caller parameter area.  This is the actual