forked from OSchip/llvm-project
ARM asm backend initialize isThumbMode based on target triple.
llvm-svn: 138501
This commit is contained in:
parent
838ed3af46
commit
21a60b6f90
|
@ -42,7 +42,7 @@ class ARMAsmBackend : public MCAsmBackend {
|
|||
public:
|
||||
ARMAsmBackend(const Target &T, const StringRef TT)
|
||||
: MCAsmBackend(), STI(ARM_MC::createARMMCSubtargetInfo(TT, "", "")),
|
||||
isThumbMode(false) {}
|
||||
isThumbMode(TT.startswith("thumb")) {}
|
||||
|
||||
~ARMAsmBackend() {
|
||||
delete STI;
|
||||
|
|
Loading…
Reference in New Issue