Open sendaoYan opened 2 months ago
diff --git a/hotspot/src/cpu/riscv/vm/register_riscv.hpp b/hotspot/src/cpu/riscv/vm/register_riscv.hpp
index 23bd97d5d65..d0f89a1bc79 100644
--- a/hotspot/src/cpu/riscv/vm/register_riscv.hpp
+++ b/hotspot/src/cpu/riscv/vm/register_riscv.hpp
@@ -49,7 +49,7 @@ typedef VMRegImpl* VMReg;
class RegisterImpl;
typedef RegisterImpl* Register;
-inline const Register as_Register(int encoding) {
+inline Register as_Register(int encoding) {
return (Register)(intptr_t) encoding;
}
To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 71431bb3641..c5c70ccd28b minus-jbs8276799 -> minus-jbs8276799 ad_riscv.log make-riscv64.log
ad_riscv.log make-fastdebug-aarch64.log make-fastdebug-x86_64.log make-release-aarch64.log make-release-x86_64.log make-riscv64.log make-slowdebug-aarch64.log make-slowdebug-x86_64.log