JitCommon/JitCache: Make JitBlock's checkedEntry and normalEntry members non-const pointers

In both cases of the x64 and AArch64 JITs, these would have const casted
away from them, followed by them being placed within an emitter and
having breakpoint instructions written in them.

In this case, we shouldn't be using const period if we're writing to the
emitted data.
This commit is contained in:
Lioncash
2018-08-27 09:58:32 -04:00
parent 25898cfa55
commit e81408588f
8 changed files with 17 additions and 17 deletions

View File

@ -30,9 +30,9 @@ struct JitBlock
// A special entry point for block linking; usually used to check the
// downcount.
const u8* checkedEntry;
u8* checkedEntry;
// The normal entry point for the block, returned by Dispatch().
const u8* normalEntry;
u8* normalEntry;
// The effective address (PC) for the beginning of the block.
u32 effectiveAddress;