Revert "[TableGen] Use cast instead of dyn_cast where result isn't checked before...
authorCraig Topper <craig.topper@gmail.com>
Wed, 22 Apr 2015 02:59:06 +0000 (02:59 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 22 Apr 2015 02:59:06 +0000 (02:59 +0000)
commit0b67fe729322ef415ee59a87619795136a1def4f
tree2a182d62b2b470511bfbb8f2e0f4f8f969e47911
parentfe6b36788e0e01f606c603d1d186251fc2842070
Revert "[TableGen] Use cast instead of dyn_cast where result isn't checked before being dereferenced."

Turns out I misread the parentheses. Though I'm pretty sure its always a RecordRecTy and non of the callers really seem to expect null. But until I'm completely sure I'm going to revert this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/TableGen/Record.cpp