parent
7d9b8a8f03
commit
e266dc7621
File diff suppressed because it is too large
Load Diff
|
@ -321,7 +321,7 @@
|
||||||
|
|
||||||
|
|
||||||
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
||||||
#line 857 "/proj/llvm/llvm-1/lib/AsmParser/llvmAsmParser.y"
|
#line 855 "/proj/llvm/llvm-1/lib/AsmParser/llvmAsmParser.y"
|
||||||
typedef union YYSTYPE {
|
typedef union YYSTYPE {
|
||||||
llvm::Module *ModuleVal;
|
llvm::Module *ModuleVal;
|
||||||
llvm::Function *FunctionVal;
|
llvm::Function *FunctionVal;
|
||||||
|
|
|
@ -64,7 +64,6 @@ static Module *ParserResult;
|
||||||
|
|
||||||
#define YYERROR_VERBOSE 1
|
#define YYERROR_VERBOSE 1
|
||||||
|
|
||||||
static bool NewVarArgs;
|
|
||||||
static GlobalVariable *CurGV;
|
static GlobalVariable *CurGV;
|
||||||
|
|
||||||
|
|
||||||
|
@ -809,7 +808,6 @@ static PATypeHolder HandleUpRefs(const Type *ty) {
|
||||||
static Module* RunParser(Module * M) {
|
static Module* RunParser(Module * M) {
|
||||||
|
|
||||||
llvmAsmlineno = 1; // Reset the current line number...
|
llvmAsmlineno = 1; // Reset the current line number...
|
||||||
NewVarArgs = false;
|
|
||||||
CurModule.CurrentModule = M;
|
CurModule.CurrentModule = M;
|
||||||
|
|
||||||
// Check to make sure the parser succeeded
|
// Check to make sure the parser succeeded
|
||||||
|
@ -2433,7 +2431,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
}
|
}
|
||||||
| VAARG ResolvedVal ',' Types {
|
| VAARG ResolvedVal ',' Types {
|
||||||
NewVarArgs = true;
|
|
||||||
$$ = new VAArgInst($2, *$4);
|
$$ = new VAArgInst($2, *$4);
|
||||||
delete $4;
|
delete $4;
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
|
|
Loading…
Reference in New Issue