diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-09 21:36:17 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-09 21:36:17 +0000 |
commit | 3a2429a86c50a89c3321c741b85fa7d1fe668b38 (patch) | |
tree | 0468d020407b0996f85d6b1db0c59150c4e82f7e /lib/Target/ARM/ARMAsmPrinter.cpp | |
parent | 071d1c063f1080c70a7141d947a96cf511a1ba45 (diff) |
Change the ARMConstantPoolValue modifier string to an enumeration. This will
help in MC'izing the references that use them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 30823d7018..ed7dd8c0de 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -647,7 +647,7 @@ EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV) { // FIXME: Model the whole expression an an MCExpr and we can get rid // of this hasRawTextSupport() clause and just do an EmitValue(). if (OutStreamer.hasRawTextSupport()) { - if (ACPV->hasModifier()) OS << "(" << ACPV->getModifier() << ")"; + if (ACPV->hasModifier()) OS << "(" << ACPV->getModifierText() << ")"; if (ACPV->getPCAdjustment() != 0) { OS << "-(" << MAI->getPrivateGlobalPrefix() << "PC" << getFunctionNumber() << "_" << ACPV->getLabelId() |