diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-01 06:43:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-01 06:43:02 +0000 |
commit | 617bfc39ffeafa7dff1eaa47f980b8e8043efc2a (patch) | |
tree | 9081c075444627f3356a6208684b64db6b294157 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 81f0550cdddc81c406e05821570b730b79c80624 (diff) | |
download | llvm-617bfc39ffeafa7dff1eaa47f980b8e8043efc2a.zip llvm-617bfc39ffeafa7dff1eaa47f980b8e8043efc2a.tar.gz llvm-617bfc39ffeafa7dff1eaa47f980b8e8043efc2a.tar.bz2 |
Sema::ActOnInstanceMessage is generally doing bad things with typedefs, but
here I fix just one. The loop that rips through pointers should use
getAsPointerType() not static_cast<PointerType*> to get the pointee. This
fixes a crash on a large testcase.
llvm-svn: 46632
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions