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:
Lioncash 2018-05-01 09:02:42 -04:00 committed by MerryMage
parent 4efbd40ea4
commit 9954d28868

View file

@ -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;