summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2010-02-05 00:12:22 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2010-02-05 00:12:22 +0000
commit2233460de6ed1bb3e11d3ba8069bf774a23d710a (patch)
tree602c19cd123ed8e9f8f7811f0ec2ae7f9893d52b /clang/lib/Frontend/PCHWriter.cpp
parent0c8a172911f9e8029d77511dbe59c810fb46ea14 (diff)
downloadbcm5719-llvm-2233460de6ed1bb3e11d3ba8069bf774a23d710a.tar.gz
bcm5719-llvm-2233460de6ed1bb3e11d3ba8069bf774a23d710a.zip
First stage of adding AltiVec support
llvm-svn: 95335
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp
index caf1ce47a18..a87b8cde2ca 100644
--- a/clang/lib/Frontend/PCHWriter.cpp
+++ b/clang/lib/Frontend/PCHWriter.cpp
@@ -128,6 +128,8 @@ void PCHTypeWriter::VisitVariableArrayType(const VariableArrayType *T) {
void PCHTypeWriter::VisitVectorType(const VectorType *T) {
Writer.AddTypeRef(T->getElementType(), Record);
Record.push_back(T->getNumElements());
+ Record.push_back(T->isAltiVec());
+ Record.push_back(T->isPixel());
Code = pch::TYPE_VECTOR;
}
OpenPOWER on IntegriCloud