mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-27 14:16:09 +00:00
default construct MCInst's ctor to 0, which is "PHI" which is invalid for MCInsts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccb75c20c3
commit
892e44a07c
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user