diff options
author | Sean Silva <silvas@purdue.edu> | 2012-10-10 20:24:47 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2012-10-10 20:24:47 +0000 |
commit | 3f7b7f8ce0b050fc6a0100839d9c5a84198b2aed (patch) | |
tree | b229fa1cc21ace68695e23723471305c15eaf0d1 /utils/TableGen/SetTheory.cpp | |
parent | 6cfc806a6b82b60a3e923b6b89f2b4da62cdb50b (diff) |
tblgen: Use semantically correct RTTI functions.
Also, some minor cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/SetTheory.cpp')
-rw-r--r-- | utils/TableGen/SetTheory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/SetTheory.cpp b/utils/TableGen/SetTheory.cpp index dcc887125e..5b760e7a23 100644 --- a/utils/TableGen/SetTheory.cpp +++ b/utils/TableGen/SetTheory.cpp @@ -193,7 +193,7 @@ struct SequenceOp : public SetTheory::Operator { throw "To out of range"; RecordKeeper &Records = - dyn_cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); + cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); Step *= From <= To ? 1 : -1; while (true) { |