mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
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
This commit is contained in:
1 parent
58e3e1021d
commit
8ccf2b3c9e
1 file changed
+4
-2
@@ -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
|
||||
Reference in new issue
Block a user