aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2007-08-27 19:04:21 +0000
committerDavid Greene <greened@obbligato.org>2007-08-27 19:04:21 +0000
commit8278ef592ef0caf5cf0ccd8646fb7fdfbdc2e2d8 (patch)
tree22a84137e3fd97e2796d08dd07436bf2f4ff566c /lib/AsmParser
parentb2e7a6ba64fe6ef2c62668ef6d42b09671fc8804 (diff)
downloadexternal_llvm-8278ef592ef0caf5cf0ccd8646fb7fdfbdc2e2d8.zip
external_llvm-8278ef592ef0caf5cf0ccd8646fb7fdfbdc2e2d8.tar.gz
external_llvm-8278ef592ef0caf5cf0ccd8646fb7fdfbdc2e2d8.tar.bz2
Update InvokeInst to work like CallInst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r--lib/AsmParser/llvmAsmParser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index adf6ead..5570692 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -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;