Make sure to initialize the TheDef field!

llvm-svn: 27078
This commit is contained in:
Chris Lattner 2006-03-24 20:25:01 +00:00
parent 8840036091
commit f91acdb005

View File

@ -359,6 +359,7 @@ std::vector<CodeGenIntrinsic> llvm::LoadIntrinsics(const RecordKeeper &RC) {
}
CodeGenIntrinsic::CodeGenIntrinsic(Record *R) {
TheDef = R;
std::string DefName = R->getName();
ModRef = WriteMem;