mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
ARM asm backend initialize isThumbMode based on target triple.
llvm-svn: 138501
This commit is contained in:
parent
7374e16344
commit
76b50c3819
@ -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
Block a user