summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMFeatures.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-04-12 18:39:57 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-04-12 18:39:57 +0000
commit30120c0626698e98f4f98b32b4e1de169f35c342 (patch)
tree8bcbc313511290dddbad864c910506c481e15e8a /llvm/lib/Target/ARM/ARMFeatures.h
parent8cdb9df6a577ec34a85980e6cc18c2423dd3a37c (diff)
downloadbcm5719-llvm-30120c0626698e98f4f98b32b4e1de169f35c342.tar.gz
bcm5719-llvm-30120c0626698e98f4f98b32b4e1de169f35c342.zip
Make helper static and place random global into the llvm namespace.
llvm-svn: 206116
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFeatures.h')
-rw-r--r--llvm/lib/Target/ARM/ARMFeatures.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMFeatures.h b/llvm/lib/Target/ARM/ARMFeatures.h
index 2c5a8c5164c..e191a3c779f 100644
--- a/llvm/lib/Target/ARM/ARMFeatures.h
+++ b/llvm/lib/Target/ARM/ARMFeatures.h
@@ -16,11 +16,11 @@
#include "MCTargetDesc/ARMMCTargetDesc.h"
+namespace llvm {
+
template<typename InstrType> // could be MachineInstr or MCInst
bool IsCPSRDead(InstrType *Instr);
-namespace llvm {
-
template<typename InstrType> // could be MachineInstr or MCInst
inline bool isV8EligibleForIT(InstrType *Instr) {
switch (Instr->getOpcode()) {
OpenPOWER on IntegriCloud