From 2ca956f8dede03c23f6b497395cd3b99ebd1eb8a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 24 Mar 2006 20:25:01 +0000 Subject: [PATCH] Make sure to initialize the TheDef field! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27078 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenTarget.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1