diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 23:55:21 +0000 | 
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 23:55:21 +0000 | 
| commit | e03eecb75f2f56a76cb3c20cb68c5edf358ea409 (patch) | |
| tree | 8df9abe0205da6cc0a8aa3ecfc022b1eeb210a0e /llvm/lib/CodeGen/AsmPrinter | |
| parent | ea086c72631ad414be00ab049d53fc0e51b67e94 (diff) | |
| download | bcm5719-llvm-e03eecb75f2f56a76cb3c20cb68c5edf358ea409.tar.gz bcm5719-llvm-e03eecb75f2f56a76cb3c20cb68c5edf358ea409.zip | |
Remove Value::{isName, getNameRef}.
Also, change MDString to use a StringRef.
llvm-svn: 77098
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 887c417a8a1..582acce0da3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -477,7 +477,7 @@ void AsmPrinter::printPICJumpTableEntry(const MachineJumpTableInfo *MJTI,  /// special global used by LLVM.  If so, emit it and return true, otherwise  /// do nothing and return false.  bool AsmPrinter::EmitSpecialLLVMGlobal(const GlobalVariable *GV) { -  if (GV->isName("llvm.used")) { +  if (GV->getName() == "llvm.used") {      if (TAI->getUsedDirective() != 0)    // No need to emit this at all.        EmitLLVMUsedList(GV->getInitializer());      return true; | 

