Skip to content

Commit

Permalink
Flip bool static decl
Browse files Browse the repository at this point in the history
  • Loading branch information
robehn committed Jan 18, 2025
1 parent 4ee2958 commit 6b3affe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/riscv/assembler_riscv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class InternalAddress: public Address {
class Assembler : public AbstractAssembler {
private:

bool static zfa_zli_lookup_double(uint64_t value, int* Rs) {
static bool zfa_zli_lookup_double(uint64_t value, int* Rs) {
(*Rs) = -1;
switch(value) {
case 0xbff0000000000000 : (*Rs) = 0; return true;
Expand Down Expand Up @@ -373,7 +373,7 @@ class Assembler : public AbstractAssembler {
}


bool static zfa_zli_lookup_float(uint32_t value, int* Rs = nullptr) {
static bool zfa_zli_lookup_float(uint32_t value, int* Rs = nullptr) {
(*Rs) = -1;
switch(value) {
case 0xbf800000 : (*Rs) = 0; return true;
Expand Down

0 comments on commit 6b3affe

Please sign in to comment.