Skip to content

Commit

Permalink
fix wrong java_regs in arg_shuffle, should be filtered_java_regs
Browse files Browse the repository at this point in the history
  • Loading branch information
feilongjiang authored Oct 19, 2023
1 parent f408667 commit 666018f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/downcallLinker_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void DowncallLinker::StubGenerator::generate() {

VMStorage shuffle_reg = as_VMStorage(x9);
GrowableArray<VMStorage> out_regs = ForeignGlobals::replace_place_holders(_input_registers, locs);
ArgumentShuffle arg_shuffle(java_regs, out_regs, shuffle_reg);
ArgumentShuffle arg_shuffle(filtered_java_regs, out_regs, shuffle_reg);

#ifndef PRODUCT
LogTarget(Trace, foreign, downcall) lt;
Expand Down

0 comments on commit 666018f

Please sign in to comment.