Rename member function to be consistent with the rest.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11898 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index 42029dc..9e39618 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -459,7 +459,7 @@
             }
             else {
                 prt_->delRegUse(vrm_->getPhys(i->reg));
-                vrm_->clearVirtReg(i->reg);
+                vrm_->clearVirt(i->reg);
                 if (i->spilled()) {
                     if (!i->empty()) {
                         IntervalPtrs::iterator it = unhandled_.begin();
@@ -479,7 +479,7 @@
             if (MRegisterInfo::isPhysicalRegister(i->reg))
                 fixed_.push_front(i);
             else {
-                vrm_->clearVirtReg(i->reg);
+                vrm_->clearVirt(i->reg);
                 if (i->spilled()) {
                     if (!i->empty()) {
                         IntervalPtrs::iterator it = unhandled_.begin();
@@ -497,7 +497,7 @@
             if (MRegisterInfo::isPhysicalRegister(i->reg))
                 fixed_.push_front(i);
             else {
-                vrm_->clearVirtReg(i->reg);
+                vrm_->clearVirt(i->reg);
                 unhandled_.push_front(i);
             }
         }