[llvm-commits] [llvm] r81525 - /llvm/trunk/include/llvm/MC/MCInst.h
Chris Lattner
sabre at nondot.org
Fri Sep 11 09:33:59 PDT 2009
Author: lattner
Date: Fri Sep 11 11:33:58 2009
New Revision: 81525
URL: http://llvm.org/viewvc/llvm-project?rev=81525&view=rev
Log:
default construct MCInst's ctor to 0, which is "PHI" which is invalid for MCInsts.
Modified:
llvm/trunk/include/llvm/MC/MCInst.h
Modified: llvm/trunk/include/llvm/MC/MCInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCInst.h?rev=81525&r1=81524&r2=81525&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCInst.h (original)
+++ llvm/trunk/include/llvm/MC/MCInst.h Fri Sep 11 11:33:58 2009
@@ -132,7 +132,7 @@
unsigned Opcode;
SmallVector<MCOperand, 8> Operands;
public:
- MCInst() : Opcode(~0U) {}
+ MCInst() : Opcode(0) {}
void setOpcode(unsigned Op) { Opcode = Op; }
More information about the llvm-commits
mailing list