diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-02-28 00:59:19 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-02-28 00:59:19 +0000 |
commit | 36230cdda48edf6c634f2dcf69f9d78ac5a17377 (patch) | |
tree | b67d74b69de76a992e19bd4d4d2e0b90023c60e7 /include/llvm/Target/MRegisterInfo.h | |
parent | 63f8a215455551bf0ee599d4fb4872be8e2301d2 (diff) | |
download | external_llvm-36230cdda48edf6c634f2dcf69f9d78ac5a17377.zip external_llvm-36230cdda48edf6c634f2dcf69f9d78ac5a17377.tar.gz external_llvm-36230cdda48edf6c634f2dcf69f9d78ac5a17377.tar.bz2 |
Make requiresRegisterScavenging determination on a per MachineFunction basis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/MRegisterInfo.h')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 7d41229..8dbb136 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -394,7 +394,7 @@ public: /// requiresRegisterScavenging - returns true if the target requires (and /// can make use of) the register scavenger. - virtual bool requiresRegisterScavenging() const { + virtual bool requiresRegisterScavenging(const MachineFunction &MF) const { return false; } |