a32_interface: Remove unused TransferJitState function

This commit is contained in:
MerryMage 2019-07-28 21:18:52 +01:00
parent b4884a51e0
commit ada66d7092

View file

@ -260,17 +260,6 @@ void Context::SetFpscr(std::uint32_t value) {
return impl->jit_state.SetFpscr(value); return impl->jit_state.SetFpscr(value);
} }
void TransferJitState(A32JitState& dest, const A32JitState& src, bool reset_rsb) {
dest = src;
if (reset_rsb) {
dest.ResetRSB();
} else {
dest.rsb_ptr = src.rsb_ptr;
dest.rsb_location_descriptors = src.rsb_location_descriptors;
dest.rsb_codeptrs = src.rsb_codeptrs;
}
}
void Jit::SaveContext(Context& ctx) const { void Jit::SaveContext(Context& ctx) const {
ctx.impl->jit_state.TransferJitState(impl->jit_state, false); ctx.impl->jit_state.TransferJitState(impl->jit_state, false);
ctx.impl->invalid_cache_generation = impl->invalid_cache_generation; ctx.impl->invalid_cache_generation = impl->invalid_cache_generation;