Skip to content

Commit

Permalink
8295268: Optimized builds are broken due to incorrect assert_is_rfp s…
Browse files Browse the repository at this point in the history
…hortcuts

Reviewed-by: jiefu
  • Loading branch information
shipilev committed Oct 18, 2022
1 parent 0b7d811 commit e7a964b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/arm/smallRegisterMap_arm.inline.hpp
Expand Up @@ -33,7 +33,7 @@ class SmallRegisterMap {
public:
static constexpr SmallRegisterMap* instance = nullptr;
private:
static void assert_is_rfp(VMReg r) PRODUCT_RETURN
static void assert_is_rfp(VMReg r) NOT_DEBUG_RETURN
DEBUG_ONLY({ Unimplemented(); })
public:
// as_RegisterMap is used when we didn't want to templatize and abstract over RegisterMap type to support SmallRegisterMap
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/ppc/smallRegisterMap_ppc.inline.hpp
Expand Up @@ -33,7 +33,7 @@ class SmallRegisterMap {
public:
static constexpr SmallRegisterMap* instance = nullptr;
private:
static void assert_is_rfp(VMReg r) PRODUCT_RETURN
static void assert_is_rfp(VMReg r) NOT_DEBUG_RETURN
DEBUG_ONLY({ Unimplemented(); })
public:
// as_RegisterMap is used when we didn't want to templatize and abstract over RegisterMap type to support SmallRegisterMap
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/smallRegisterMap_riscv.inline.hpp
Expand Up @@ -33,7 +33,7 @@ class SmallRegisterMap {
public:
static constexpr SmallRegisterMap* instance = nullptr;
private:
static void assert_is_rfp(VMReg r) PRODUCT_RETURN
static void assert_is_rfp(VMReg r) NOT_DEBUG_RETURN
DEBUG_ONLY({ Unimplemented(); })
public:
// as_RegisterMap is used when we didn't want to templatize and abstract over RegisterMap type to support SmallRegisterMap
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/s390/smallRegisterMap_s390.inline.hpp
Expand Up @@ -33,7 +33,7 @@ class SmallRegisterMap {
public:
static constexpr SmallRegisterMap* instance = nullptr;
private:
static void assert_is_rfp(VMReg r) PRODUCT_RETURN
static void assert_is_rfp(VMReg r) NOT_DEBUG_RETURN
DEBUG_ONLY({ Unimplemented(); })
public:
// as_RegisterMap is used when we didn't want to templatize and abstract over RegisterMap type to support SmallRegisterMap
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/zero/smallRegisterMap_zero.inline.hpp
Expand Up @@ -33,7 +33,7 @@ class SmallRegisterMap {
public:
static constexpr SmallRegisterMap* instance = nullptr;
private:
static void assert_is_rfp(VMReg r) PRODUCT_RETURN
static void assert_is_rfp(VMReg r) NOT_DEBUG_RETURN
DEBUG_ONLY({ Unimplemented(); })
public:
// as_RegisterMap is used when we didn't want to templatize and abstract over RegisterMap type to support SmallRegisterMap
Expand Down

0 comments on commit e7a964b

Please sign in to comment.