mirror of
https://git.eden-emu.dev/eden-emu/dynarmic
synced 2026-02-04 02:41:21 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user