llvm.org GIT mirror llvm / 8ccf2b3
ARM: Put isV8EligibleForIT into the llvm namespace. While there make it inline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192350 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 6 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1515
1616 #include "ARM.h"
1717
18 using namespace llvm;
18 namespace llvm {
1919
2020 template // could be MachineInstr or MCInst
21 bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex=0) {
21 inline bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex = 0) {
2222 switch (Instr->getOpcode()) {
2323 default:
2424 return false;
8787 }
8888 }
8989
90 }
91
9092 #endif