From 3eda2eb23eaceed2c1c242fdd71961572f0f7a91 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 11 Aug 2003 15:47:35 +0000 Subject: Don't forget to initializer result field to 0! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7729 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/InstrSelectorEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/TableGen/InstrSelectorEmitter.cpp') diff --git a/utils/TableGen/InstrSelectorEmitter.cpp b/utils/TableGen/InstrSelectorEmitter.cpp index c4909dc25a..229c24bca4 100644 --- a/utils/TableGen/InstrSelectorEmitter.cpp +++ b/utils/TableGen/InstrSelectorEmitter.cpp @@ -116,7 +116,7 @@ void TreePatternNode::dump() const { std::cerr << *this; } // 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); -- cgit v1.2.3