Add support for explicit calling conventions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21745 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-05-06 20:26:26 +00:00
parent a62e52ab18
commit 3340ffe854
3 changed files with 36 additions and 5 deletions

View File

@@ -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(); }