diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-05 23:46:41 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-05 23:46:41 +0000 |
commit | af861f1151d62bd4ce9084406e5877bc9eed17ce (patch) | |
tree | 83d074ff2e2652f872a40a9efc16366a291774a1 /lib | |
parent | 518f6fa310df08a8e205adda62b145d50971a38f (diff) |
Remove dead var NewVarArgs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 51fe7c9cc5..31306c2744 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -64,7 +64,6 @@ static Module *ParserResult; #define YYERROR_VERBOSE 1 -static bool NewVarArgs; static GlobalVariable *CurGV; @@ -809,7 +808,6 @@ static PATypeHolder HandleUpRefs(const Type *ty) { static Module* RunParser(Module * M) { llvmAsmlineno = 1; // Reset the current line number... - NewVarArgs = false; CurModule.CurrentModule = M; // Check to make sure the parser succeeded @@ -2433,7 +2431,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { CHECK_FOR_ERROR } | VAARG ResolvedVal ',' Types { - NewVarArgs = true; $$ = new VAArgInst($2, *$4); delete $4; CHECK_FOR_ERROR |