diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-11 16:33:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-11 16:33:58 +0000 |
commit | 892e44a07c2422dedff9c5f0532286e677a64842 (patch) | |
tree | 72e327a06ce463896873078a9abcd8e6ea720114 | |
parent | ccb75c20c343839bc5841fecf63d19521aea0826 (diff) |
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
-rw-r--r-- | include/llvm/MC/MCInst.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInst.h b/include/llvm/MC/MCInst.h index b204a9b74d..10a896a668 100644 --- a/include/llvm/MC/MCInst.h +++ b/include/llvm/MC/MCInst.h @@ -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; } |