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:
c740d06
)
Copy and paste silliness.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 22 Feb 2007 23:52:23 +0000
(23:52 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 22 Feb 2007 23:52:23 +0000
(23:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34507
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/LiveIntervalAnalysis.h
b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index
dc72807
..
451905f
100644
(file)
--- a/
include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/
include/llvm/CodeGen/LiveIntervalAnalysis.h
@@
-175,8
+175,7
@@
namespace llvm {
/// isRemoved - returns true if the specified machine instr has been
/// removed.
bool isRemoved(MachineInstr* instr) const {
- Mi2IndexMap::const_iterator it = mi2iMap_.find(instr);
- return it == mi2iMap_.end();
+ return !mi2iMap_.count(instr);
}
/// RemoveMachineInstrFromMaps - This marks the specified machine instr as