1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

default construct MCInst's ctor to 0, which is "PHI" which is invalid for MCInsts.

llvm-svn: 81525
This commit is contained in:
Chris Lattner 2009-09-11 16:33:58 +00:00
parent f54dbed77f
commit 951ae07703

View File

@ -132,7 +132,7 @@ class MCInst {
unsigned Opcode;
SmallVector<MCOperand, 8> Operands;
public:
MCInst() : Opcode(~0U) {}
MCInst() : Opcode(0) {}
void setOpcode(unsigned Op) { Opcode = Op; }