diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-09 06:08:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-09 06:08:39 +0000 |
commit | 927686fe8c968ca786fa44d2353eebf59c4f5b8a (patch) | |
tree | b0d30bc00e5dcb4b397e83c7edb66a1f2a83105e /lib/Basic/Targets.cpp | |
parent | 8cbcb0ed56b307339f27c6e7daf3444294d332f2 (diff) |
parameterize pointer size/align better without doing virtual method calls in normal case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 25bc6fbb4d..9c1675d6af 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -869,10 +869,8 @@ namespace { PIC16TargetInfo(const std::string& triple) : TargetInfo(triple) { IntWidth = IntAlign = 16; } - virtual uint64_t getPointerWidth(unsigned AddrSpace) const { return 16; } - virtual uint64_t getPointerAlign(unsigned AddrSpace) const { return 8; } - virtual unsigned getIntWidth() const { return 16; } - virtual unsigned getIntAlign() const { return 8; } + virtual uint64_t getPointerWidthV(unsigned AddrSpace) const { return 16; } + virtual uint64_t getPointerAlignV(unsigned AddrSpace) const { return 8; } virtual void getTargetDefines(std::vector<char> &Defines) const { Define(Defines, "__pic16"); } |