diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-02-05 06:55:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-02-05 06:55:31 +0000 |
| commit | 86964a96530925e04d4c99ee0c84a7f5e86d1f3f (patch) | |
| tree | 67fd8aafdb52ee15400229edf432770bac2c228c /clang/CodeGen/ModuleBuilder.cpp | |
| parent | b977b6a59b768dd0507abd3c152b562e24b79306 (diff) | |
| download | bcm5719-llvm-86964a96530925e04d4c99ee0c84a7f5e86d1f3f.tar.gz bcm5719-llvm-86964a96530925e04d4c99ee0c84a7f5e86d1f3f.zip | |
Change the key of CGRecordLayouts from being an llvm type* to being a decl*. LLVM
Type*'s can change as types are refined, so we can't use them as a stable key in
the map. Decls don't change, so use them instead.
This patch was written by Anders, but he's too shy to commit it himself :)
llvm-svn: 46743
Diffstat (limited to 'clang/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

