forked from OSchip/llvm-project
parent
ea4374c0d4
commit
93ef7ee4d1
|
@ -3772,7 +3772,7 @@ yyreduce:
|
|||
#line 1469 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y"
|
||||
{
|
||||
if (*(yyvsp[-5].String) == "%llvm.va_start" || *(yyvsp[-5].String) == "%llvm.va_end") {
|
||||
*(yyvsp[-3].String) = "i8* ";
|
||||
*(yyvsp[-3].String) = "i8*";
|
||||
} else if (*(yyvsp[-5].String) == "%llvm.va_copy") {
|
||||
*(yyvsp[-3].String) = "i8*, i8*";
|
||||
}
|
||||
|
|
|
@ -1468,7 +1468,7 @@ ArgList : ArgListH {
|
|||
FunctionHeaderH
|
||||
: OptCallingConv TypesV Name '(' ArgList ')' OptSection OptAlign {
|
||||
if (*$3 == "%llvm.va_start" || *$3 == "%llvm.va_end") {
|
||||
*$5 = "i8* ";
|
||||
*$5 = "i8*";
|
||||
} else if (*$3 == "%llvm.va_copy") {
|
||||
*$5 = "i8*, i8*";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue