[llvm-commits] CVS: llvm/utils/TableGen/InstrSelectorEmitter.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 11 10:48:01 PDT 2003


Changes in directory llvm/utils/TableGen:

InstrSelectorEmitter.cpp updated: 1.22 -> 1.23

---
Log message:

Don't forget to initializer result field to 0!


---
Diffs of the changes:

Index: llvm/utils/TableGen/InstrSelectorEmitter.cpp
diff -u llvm/utils/TableGen/InstrSelectorEmitter.cpp:1.22 llvm/utils/TableGen/InstrSelectorEmitter.cpp:1.23
--- llvm/utils/TableGen/InstrSelectorEmitter.cpp:1.22	Mon Aug 11 10:16:12 2003
+++ llvm/utils/TableGen/InstrSelectorEmitter.cpp	Mon Aug 11 10:47:35 2003
@@ -116,7 +116,7 @@
 //
 Pattern::Pattern(PatternType pty, DagInit *RawPat, Record *TheRec,
                  InstrSelectorEmitter &ise)
-  : PTy(pty), TheRecord(TheRec), ISE(ise) {
+  : PTy(pty), Result(0), TheRecord(TheRec), ISE(ise) {
 
   // First, parse the pattern...
   Tree = ParseTreePattern(RawPat);





More information about the llvm-commits mailing list