print intptr_t's as pointers in compareIpToMethodBounds to avoid printf compatibility issues

This commit is contained in:
Joel Dice 2009-08-07 16:27:24 -06:00
parent 012d548bbb
commit 2da6980eb5

View File

@ -189,8 +189,10 @@ compareIpToMethodBounds(Thread* t, intptr_t ip, object method)
intptr_t start = methodCompiled(t, method);
if (DebugMethodTree) {
fprintf(stderr, "find 0x%"LX" in (0x%"LX",0x%"LX")\n", ip, start,
start + compiledSize(start));
fprintf(stderr, "find %p in (%p,%p)\n",
reinterpret_cast<void*>(ip),
reinterpret_cast<void*>(start),
reinterpret_cast<void*>(start + compiledSize(start)));
}
if (ip < start) {