projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e3e10
)
ARM: Put isV8EligibleForIT into the llvm namespace. While there make it inline.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 10 Oct 2013 14:35:45 +0000
(14:35 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 10 Oct 2013 14:35:45 +0000
(14:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192350
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFeatures.h
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFeatures.h
b/lib/Target/ARM/ARMFeatures.h
index eaec0507410c991e34fb75cd7ad03600594ea3da..dafc4b3a82bd1b4bb47c728669ba320aa9b763bf 100644
(file)
--- a/
lib/Target/ARM/ARMFeatures.h
+++ b/
lib/Target/ARM/ARMFeatures.h
@@
-16,10
+16,10
@@
#include "ARM.h"
-using namespace llvm;
+namespace llvm {
template<typename InstrType> // could be MachineInstr or MCInst
-
bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex=
0) {
+
inline bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex =
0) {
switch (Instr->getOpcode()) {
default:
return false;
@@
-88,4
+88,6
@@
bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex=0) {
}
}
+}
+
#endif