projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added forgotten noexcept.
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineCombiner.cpp
diff --git
a/lib/CodeGen/MachineCombiner.cpp
b/lib/CodeGen/MachineCombiner.cpp
index 032b4ee5cbb123d30b7c168a102addba9470905a..aeb864efa340243c59c5528308894c7f634bbf36 100644
(file)
--- a/
lib/CodeGen/MachineCombiner.cpp
+++ b/
lib/CodeGen/MachineCombiner.cpp
@@
-380,7
+380,7
@@
bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) {
MBB->insert((MachineBasicBlock::iterator) & MI,
(MachineInstr *)InstrPtr);
for (auto *InstrPtr : DelInstrs)
- InstrPtr->eraseFromParent();
+ InstrPtr->eraseFromParent
AndMarkDBGValuesForRemoval
();
Changed = true;
++NumInstCombined;