diff --git a/lib/Target/TargetCallingConv.td b/lib/Target/TargetCallingConv.td index 3dcd7458f83..8a619af621b 100644 --- a/lib/Target/TargetCallingConv.td +++ b/lib/Target/TargetCallingConv.td @@ -23,7 +23,8 @@ class CCPredicateAction : CCAction { /// CCMatchType - If the current argument is one of the specified types, apply /// Action A. -class CCMatchType VTs, CCAction A> : CCPredicateAction { +class CCMatchType vts, CCAction A> : CCPredicateAction { + list VTs = vts; } /// CCMatchIf - If the predicate matches, apply A. @@ -32,9 +33,8 @@ class CCMatchIf : CCPredicateAction { } /// CCMatchIfCC - Match of the current calling convention is 'CC'. -class CCMatchIfCC : CCPredicateAction { - string CallingConv = CC; -} +class CCMatchIfCC + : CCMatchIf {} /// CCAssignToReg - This action matches if there is a register in the specified /// list that is still available. If so, it assigns the value to the first