summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-05-01 21:29:53 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-05-01 21:29:53 +0000
commit0e439960b816e1721fecf32bca8a1c8f9e1f2b0b (patch)
tree479492832400601c939d734949481b0d44f5bb6f /clang/lib/CodeGen/CGBuiltin.cpp
parent56b579a3735c944580b3adca99b52d907cccfc9b (diff)
downloadbcm5719-llvm-0e439960b816e1721fecf32bca8a1c8f9e1f2b0b.tar.gz
bcm5719-llvm-0e439960b816e1721fecf32bca8a1c8f9e1f2b0b.zip
Move the state bits in DeclRefExpr out of the pointer union and into
a bitfield in the base class. DREs weren't using any bits here past the normal Expr bits, so we have plenty of room. This makes the common case of getting a Decl out of a DRE no longer need to do any masking etc. Also, while here, clean up code to use the accessor methods rather than directly poking these bits, and provide a nice comment for DREs that includes the information previously attached to the bits going into the pointer union. No functionality changed here, but DREs should be a tad faster now. llvm-svn: 130666
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud