diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-11 01:07:43 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-11 01:07:43 +0000 |
commit | a3b00b504ecb389c950178902a10ab2cff91ba58 (patch) | |
tree | de205b3158527427b0766568ca6294aa1ef3f702 /lib/Target/Sparc/SparcSubtarget.h | |
parent | 0d87d72fa7d371950a17a18716984640373b09e7 (diff) | |
download | llvm-a3b00b504ecb389c950178902a10ab2cff91ba58.tar.gz llvm-a3b00b504ecb389c950178902a10ab2cff91ba58.tar.bz2 llvm-a3b00b504ecb389c950178902a10ab2cff91ba58.tar.xz |
Move Sparc's getDataLayout out of line and add comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcSubtarget.h')
-rw-r--r-- | lib/Target/Sparc/SparcSubtarget.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/Sparc/SparcSubtarget.h b/lib/Target/Sparc/SparcSubtarget.h index 0f81cc960f..012aca7d92 100644 --- a/lib/Target/Sparc/SparcSubtarget.h +++ b/lib/Target/Sparc/SparcSubtarget.h @@ -45,15 +45,6 @@ public: void ParseSubtargetFeatures(StringRef CPU, StringRef FS); bool is64Bit() const { return Is64Bit; } - std::string getDataLayout() const { - const char *p; - if (is64Bit()) { - p = "E-p:64:64:64-i64:64:64-f64:64:64-f128:128:128-n32:64"; - } else { - p = "E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32"; - } - return std::string(p); - } /// The 64-bit ABI uses biased stack and frame pointers, so the stack frame /// of the current function is the area from [%sp+BIAS] to [%fp+BIAS]. |