From: Chris Lattner Date: Fri, 24 Mar 2006 20:25:01 +0000 (+0000) Subject: Make sure to initialize the TheDef field! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ca956f8dede03c23f6b497395cd3b99ebd1eb8a;p=oota-llvm.git Make sure to initialize the TheDef field! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27078 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index ee42eddc2e5..42864f54f3a 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -359,6 +359,7 @@ std::vector llvm::LoadIntrinsics(const RecordKeeper &RC) { } CodeGenIntrinsic::CodeGenIntrinsic(Record *R) { + TheDef = R; std::string DefName = R->getName(); ModRef = WriteMem;