Add accessor
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.h
index d21bf32f07006361d99b59d88b92b9d1c50f58fa..24247ba6ab3c591fc40b020e1809151beab2f0a5 100644 (file)
@@ -82,6 +82,7 @@ public:
   bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; }
 
   bool isTargetDarwin() const { return TargetType == isDarwin; }
+  bool isTargetELF() const { return TargetType == isELF; }
 };
 } // End llvm namespace