summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2014-01-09 19:22:07 +0000
committerNadav Rotem <nrotem@apple.com>2014-01-09 19:22:07 +0000
commit480469249120b961fd373b6c7f510c4368dabfa2 (patch)
tree25dcaedc54fb994af323cab2371ec1177b77d4c9 /include
parent80f3b5af18430bca9bed209f854b1429051a054b (diff)
downloadllvm-480469249120b961fd373b6c7f510c4368dabfa2.tar.gz
llvm-480469249120b961fd373b6c7f510c4368dabfa2.tar.bz2
llvm-480469249120b961fd373b6c7f510c4368dabfa2.tar.xz
Re-remove dead code.
This reverts r198854. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Module.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/IR/Module.h b/include/llvm/IR/Module.h
index fa7767a526..eb1812c09b 100644
--- a/include/llvm/IR/Module.h
+++ b/include/llvm/IR/Module.h
@@ -142,12 +142,6 @@ public:
/// The named metadata constant interators.
typedef NamedMDListType::const_iterator const_named_metadata_iterator;
- /// An enumeration for describing the endianess of the target machine.
- enum Endianness { LittleEndian, BigEndian };
-
- /// An enumeration for describing the size of a pointer on the target machine.
- enum PointerSize { Pointer32, Pointer64 };
-
/// This enumeration defines the supported behaviors of module flags.
enum ModFlagBehavior {
/// Emits an error if two values disagree, otherwise the resulting value is
@@ -236,14 +230,6 @@ public:
/// @returns a string containing the target triple.
const std::string &getTargetTriple() const { return TargetTriple; }
- /// Get the target endian information.
- /// @returns Endianess - an enumeration for the endianess of the target
- Endianness getEndianness() const;
-
- /// Get the target pointer size.
- /// @returns PointerSize - an enumeration for the size of the target's pointer
- PointerSize getPointerSize() const;
-
/// Get the global data context.
/// @returns LLVMContext - a container for LLVM's global information
LLVMContext &getContext() const { return Context; }