diff options
author | David Meyer <pdox@google.com> | 2012-03-09 20:41:57 +0000 |
---|---|---|
committer | David Meyer <pdox@google.com> | 2012-03-09 20:41:57 +0000 |
commit | 6f9489a86f33624f9ff5388411d12359ce9cef20 (patch) | |
tree | 24b05bed8391c0be6059143a5639605ec28f77b0 /include/llvm/Object/MachO.h | |
parent | a8eb6bb408e84ceb468ceb409f4c87308e67b9eb (diff) | |
download | external_llvm-6f9489a86f33624f9ff5388411d12359ce9cef20.zip external_llvm-6f9489a86f33624f9ff5388411d12359ce9cef20.tar.gz external_llvm-6f9489a86f33624f9ff5388411d12359ce9cef20.tar.bz2 |
[Object]
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/MachO.h')
-rw-r--r-- | include/llvm/Object/MachO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 1aae85a..1e409b2 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -47,7 +47,7 @@ public: MachOObject *getObject() { return MachOObj; } static inline bool classof(const Binary *v) { - return v->getType() == isMachO; + return v->isMachO(); } static inline bool classof(const MachOObjectFile *v) { return true; } |