8224652: 32-bit build failures after JDK-8213084

Reviewed-by: thartmann, shade
This commit is contained in:
Aleksey Shipilev 2019-05-23 18:50:48 +02:00 committed by Lutz Schmidt
parent a46a6bcfeb
commit 6b0d17744b
2 changed files with 4 additions and 1 deletions

View File

@ -213,7 +213,7 @@ int AbstractDisassembler::print_hexdata(address here, int len, outputStream* st,
st->print(" long");
} else {
if (((uintptr_t)(here)&0x07) == 0) {
st->print("%23.1ld", *((jlong*)here));
st->print(JLONG_FORMAT_W(23), *((jlong*)here));
}
}
st->fill_to(align += 3*tsize);

View File

@ -97,6 +97,9 @@
#ifndef JLONG_FORMAT
#define JLONG_FORMAT INT64_FORMAT
#endif
#ifndef JLONG_FORMAT_W
#define JLONG_FORMAT_W(width) INT64_FORMAT_W(width)
#endif
#ifndef JULONG_FORMAT
#define JULONG_FORMAT UINT64_FORMAT
#endif