mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Back out mods to llvmAsmParser, incorrectly committed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46545 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f9ba9bb3c
commit
15dcd8e19d
File diff suppressed because it is too large
Load Diff
@ -342,7 +342,7 @@
|
||||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE
|
||||
#line 947 "/Users/scottm/play/llvm-trunk/lib/AsmParser/llvmAsmParser.y"
|
||||
#line 947 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
{
|
||||
llvm::Module *ModuleVal;
|
||||
llvm::Function *FunctionVal;
|
||||
@ -389,7 +389,7 @@ typedef union YYSTYPE
|
||||
llvm::ICmpInst::Predicate IPredicate;
|
||||
llvm::FCmpInst::Predicate FPredicate;
|
||||
}
|
||||
/* Line 1489 of yacc.c. */
|
||||
/* Line 1529 of yacc.c. */
|
||||
#line 394 "llvmAsmParser.tab.h"
|
||||
YYSTYPE;
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
|
@ -2675,15 +2675,8 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result...
|
||||
|
||||
if (Ty->isVarArg()) {
|
||||
if (I == E)
|
||||
for (; ArgI != ArgE; ++ArgI, ++index) {
|
||||
for (; ArgI != ArgE; ++ArgI)
|
||||
Args.push_back(ArgI->Val); // push the remaining varargs
|
||||
if (ArgI->Attrs != ParamAttr::None) {
|
||||
ParamAttrsWithIndex PAWI;
|
||||
PAWI.index = index;
|
||||
PAWI.attrs = ArgI->Attrs;
|
||||
Attrs.push_back(PAWI);
|
||||
}
|
||||
}
|
||||
} else if (I != E || ArgI != ArgE)
|
||||
GEN_ERROR("Invalid number of parameters detected");
|
||||
}
|
||||
@ -3013,15 +3006,8 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
|
||||
}
|
||||
if (Ty->isVarArg()) {
|
||||
if (I == E)
|
||||
for (; ArgI != ArgE; ++ArgI, ++index) {
|
||||
for (; ArgI != ArgE; ++ArgI)
|
||||
Args.push_back(ArgI->Val); // push the remaining varargs
|
||||
if (ArgI->Attrs != ParamAttr::None) {
|
||||
ParamAttrsWithIndex PAWI;
|
||||
PAWI.index = index;
|
||||
PAWI.attrs = ArgI->Attrs;
|
||||
Attrs.push_back(PAWI);
|
||||
}
|
||||
}
|
||||
} else if (I != E || ArgI != ArgE)
|
||||
GEN_ERROR("Invalid number of parameters detected");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user