Update MCParsedAsmOperand debug methods.
authorJim Grosbach <grosbach@apple.com>
Wed, 13 Jul 2011 15:34:57 +0000 (15:34 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 13 Jul 2011 15:34:57 +0000 (15:34 +0000)
commitb7f689bab98777236a2bf600f299d232d246bb61
tree73b58b82db39a23ab728b4c75c4a05237e101d7a
parent75f67e0d8daa6201675d7bdec86e7e4f995f969f
Update MCParsedAsmOperand debug methods.

Update the debug output interface for MCParsedAsmOperand to have a print()
method which takes an output stream argument, an << operator which invokes
the print method using the given stream, and a dump() method which prints
the operand to the dbgs() stream. This makes the interface more consistent
with the rest of LLVM, and more convenient to use at the debugger command
line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135043 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCParser/MCParsedAsmOperand.h
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCParser/MCAsmParser.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
lib/Target/X86/AsmParser/X86AsmParser.cpp