diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-18 17:14:39 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-18 17:14:39 +0000 |
commit | 8c94086c908a57a1aaf18a3b11a47807ce639d6d (patch) | |
tree | 1d0d20ea0030981d24a41755aaf329aaffc35fcc /clang/lib/Frontend/PCHWriter.cpp | |
parent | 07894e8a0ed96b04afaeb1749e18784d3dd2ffd0 (diff) | |
download | bcm5719-llvm-8c94086c908a57a1aaf18a3b11a47807ce639d6d.tar.gz bcm5719-llvm-8c94086c908a57a1aaf18a3b11a47807ce639d6d.zip |
Encoding calling conventions in the type system, from Charles Davis!
llvm-svn: 93726
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 3f6841b5457..21e09744e35 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/lib/Frontend/PCHWriter.cpp @@ -139,6 +139,8 @@ void PCHTypeWriter::VisitExtVectorType(const ExtVectorType *T) { void PCHTypeWriter::VisitFunctionType(const FunctionType *T) { Writer.AddTypeRef(T->getResultType(), Record); Record.push_back(T->getNoReturnAttr()); + // FIXME: need to stabilize encoding of calling convention... + Record.push_back(T->getCallConv()); } void PCHTypeWriter::VisitFunctionNoProtoType(const FunctionNoProtoType *T) { |