OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb75c2
)
default construct MCInst's ctor to 0, which is "PHI" which is invalid for MCInsts.
author
Chris Lattner
<sabre@nondot.org>
Fri, 11 Sep 2009 16:33:58 +0000
(16:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 11 Sep 2009 16:33:58 +0000
(16:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81525
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCInst.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCInst.h
b/include/llvm/MC/MCInst.h
index
b204a9b
..
10a896a
100644
(file)
--- 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; }