[TableGen] Restore the use of the TheInit field in Record to cache the Record's DefIn...
authorCraig Topper <craig.topper@gmail.com>
Wed, 24 Jun 2015 06:19:19 +0000 (06:19 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 24 Jun 2015 06:19:19 +0000 (06:19 +0000)
commit14055649875565c43e21f0bd6f0f4a249376766d
treee4eaeb85f87a4ec0b596b79029dc8e9552844a91
parentbfb19226709cc3ab09c8a492435a4b2bbff84c69
[TableGen] Restore the use of the TheInit field in Record to cache the Record's DefInit. I broke this when I fixed memory leaks recently. Remove the DenseMap that mapped Record's to DefInit.

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