diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-12-22 17:13:37 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-12-22 17:13:37 +0000 |
| commit | 2e9c795df03b73f020366125157bad9e17672083 (patch) | |
| tree | 8ed0b79e81de58ce192a3c28b6230eaee49574b3 /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp | |
| parent | bbeb5c391ca99b71ccb39df0aa7bc3197e66e0a6 (diff) | |
| download | bcm5719-llvm-2e9c795df03b73f020366125157bad9e17672083.tar.gz bcm5719-llvm-2e9c795df03b73f020366125157bad9e17672083.zip | |
When transforming a C++ "new" expression that was not explicitly given
a size, check whether the transformed type is itself an array type. If
so, take the major array bound as the size to allocate. Fixes PR5833.
llvm-svn: 91907
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions

