]> granicus.if.org Git - clang/commit
Optimize field space usage in CompoundStmt, LabelStmt, Expr, and CastExpr.
authorJohn McCall <rjmccall@apple.com>
Tue, 26 Oct 2010 08:39:16 +0000 (08:39 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 26 Oct 2010 08:39:16 +0000 (08:39 +0000)
commit8e6285af719adc6f86d6faa235d22a08eb68ee3a
tree96033c3c348ba398637cfa7d2a09ec34cfcae41e
parent3fa5cae9b3812cab9fab6c042c3329bb70a3d046
Optimize field space usage in CompoundStmt, LabelStmt, Expr, and CastExpr.
There's probably still significant padding waste on x86-64 UNIXen, but
the difference in 32-bit compiles should be significant.

There are a lot of Expr nodes left that could lose a word this way.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117359 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/AST/Stmt.h
lib/AST/Expr.cpp
lib/AST/Stmt.cpp