mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 01:38:03 +00:00
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
This commit is contained in:
parent
bf2f8a9963
commit
3eda2eb23e
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user