sendaoYan / riscv-port-jdk8u-ysd

https://openjdk.org/projects/riscv-port
GNU General Public License v2.0
0 stars 0 forks source link

[riscv64-8u]riscv.ad:1906:61: error: no matching function for call to ‘CompiledStaticCall::emit_to_interp_stub(CodeBuffer&) const’ #78

Open sendaoYan opened 3 months ago

sendaoYan commented 3 months ago
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad: In member function ‘virtual void CallStaticJavaDirectNode::emit(CodeBuffer&, PhaseRegAlloc*) const’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:1906:61: error: no matching function for call to ‘CompiledStaticCall::emit_to_interp_stub(CodeBuffer&) const’
 1906 |       address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from ../generated/adfiles/ad_riscv.cpp:34:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/code/compiledIC.hpp:330:18: note: candidate: ‘static u_char* CompiledStaticCall::emit_to_interp_stub(CodeBuffer&, address)’
  330 |   static address emit_to_interp_stub(CodeBuffer &cbuf, address mark);
      |                  ^~~~~~~~~~~~~~~~~~~

make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log

sendaoYan commented 3 months ago

8293840: RISC-V: Remove cbuf parameter from far_call/far_jump/trampoline_call 又变成2个参数

sendaoYan commented 3 months ago

一直都是一个参数,没有找到记录jdk8u什么时候变成2个参数的

sendaoYan commented 3 months ago
diff --git a/hotspot/src/cpu/riscv/vm/riscv.ad b/hotspot/src/cpu/riscv/vm/riscv.ad
index 74caf21dad7..3376fe16f2d 100644
--- a/hotspot/src/cpu/riscv/vm/riscv.ad
+++ b/hotspot/src/cpu/riscv/vm/riscv.ad
@@ -1903,7 +1903,7 @@ encode %{

     if (_method) {
       // Emit stub for static call
-      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+      address stub = CompiledStaticCall::emit_to_interp_stub(cbuf, call);
     }
   %}
sendaoYan commented 3 months ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 41d1204d7e3..9a88810bba6 minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 3 months ago

make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log