]> granicus.if.org Git - clang/commit
CodeGen: Cleanup ABIArgInfo
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 3 May 2014 02:23:35 +0000 (02:23 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 3 May 2014 02:23:35 +0000 (02:23 +0000)
commitfbccf24b0644f9e74311c26a380289b1c92588e0
tree2fe77375b6dd2a1df694f259393f65e2700c4526
parent304f0b041a24616fde76911164548e51403937bc
CodeGen: Cleanup ABIArgInfo

ABIArgInfo was pretty hard to grok, it had data members with names like
"BoolData0" and "UIntData".  Constructors with lots of bool arguments.
Reusing the same data member for multiple purposes.

It was also wasteful with memory, this new layout is 8 bytes smaller.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207894 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/CodeGen/CGFunctionInfo.h