summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-08-26 00:33:28 +0000
committerReid Kleckner <reid@kleckner.net>2014-08-26 00:33:28 +0000
commit8349864dbdf49ec7637d8c2903dadafb5747990f (patch)
tree600bc30d2b78f808eaef463ac2f7c93338295986 /llvm/lib/AsmParser/LLParser.h
parentd83c63b7044f38504f0e2d6281962f324dcf2afb (diff)
downloadbcm5719-llvm-8349864dbdf49ec7637d8c2903dadafb5747990f.tar.gz
bcm5719-llvm-8349864dbdf49ec7637d8c2903dadafb5747990f.zip
Declare that musttail calls in variadic functions forward the ellipsis
Summary: There is no functionality change here except in the way we assemble and dump musttail calls in variadic functions. There's really no need to separate out the bits for musttail and "is forwarding varargs" on call instructions. A musttail call by definition has to forward the ellipsis or it would fail verification. Reviewers: chandlerc, nlewycky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4892 llvm-svn: 216423
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index 3936c6e8731..b7d8f21442b 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/lib/AsmParser/LLParser.h
@@ -372,7 +372,9 @@ namespace llvm {
: Loc(loc), V(v), Attrs(attrs) {}
};
bool ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
- PerFunctionState &PFS);
+ PerFunctionState &PFS,
+ bool IsMustTailCall = false,
+ bool InVarArgsFunc = false);
// Constant Parsing.
bool ParseValID(ValID &ID, PerFunctionState *PFS = nullptr);
OpenPOWER on IntegriCloud