Merge pull request #3 from jrtc27/a32-apple-silicon
Fix A32-on-A64 for Apple Silicon
This commit is contained in:
commit
71e3553d78
@ -1584,6 +1584,9 @@ void A32EmitA64::EmitPatchMovX0(CodePtr target_code_ptr) {
|
||||
void A32EmitA64::Unpatch(const IR::LocationDescriptor& location) {
|
||||
EmitA64::Unpatch(location);
|
||||
if (config.enable_fast_dispatch) {
|
||||
code.DisableWriting();
|
||||
SCOPE_EXIT { code.EnableWriting(); };
|
||||
|
||||
(*fast_dispatch_table_lookup)(location.Value()) = {};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user