diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-10-24 16:15:27 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-10-24 16:15:27 +0000 |
commit | e2e25da4b6dafb2a4bcc1518a1b440decc4ace48 (patch) | |
tree | d687e3bfaecea419696f0163df7d6add63a10f0a /clang/lib/Serialization/ModuleManager.cpp | |
parent | 014601d56e0778b7b7a61f53923bfcbc5a92bc7f (diff) | |
download | bcm5719-llvm-e2e25da4b6dafb2a4bcc1518a1b440decc4ace48.tar.gz bcm5719-llvm-e2e25da4b6dafb2a4bcc1518a1b440decc4ace48.zip |
[mips] Replace MipsABIEnum with a MipsABIInfo class.
Summary:
No functional change yet, it's just an object replacement for an enum.
It will allow us to gather ABI information in a single place so that we can
start testing for properties of the ABI's instead of the ABI itself.
For example we will eventually be able to use:
ABI.MinStackAlignmentInBytes()
instead of:
(isABI_N32() || isABI_N64()) ? 16 : 8
which is clearer and more maintainable.
Reviewers: matheusalmeida
Reviewed By: matheusalmeida
Differential Revision: http://reviews.llvm.org/D3341
llvm-svn: 220568
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions