mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 04:04:30 +01:00
jitstate: Remove code argument from ResetRSB
This commit is contained in:
parent
ea6a4e82b5
commit
b10c438e8e
3 changed files with 8 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ using namespace BackendX64;
|
|||
struct Jit::Impl {
|
||||
Impl(Jit* jit, UserCallbacks callbacks)
|
||||
: block_of_code()
|
||||
, jit_state(&block_of_code)
|
||||
, jit_state()
|
||||
, emitter(&block_of_code, callbacks, jit)
|
||||
, callbacks(callbacks)
|
||||
{}
|
||||
|
|
@ -127,12 +127,12 @@ void Jit::ClearCache(bool poison_memory) {
|
|||
ASSERT(!is_executing);
|
||||
impl->block_of_code.ClearCache(poison_memory);
|
||||
impl->emitter.ClearCache();
|
||||
impl->jit_state.ResetRSB(&impl->block_of_code);
|
||||
impl->jit_state.ResetRSB();
|
||||
}
|
||||
|
||||
void Jit::Reset() {
|
||||
ASSERT(!is_executing);
|
||||
impl->jit_state = JitState(&impl->block_of_code);
|
||||
impl->jit_state = {};
|
||||
}
|
||||
|
||||
void Jit::HaltExecution() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue