diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-11 15:47:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-11 15:47:35 +0000 |
commit | 3eda2eb23eaceed2c1c242fdd71961572f0f7a91 (patch) | |
tree | 0c9b8a3f0351cec06e958c9aa301f7bf04d7f03a | |
parent | bf2f8a9963d880db15c0a30d4ed540bd43ed469d (diff) | |
download | external_llvm-3eda2eb23eaceed2c1c242fdd71961572f0f7a91.zip external_llvm-3eda2eb23eaceed2c1c242fdd71961572f0f7a91.tar.gz external_llvm-3eda2eb23eaceed2c1c242fdd71961572f0f7a91.tar.bz2 |
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
-rw-r--r-- | support/tools/TableGen/InstrSelectorEmitter.cpp | 2 | ||||
-rw-r--r-- | utils/TableGen/InstrSelectorEmitter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/support/tools/TableGen/InstrSelectorEmitter.cpp b/support/tools/TableGen/InstrSelectorEmitter.cpp index c4909dc..229c24b 100644 --- a/support/tools/TableGen/InstrSelectorEmitter.cpp +++ b/support/tools/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); diff --git a/utils/TableGen/InstrSelectorEmitter.cpp b/utils/TableGen/InstrSelectorEmitter.cpp index c4909dc..229c24b 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); |