diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-06 20:26:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-06 20:26:26 +0000 |
commit | 3340ffe85431f705e91aa4d4b64207f80d0d8c2f (patch) | |
tree | a155906865d7e65af09bb816149d4fdedd1420b3 /include/llvm/Support | |
parent | a62e52ab181c10738066e65a6dcc6c3cdfa5d806 (diff) | |
download | external_llvm-3340ffe85431f705e91aa4d4b64207f80d0d8c2f.zip external_llvm-3340ffe85431f705e91aa4d4b64207f80d0d8c2f.tar.gz external_llvm-3340ffe85431f705e91aa4d4b64207f80d0d8c2f.tar.bz2 |
Add support for explicit calling conventions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/CallSite.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index 9df71a2..9d393e0 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -52,6 +52,11 @@ public: return CallSite(); } + /// getCallingConv/setCallingConv - get or set the calling convention of the + /// call. + unsigned getCallingConv() const; + void setCallingConv(unsigned CC); + /// getType - Return the type of the instruction that generated this call site /// const Type *getType() const { return I->getType(); } |