[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Dec 22 12:37:47 PST 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.113 -> 1.114
---
Log message:
silence some bogus gcc warnings
---
Diffs of the changes: (+2 -2)
DAGISelEmitter.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.113 llvm/utils/TableGen/DAGISelEmitter.cpp:1.114
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.113 Wed Dec 21 20:35:21 2005
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Thu Dec 22 14:37:36 2005
@@ -2483,7 +2483,7 @@
<< " CodeGenMap[N.getValue(1)] = New.getValue(1);\n"
<< " return New.getValue(N.ResNo);\n"
<< " } else {\n"
- << " SDOperand Flag;\n"
+ << " SDOperand Flag(0, 0);\n"
<< " if (N.getNumOperands() == 3) Flag = Select(N.getOperand(2));\n"
<< " if (Chain == N.getOperand(0) &&\n"
<< " (N.getNumOperands() == 2 || Flag == N.getOperand(2)))\n"
@@ -2505,7 +2505,7 @@
<< " Result = CurDAG->getCopyToReg(Chain, Reg, Val);\n"
<< " return CodeGenMap[N] = Result;\n"
<< " } else {\n"
- << " SDOperand Flag;\n"
+ << " SDOperand Flag(0, 0);\n"
<< " if (N.getNumOperands() == 4) Flag = Select(N.getOperand(3));\n"
<< " if (Chain != N.getOperand(0) || Val != N.getOperand(2) ||\n"
<< " (N.getNumOperands() == 4 && Flag != N.getOperand(3)))\n"
More information about the llvm-commits
mailing list