diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-07-27 20:51:02 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-07-27 20:51:02 +0000 |
| commit | 27a141eccac29cd3a289e9ecf013c2bfd574cc82 (patch) | |
| tree | 0a77bc35f9e25b523304cd70481e9fa77d4ee71a /Source/Core/Common/Src/x64Emitter.cpp | |
| parent | 9d312559cfc84e5d0d79fda924d9047f0672a7b6 (diff) | |
Just submitting some boring minor cleanup and improved error msgs, to isolate my next change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@92 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/x64Emitter.cpp')
| -rw-r--r-- | Source/Core/Common/Src/x64Emitter.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Core/Common/Src/x64Emitter.cpp b/Source/Core/Common/Src/x64Emitter.cpp index 981ce73177..f996e7bf7e 100644 --- a/Source/Core/Common/Src/x64Emitter.cpp +++ b/Source/Core/Common/Src/x64Emitter.cpp @@ -74,20 +74,20 @@ namespace Gen inline void Write16(u16 value)
{
*(u16*)code = value;
- code+=2;
+ code += 2;
}
inline void Write32(u32 value)
{
*(u32*)code = value;
- code+=4;
+ code += 4;
}
inline void Write64(u64 value)
{
_dbg_assert_msg_(DYNA_REC,!mode32,"!mode32");
*(u64*)code = value;
- code+=8;
+ code += 8;
}
void WriteModRM( int mod, int rm, int reg )
@@ -99,7 +99,6 @@ namespace Gen {
Write8((u8)((scale << 6) | ((index & 7) << 3) | (base & 7)));
}
-
void OpArg::WriteRex(bool op64, int customOp) const
{
@@ -1198,7 +1197,6 @@ namespace Gen void PMOVMSKB(X64Reg dest, OpArg arg) {WriteSSEOp(64, 0xD7, true, dest, arg); }
-
// Prefixes
void LOCK() { Write8(0xF0); }
|
