dense-pk2 remove inline specifier for clang (#4)

Reviewed-on: https://git.eden-emu.dev/eden-emu/dynarmic/pulls/4
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
This commit is contained in:
Esther1024
2025-05-20 01:37:17 +00:00
committed by crueter
parent 88422e2421
commit c8389f4860
2 changed files with 9 additions and 8 deletions

View File

@@ -85,23 +85,24 @@ Value Value::EmptyNZCVImmediateMarker() {
return result;
}
inline bool Value::IsIdentity() const noexcept {
/// @brief ?
bool Value::IsIdentity() const noexcept {
if (type == Type::Opaque)
return inner.inst->GetOpcode() == Opcode::Identity;
return false;
}
inline bool Value::IsEmpty() const noexcept {
bool Value::IsEmpty() const noexcept {
return type == Type::Void;
}
inline bool Value::IsImmediate() const noexcept {
bool Value::IsImmediate() const noexcept {
if (IsIdentity())
return inner.inst->GetArg(0).IsImmediate();
return type != Type::Opaque;
}
inline Type Value::GetType() const noexcept {
Type Value::GetType() const noexcept {
if (IsIdentity())
return inner.inst->GetArg(0).GetType();
if (type == Type::Opaque)

View File

@@ -52,10 +52,10 @@ public:
static Value EmptyNZCVImmediateMarker();
inline bool IsIdentity() const noexcept;
inline bool IsEmpty() const noexcept;
inline bool IsImmediate() const noexcept;
inline Type GetType() const noexcept;
bool IsIdentity() const noexcept;
bool IsEmpty() const noexcept;
bool IsImmediate() const noexcept;
Type GetType() const noexcept;
Inst* GetInst() const;
Inst* GetInstRecursive() const;