Skip to content

Commit e8ce162

Browse files
committed
Add accessor
llvm-svn: 30080
1 parent 2f77922 commit e8ce162

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/X86/X86Subtarget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class X86Subtarget : public TargetSubtarget {
8282
bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; }
8383

8484
bool isTargetDarwin() const { return TargetType == isDarwin; }
85+
bool isTargetELF() const { return TargetType == isELF; }
8586
};
8687
} // End llvm namespace
8788

0 commit comments

Comments
 (0)