update these
authorChris Lattner <sabre@nondot.org>
Wed, 29 Aug 2007 16:15:23 +0000 (16:15 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 29 Aug 2007 16:15:23 +0000 (16:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41565 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/llvmAsmParser.cpp.cvs
lib/AsmParser/llvmAsmParser.y.cvs

index a9e130ca73679081192e43eae64beb0090c5d5d1..4c71677ec86aecb9a9d874502accf616ca5adc11 100644 (file)
@@ -4549,7 +4549,7 @@ case 272:
     }
 
     // Create the InvokeInst
-    InvokeInst *II = new InvokeInst(V, Normal, Except, &Args[0], Args.size());
+    InvokeInst *II = new InvokeInst(V, Normal, Except, Args.begin(), Args.end());
     II->setCallingConv(yyvsp[-12].UIntVal);
     yyval.TermInstVal = II;
     delete yyvsp[-8].ValueRefList;
index adf6eadc7c7786f9f1775c5283439a99098b1a22..5570692864a9a29aaece7e7897ca1fe5d1cdd64c 100644 (file)
@@ -2652,7 +2652,7 @@ BBTerminatorInst : RET ResolvedVal {              // Return with a result...
     }
 
     // Create the InvokeInst
-    InvokeInst *II = new InvokeInst(V, Normal, Except, &Args[0], Args.size());
+    InvokeInst *II = new InvokeInst(V, Normal, Except, Args.begin(), Args.end());
     II->setCallingConv($2);
     $$ = II;
     delete $6;