Skip to content

Commit

Permalink
Reverted accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
robehn committed Jan 8, 2024
1 parent 2442b9c commit fad8fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/vm_version_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ void VM_Version::initialize() {
if (FLAG_IS_DEFAULT(UseChaCha20Intrinsics)) {
FLAG_SET_DEFAULT(UseChaCha20Intrinsics, true);
}
} if (UseChaCha20Intrinsics) {
} else if (UseChaCha20Intrinsics) {
if (!FLAG_IS_DEFAULT(UseChaCha20Intrinsics)) {
warning("Chacha20 intrinsic requires RVV instructions (not available on this CPU)");
}
Expand Down

0 comments on commit fad8fa1

Please sign in to comment.