commit | 8cb107dbb81490c39d562d4ef7bb22b237779458 | [log] [tgz] |
---|---|---|
author | Nicolai Haehnle <nhaehnle@gmail.com> | Mon Mar 05 14:01:30 2018 +0000 |
committer | Nicolai Haehnle <nhaehnle@gmail.com> | Mon Mar 05 14:01:30 2018 +0000 |
tree | b630b384ddbd1225e034128012a3d0ccff428502 | |
parent | ec1d1788ce5e1b0b46b91f932912a712b81578a4 [diff] |
TableGen: Use DefInit::getDef() instead of the type's getRecord() The former simply makes more sense: we want to access the data here in the backend, not information about the type. More importantly, removing users of RecordRecTy::getRecord() allows us more freedom to refactor the frontend. Change-Id: Iee8905fd22cdb9b11c42ca03246c03d8fe4dd77f git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326699 91177308-0d34-0410-b5e6-96231b3b80d8