Changes in directory llvm/utils/TableGen:
CodeGenTarget.cpp updated: 1.42 -> 1.43 --- Log message: Initialize this variable on all paths, fixing a crasher in windows. Thanks to JeffC for pointing this out. --- Diffs of the changes: (+1 -1) CodeGenTarget.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/utils/TableGen/CodeGenTarget.cpp diff -u llvm/utils/TableGen/CodeGenTarget.cpp:1.42 llvm/utils/TableGen/CodeGenTarget.cpp:1.43 --- llvm/utils/TableGen/CodeGenTarget.cpp:1.42 Sat Nov 19 01:05:57 2005 +++ llvm/utils/TableGen/CodeGenTarget.cpp Sat Nov 19 01:48:33 2005 @@ -267,7 +267,7 @@ 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")) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits