diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-01 09:30:42 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-01 09:30:42 +0000 |
commit | 4a4772fae267b4d0c7273bf6f30605f4ece645c8 (patch) | |
tree | a54de3c042e7b504f4ee8b5ad4abfa0dabd32261 /llvm/lib/Target/ARM/ARMAsmPrinter.cpp | |
parent | 6dbc9fe82ba8cf5be7cce88e13e7fb57c8a1e6e1 (diff) | |
download | bcm5719-llvm-4a4772fae267b4d0c7273bf6f30605f4ece645c8.tar.gz bcm5719-llvm-4a4772fae267b4d0c7273bf6f30605f4ece645c8.zip |
Use the ARMConstantPoolMBB class to handle the MBB values.
llvm-svn: 140943
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp index f4389db0a3e..81a36d16d77 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp @@ -856,7 +856,7 @@ EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV) { const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); MCSym = GetARMGVSymbol(GV); } else if (ACPV->isMachineBasicBlock()) { - const MachineBasicBlock *MBB = ACPV->getMBB(); + const MachineBasicBlock *MBB = cast<ARMConstantPoolMBB>(ACPV)->getMBB(); MCSym = MBB->getSymbol(); } else { assert(ACPV->isExtSymbol() && "unrecognized constant pool value"); |