projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix register printing in disassembling of push/pop of segment registers and in/out...
[oota-llvm.git]
/
tools
/
llvm-dis
/
llvm-dis.cpp
diff --git
a/tools/llvm-dis/llvm-dis.cpp
b/tools/llvm-dis/llvm-dis.cpp
index 7453d9e9f457093543334a45aff6a898ee026cbe..9020a527866c35590fe8186f3e2607de803cb1c5 100644
(file)
--- a/
tools/llvm-dis/llvm-dis.cpp
+++ b/
tools/llvm-dis/llvm-dis.cpp
@@
-74,7
+74,7
@@
public:
if (!V.getType()->isVoidTy()) {
OS.PadToColumn(50);
Padded = true;
if (!V.getType()->isVoidTy()) {
OS.PadToColumn(50);
Padded = true;
- OS << "; [#uses=" << V.getNumUses() << " type=" <<
V.getType()->getDescription
() << "]"; // Output # uses and type
+ OS << "; [#uses=" << V.getNumUses() << " type=" <<
*V.getType
() << "]"; // Output # uses and type
}
if (const Instruction *I = dyn_cast<Instruction>(&V)) {
const DebugLoc &DL = I->getDebugLoc();
}
if (const Instruction *I = dyn_cast<Instruction>(&V)) {
const DebugLoc &DL = I->getDebugLoc();