mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8223186: HotSpot compile warnings from GCC 9
Reviewed-by: dholmes, aeubanks
This commit is contained in:
parent
6ecf7ffbb1
commit
a5c506b411
4 changed files with 10 additions and 6 deletions
|
@ -362,8 +362,12 @@ void decode_env::print_hook_comments(address pc, bool newline) {
|
|||
}
|
||||
|
||||
decode_env::decode_env(CodeBlob* code, outputStream* output, CodeStrings c,
|
||||
ptrdiff_t offset) {
|
||||
memset(this, 0, sizeof(*this)); // Beware, this zeroes bits of fields.
|
||||
ptrdiff_t offset) : _nm(NULL),
|
||||
_start(NULL),
|
||||
_end(NULL),
|
||||
_option_buf(),
|
||||
_print_raw('\0'),
|
||||
_cur_insn(NULL) {
|
||||
_output = output ? output : tty;
|
||||
_code = code;
|
||||
if (code != NULL && code->is_nmethod())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue