diff options
author | Richard Trieu <rtrieu@google.com> | 2011-12-06 04:48:01 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2011-12-06 04:48:01 +0000 |
commit | 5f623229ecb37218f463f43def51e4b0807d6077 (patch) | |
tree | a91d5a2b2ac309fb311035b1f58db321593068ac /llvm/lib/CodeGen/DFAPacketizer.cpp | |
parent | 5e2192adb592492d7b42f1a2831bed7a8585e604 (diff) | |
download | llvm-5f623229ecb37218f463f43def51e4b0807d6077.zip llvm-5f623229ecb37218f463f43def51e4b0807d6077.tar.gz llvm-5f623229ecb37218f463f43def51e4b0807d6077.tar.bz2 |
Switch a cast to a dyn_cast and check the pointer before using. Fixes a crash
in the following code:
void test4(bool (&x)(void)) {
while (x);
}
llvm-svn: 145918
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions