aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineCodeEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r--lib/CodeGen/MachineCodeEmitter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp
index e2b4908c74..d28fdeebbc 100644
--- a/lib/CodeGen/MachineCodeEmitter.cpp
+++ b/lib/CodeGen/MachineCodeEmitter.cpp
@@ -26,7 +26,10 @@ namespace {
std::cout << "0x" << std::hex << (unsigned int)B << std::dec << " ";
}
void emitPCRelativeDisp(Value *V) {
- std::cout << "<" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> ";
+ std::cout << "<disp %" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> ";
+ }
+ void emitGlobalAddress(GlobalValue *V) {
+ std::cout << "<addr %" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> ";
}
};
}