diff options
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2010-02-05 00:12:22 +0000 |
---|---|---|
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2010-02-05 00:12:22 +0000 |
commit | 2233460de6ed1bb3e11d3ba8069bf774a23d710a (patch) | |
tree | 602c19cd123ed8e9f8f7811f0ec2ae7f9893d52b /clang/lib/Parse/Parser.cpp | |
parent | 0c8a172911f9e8029d77511dbe59c810fb46ea14 (diff) | |
download | bcm5719-llvm-2233460de6ed1bb3e11d3ba8069bf774a23d710a.tar.gz bcm5719-llvm-2233460de6ed1bb3e11d3ba8069bf774a23d710a.zip |
First stage of adding AltiVec support
llvm-svn: 95335
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r-- | clang/lib/Parse/Parser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index 63b0a27c08c..f15b39a83e6 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -346,6 +346,11 @@ void Parser::Initialize() { } Ident_super = &PP.getIdentifierTable().get("super"); + + if (getLang().AltiVec) { + Ident_vector = &PP.getIdentifierTable().get("vector"); + Ident_pixel = &PP.getIdentifierTable().get("pixel"); + } } /// ParseTopLevelDecl - Parse one top-level declaration, return whatever the |