projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use std::bitset for SubtargetFeatures
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
MCTargetDesc
/
ARMAsmBackend.h
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
b/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
index f4f10821037e08e6489536f8e7d4c5b6d989be9d..1246cc46a601a888565af72ad846e2774abbab5f 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
+++ b/
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
@@
-33,7
+33,7
@@
public:
return ARM::NumTargetFixupKinds;
}
return ARM::NumTargetFixupKinds;
}
- bool hasNOP() const { return
(STI->getFeatureBits() & ARM::HasV6T2Ops) != 0
; }
+ bool hasNOP() const { return
STI->getFeatureBits()[ARM::HasV6T2Ops]
; }
const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;