diff options
| author | Dan Gohman <gohman@apple.com> | 2008-02-10 18:45:23 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-02-10 18:45:23 +0000 |
| commit | 3a4be0fdefc64931e6ae95165c529a916e4dd32d (patch) | |
| tree | 9ffd3d1f95550f841f32371fb7ec29de8d2e0ed5 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
| parent | 60fb1d80fe7d72057737e9b81049efbc78244207 (diff) | |
| download | bcm5719-llvm-3a4be0fdefc64931e6ae95165c529a916e4dd32d.tar.gz bcm5719-llvm-3a4be0fdefc64931e6ae95165c529a916e4dd32d.zip | |
Rename MRegisterInfo to TargetRegisterInfo.
llvm-svn: 46930
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 060f6a6794b..ce1f6c84c5c 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -34,7 +34,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineRegisterInfo.h" -#include "llvm/Target/MRegisterInfo.h" +#include "llvm/Target/TargetRegisterInfo.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/Debug.h" @@ -121,8 +121,8 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { unsigned regA = mi->getOperand(ti).getReg(); unsigned regB = mi->getOperand(si).getReg(); - assert(MRegisterInfo::isVirtualRegister(regA) && - MRegisterInfo::isVirtualRegister(regB) && + assert(TargetRegisterInfo::isVirtualRegister(regA) && + TargetRegisterInfo::isVirtualRegister(regB) && "cannot update physical register live information"); #ifndef NDEBUG |

