a64_jitstate: Zero SP and PC on construction of A64JitState
Given we zero out/reset everything else in the struct, do the same for these members to keep initialization consistent
This commit is contained in:
parent
4efbd40ea4
commit
9954d28868
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ struct A64JitState {
|
||||||
A64JitState() { ResetRSB(); }
|
A64JitState() { ResetRSB(); }
|
||||||
|
|
||||||
std::array<u64, 31> reg{};
|
std::array<u64, 31> reg{};
|
||||||
u64 sp;
|
u64 sp = 0;
|
||||||
u64 pc;
|
u64 pc = 0;
|
||||||
|
|
||||||
u32 CPSR_nzcv = 0;
|
u32 CPSR_nzcv = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue