aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/VirtRegMap.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-04 00:35:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-04 00:35:59 +0000
commit46f6fe7a45964a4aa1c6a0f52b9991af8c30cb0b (patch)
tree374d40fce36c2528e80d43657f2db888d023cd88 /include/llvm/CodeGen/VirtRegMap.h
parent980bddfb1c26e2e9374d1645f9ae26c44742606f (diff)
Remove VirtRegMap::getRegAllocPref().
Now that there can be multiple hint registers from targets, it doesn't make sense to have a function that returns 'the' preferred register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/VirtRegMap.h')
-rw-r--r--include/llvm/CodeGen/VirtRegMap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/VirtRegMap.h b/include/llvm/CodeGen/VirtRegMap.h
index f5357a4099..3bc6ebd563 100644
--- a/include/llvm/CodeGen/VirtRegMap.h
+++ b/include/llvm/CodeGen/VirtRegMap.h
@@ -126,9 +126,6 @@ namespace llvm {
grow();
}
- /// @brief returns the register allocation preference.
- unsigned getRegAllocPref(unsigned virtReg);
-
/// @brief returns true if VirtReg is assigned to its preferred physreg.
bool hasPreferredPhys(unsigned VirtReg);