diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-14 17:45:50 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-14 17:45:50 +0000 |
commit | 8dd55a3c3b28d195717c87bbc60e765951d408fe (patch) | |
tree | 528647fd16f0712390fa100ef1691321e5e0936d /lib/CodeGen/CodeGenModule.h | |
parent | 4d461b691a57544340bf511bd662001fd2d1da1a (diff) |
Change intrinsic getter to take an ArrayRef, now that the underlying function in LLVM does.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index f59322dc26..86fb6d4d03 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -573,8 +573,8 @@ public: llvm::Value *getBuiltinLibFunction(const FunctionDecl *FD, unsigned BuiltinID); - llvm::Function *getIntrinsic(unsigned IID, llvm::Type **Tys = 0, - unsigned NumTys = 0); + llvm::Function *getIntrinsic(unsigned IID, llvm::ArrayRef<llvm::Type*> Tys = + llvm::ArrayRef<llvm::Type*>()); /// EmitTopLevelDecl - Emit code for a single top level declaration. void EmitTopLevelDecl(Decl *D); |