--- a/src/hotspot/cpu/s390/assembler_s390.hpp Tue May 21 11:45:37 2019 +0200
+++ b/src/hotspot/cpu/s390/assembler_s390.hpp Tue May 21 15:51:35 2019 +0200
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2016, 2017 SAP SE. All rights reserved.
+ * Copyright (c) 2016, 2019 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -1531,16 +1531,16 @@
//-----------------------------------------------
// Calculate length of instruction.
- static int instr_len(unsigned char *instr);
+ static unsigned int instr_len(unsigned char *instr);
// Longest instructions are 6 bytes on z/Architecture.
- static int instr_maxlen() { return 6; }
+ static unsigned int instr_maxlen() { return 6; }
// Average instruction is 4 bytes on z/Architecture (just a guess).
- static int instr_avglen() { return 4; }
+ static unsigned int instr_avglen() { return 4; }
// Shortest instructions are 2 bytes on z/Architecture.
- static int instr_minlen() { return 2; }
+ static unsigned int instr_minlen() { return 2; }
// Move instruction at pc right-justified into passed long int.
// Return instr len in bytes as function result.