summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/MC/MCInst.h2
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; }