1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Initialize this variable on all paths, fixing a crasher in windows. Thanks

to JeffC for pointing this out.

llvm-svn: 24426
This commit is contained in:
Chris Lattner 2005-11-19 07:48:33 +00:00
parent fc1975aa3b
commit 3727cc7ac0

View File

@ -267,7 +267,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
MVT::ValueType Ty;
std::string PrintMethod = "printOperand";
unsigned NumOps = 1;
DagInit *MIOpInfo;
DagInit *MIOpInfo = 0;
if (Rec->isSubClassOf("RegisterClass")) {
Ty = getValueType(Rec->getValueAsDef("RegType"));
} else if (Rec->isSubClassOf("Operand")) {