8295268: Optimized builds are broken due to incorrect assert_is_rfp shortcuts

Reviewed-by: jiefu
This commit is contained in:
Aleksey Shipilev 2022-10-18 09:59:05 +00:00
parent 0b7d811c98
commit e7a964b4db
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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