diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-04-25 20:37:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-04-25 20:37:58 +0000 |
| commit | cdb591af0338a197bdf6b9a77c89c630e556369a (patch) | |
| tree | 4cdeab46dc44944c600c6bb218d7b6b49955ea2e /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
| parent | fc87e2dd5c997060e4d82dd50f7a5e8ebd439998 (diff) | |
| download | bcm5719-llvm-cdb591af0338a197bdf6b9a77c89c630e556369a.tar.gz bcm5719-llvm-cdb591af0338a197bdf6b9a77c89c630e556369a.zip | |
fix PR9474, a crash with -fshort-enum and C++ templates: when instantiating
the enum decl, we need to use an integer type the same size as the enumerator,
which may not be the promoted type with packed enums.
llvm-svn: 130148
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions

