mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-08 05:16:53 +00:00
ARM: Put isV8EligibleForIT into the llvm namespace. While there make it inline.
llvm-svn: 192350
This commit is contained in:
parent
11421cc493
commit
4cb23ab23b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user