diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-12-01 04:53:19 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-12-01 04:53:19 +0000 |
commit | f37bd2f2f1dbea7328d4faacd8040399913f44c1 (patch) | |
tree | 1b79f69ccce03dcf07f1c1d599815bccfb64526b /clang/lib/CodeGen/TargetInfo.h | |
parent | d61887dd0a2b20dd7a013b0fe2c195266407cedb (diff) | |
download | bcm5719-llvm-f37bd2f2f1dbea7328d4faacd8040399913f44c1.tar.gz bcm5719-llvm-f37bd2f2f1dbea7328d4faacd8040399913f44c1.zip |
Don't use a varargs convention for calls unprototyped functions where one of the arguments is an AVX vector.
llvm-svn: 145574
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h index 8f90c7bdd92..eabc37b464e 100644 --- a/clang/lib/CodeGen/TargetInfo.h +++ b/clang/lib/CodeGen/TargetInfo.h @@ -32,6 +32,7 @@ namespace clang { namespace CodeGen { class CodeGenModule; class CodeGenFunction; + class CGFunctionInfo; } /// TargetCodeGenInfo - This class organizes various target-specific @@ -160,7 +161,7 @@ namespace clang { /// same way and some out-of-band information is passed for the /// benefit of variadic callees, as is the case for x86-64. /// In this case the ABI should be consulted. - virtual bool isNoProtoCallVariadic(CallingConv CC) const; + virtual bool isNoProtoCallVariadic(const CodeGen::CGFunctionInfo &) const; }; } |