OSDN Git Service

Fix pr6198 by moving the isSized() check to an outer conditional.
authorBob Wilson <bob.wilson@apple.com>
Mon, 1 Feb 2010 17:41:44 +0000 (17:41 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 1 Feb 2010 17:41:44 +0000 (17:41 +0000)
commit3cb8509b680209c79632d7445709452f28213057
tree20ea8e1fa3a6a4c8e77f528aadfe6524c2193005
parentd75ff3104c2298ecb4abb18fb4bfc3f20a9099f8
Fix pr6198 by moving the isSized() check to an outer conditional.
The testcase from pr6198 does not crash for me -- I don't know what's up with
that -- so I'm not adding it to the tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94984 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp