mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
Make sure both member variables are initialized in the default constructor
for SDOperand. This gets rid of numerous warnings in lib/CodeGen and lib/Target when compiled with GCC 4.0.2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41f6cbbeb2
commit
ace44dbbab
@ -609,7 +609,7 @@ public:
|
||||
SDNode *Val; // The node defining the value we are using.
|
||||
unsigned ResNo; // Which return value of the node we are using.
|
||||
|
||||
SDOperand() : Val(0) {}
|
||||
SDOperand() : Val(0), ResNo(0) {}
|
||||
SDOperand(SDNode *val, unsigned resno) : Val(val), ResNo(resno) {}
|
||||
|
||||
bool operator==(const SDOperand &O) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user