diff options
| author | John McCall <rjmccall@apple.com> | 2010-02-24 07:14:12 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-02-24 07:14:12 +0000 |
| commit | 0b0ef0a70b8010c66fad2603e4423ef1c1dc7015 (patch) | |
| tree | 966868d3abb3d5a6fbd635c376ea266afe069a19 /lib/CodeGen/CodeGenModule.cpp | |
| parent | 152e785ce6cbbc068a5240daf7f3daacc7000bf4 (diff) | |
| download | clang-0b0ef0a70b8010c66fad2603e4423ef1c1dc7015.tar.gz clang-0b0ef0a70b8010c66fad2603e4423ef1c1dc7015.tar.bz2 clang-0b0ef0a70b8010c66fad2603e4423ef1c1dc7015.tar.xz | |
Canonicalize parameter and return types before computing ABI info. Eliminates
a common source of oddities and, in theory, removes some redundant ABI
computations. Also fixes a miscompile I introduced yesterday by refactoring
some code and causing a slightly different code path to be taken that
didn't perform *parameter* type canonicalization, just normal type
canonicalization; this in turn caused a bit of ABI code to misfire because
it was looking for 'double' or 'float' but received 'const float'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
