mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
ARM asm backend initialize isThumbMode based on target triple.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d23e99d2a
commit
b9d3ff8729
@ -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