1
0
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:
Jim Grosbach 2011-08-24 22:27:35 +00:00
parent 7374e16344
commit 76b50c3819

View File

@ -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;