From e5d417213ce67bc23ac644132828d125a59c2455 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 19 Mar 2016 15:16:16 -0400 Subject: emitter: Support arbitrary FixupBranch targets. --- src/common/x64/emitter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/x64/emitter.h') diff --git a/src/common/x64/emitter.h b/src/common/x64/emitter.h index 7c6548fb5..80dfa96d2 100644 --- a/src/common/x64/emitter.h +++ b/src/common/x64/emitter.h @@ -431,6 +431,7 @@ public: void J_CC(CCFlags conditionCode, const u8* addr, bool force5Bytes = false); void SetJumpTarget(const FixupBranch& branch); + void SetJumpTarget(const FixupBranch& branch, const u8* target); void SETcc(CCFlags flag, OpArg dest); // Note: CMOV brings small if any benefit on current cpus. -- cgit v1.2.3 From 507e0b59896779d0276456c780ad2aefc3dbc28a Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 9 Apr 2016 17:42:48 -0400 Subject: emitter: Add CALL that can be fixed up. --- src/common/x64/emitter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/x64/emitter.h') diff --git a/src/common/x64/emitter.h b/src/common/x64/emitter.h index 80dfa96d2..a33724146 100644 --- a/src/common/x64/emitter.h +++ b/src/common/x64/emitter.h @@ -425,6 +425,7 @@ public: #undef CALL #endif void CALL(const void* fnptr); + FixupBranch CALL(); void CALLptr(OpArg arg); FixupBranch J_CC(CCFlags conditionCode, bool force5bytes = false); -- cgit v1.2.3