projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa2c74
)
Initialize this variable on all paths, fixing a crasher in windows. Thanks
author
Chris Lattner
<sabre@nondot.org>
Sat, 19 Nov 2005 07:48:33 +0000
(07:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 19 Nov 2005 07:48:33 +0000
(07:48 +0000)
to JeffC for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24426
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenTarget.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenTarget.cpp
b/utils/TableGen/CodeGenTarget.cpp
index f0786e5f39e55d1299ebf55d9b3ffd1f4a3d9e00..d08cd7fdc93067f5667609dd2b25d1b706eacc91 100644
(file)
--- a/
utils/TableGen/CodeGenTarget.cpp
+++ b/
utils/TableGen/CodeGenTarget.cpp
@@
-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")) {