projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a use of uninitialized value. OldCC is set when IsCmpZero || IsSwapped and read...
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86CodeEmitter.cpp
diff --git
a/lib/Target/X86/X86CodeEmitter.cpp
b/lib/Target/X86/X86CodeEmitter.cpp
index 0be680b182cda017b619216a9de1b461b91c74a6..76718d0b687785505116f88a9ec6f7f79926edb0 100644
(file)
--- a/
lib/Target/X86/X86CodeEmitter.cpp
+++ b/
lib/Target/X86/X86CodeEmitter.cpp
@@
-1476,7
+1476,7
@@
void Emitter<CodeEmitter>::emitInstruction(MachineInstr &MI,
#ifndef NDEBUG
dbgs() << "Cannot encode all operands of: " << MI << "\n";
#endif
- llvm_unreachable(
0
);
+ llvm_unreachable(
nullptr
);
}
MCE.processDebugLoc(MI.getDebugLoc(), false);