mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Initialize this variable on all paths, fixing a crasher in windows. Thanks
to JeffC for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3aa2c74e19
commit
3367079b0b
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user