1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

For PR761:

Remove the setEndiannes and setPointerSize methods. These are now set
through the setDataLayout method.

llvm-svn: 33526
This commit is contained in:
Reid Spencer 2007-01-26 08:07:01 +00:00
parent 8949da79b5
commit bf7f018011

View File

@ -121,7 +121,7 @@ public:
/// Get the data layout string for the module's target platform. This encodes /// Get the data layout string for the module's target platform. This encodes
/// the type sizes and alignments expected by this module. /// the type sizes and alignments expected by this module.
/// @returns the data layout as a string /// @returns the data layout as a string
std::string getDataLayout() const { return DataLayout; } const std::string& getDataLayout() const { return DataLayout; }
/// Get the target triple which is a string describing the target host. /// Get the target triple which is a string describing the target host.
/// @returns a string containing the target triple. /// @returns a string containing the target triple.
@ -147,17 +147,11 @@ public:
void setModuleIdentifier(const std::string &ID) { ModuleID = ID; } void setModuleIdentifier(const std::string &ID) { ModuleID = ID; }
/// Set the data layout /// Set the data layout
void setDataLayout(std::string DL) { DataLayout = DL; } void setDataLayout(const std::string& DL) { DataLayout = DL; }
/// Set the target triple. /// Set the target triple.
void setTargetTriple(const std::string &T) { TargetTriple = T; } void setTargetTriple(const std::string &T) { TargetTriple = T; }
/// Set the target endian information.
void setEndianness(Endianness E);
/// Set the target pointer size.
void setPointerSize(PointerSize PS);
/// Set the module-scope inline assembly blocks. /// Set the module-scope inline assembly blocks.
void setModuleInlineAsm(const std::string &Asm) { GlobalScopeAsm = Asm; } void setModuleInlineAsm(const std::string &Asm) { GlobalScopeAsm = Asm; }