Skip to content

Commit

Permalink
8335806: RISC-V: Corrected typos Bizarrely
Browse files Browse the repository at this point in the history
Reviewed-by: aph, amitkumar
  • Loading branch information
SendaoYan authored and RealFYang committed Jul 8, 2024
1 parent 6f7f0f1 commit 3f37c57
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/aarch64/c2_MacroAssembler_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ void C2_MacroAssembler::string_compare(Register str1, Register str2,

BLOCK_COMMENT("string_compare {");

// Bizzarely, the counts are passed in bytes, regardless of whether they
// Bizarrely, the counts are passed in bytes, regardless of whether they
// are L or U strings, however the result is always in characters.
if (!str1_isL) asrw(cnt1, cnt1, 1);
if (!str2_isL) asrw(cnt2, cnt2, 1);
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ void C2_MacroAssembler::string_compare(Register str1, Register str2,

BLOCK_COMMENT("string_compare {");

// Bizzarely, the counts are passed in bytes, regardless of whether they
// Bizarrely, the counts are passed in bytes, regardless of whether they
// are L or U strings, however the result is always in characters.
if (!str1_isL) {
sraiw(cnt1, cnt1, 1);
Expand Down

0 comments on commit 3f37c57

Please sign in to comment.