Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robehn committed Sep 27, 2024
1 parent 01d90e3 commit b5bdd30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/runtime_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void OptoRuntime::generate_exception_blob() {
__ sd(zr, Address(xthread, JavaThread::exception_oop_offset()));

// x10: exception oop
// t0: exception handler
// t1: exception handler
// x14: exception pc
// Jump to handler

Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/templateTable_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ void TemplateTable::_return(TosState state) {
void TemplateTable::resolve_cache_and_index_for_method(int byte_no,
Register Rcache,
Register index) {
const Register temp = x9;
const Register temp = x9; // s1
assert_different_registers(Rcache, index, temp);
assert(byte_no == f1_byte || byte_no == f2_byte, "byte_no out of range");

Expand Down

0 comments on commit b5bdd30

Please sign in to comment.