mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #6885 from lioncash/namespace
Common/CodeBlock: Namespace code under the Common namespace
This commit is contained in:
commit
a825ddf466
@ -1126,7 +1126,7 @@ private:
|
|||||||
void UXTL(u8 src_size, ARM64Reg Rd, ARM64Reg Rn, bool upper);
|
void UXTL(u8 src_size, ARM64Reg Rd, ARM64Reg Rn, bool upper);
|
||||||
};
|
};
|
||||||
|
|
||||||
class ARM64CodeBlock : public CodeBlock<ARM64XEmitter>
|
class ARM64CodeBlock : public Common::CodeBlock<ARM64XEmitter>
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
void PoisonMemory() override
|
void PoisonMemory() override
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/MemoryUtil.h"
|
#include "Common/MemoryUtil.h"
|
||||||
|
|
||||||
|
namespace Common
|
||||||
|
{
|
||||||
// Everything that needs to generate code should inherit from this.
|
// Everything that needs to generate code should inherit from this.
|
||||||
// You get memory management for free, plus, you can use all emitter functions without
|
// You get memory management for free, plus, you can use all emitter functions without
|
||||||
// having to prefix them with gen-> or something similar.
|
// having to prefix them with gen-> or something similar.
|
||||||
@ -116,3 +118,4 @@ public:
|
|||||||
m_children.emplace_back(child);
|
m_children.emplace_back(child);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
} // namespace Common
|
||||||
|
@ -1155,7 +1155,7 @@ public:
|
|||||||
}
|
}
|
||||||
}; // class XEmitter
|
}; // class XEmitter
|
||||||
|
|
||||||
class X64CodeBlock : public CodeBlock<XEmitter>
|
class X64CodeBlock : public Common::CodeBlock<XEmitter>
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
void PoisonMemory() override
|
void PoisonMemory() override
|
||||||
|
Loading…
Reference in New Issue
Block a user