diff --git a/src/core/arm/jit_x64/jit_x64.cpp b/src/core/arm/jit_x64/jit_x64.cpp index 2220cc960..4bba3bc20 100644 --- a/src/core/arm/jit_x64/jit_x64.cpp +++ b/src/core/arm/jit_x64/jit_x64.cpp @@ -10,7 +10,7 @@ namespace JitX64 { using namespace Gen; -JitX64::JitX64(XEmitter* code_) : code(code_), current(0, false, false) {} +JitX64::JitX64(XEmitter* code) : code(code) {} void JitX64::ClearCache() { basic_blocks.clear(); diff --git a/src/core/arm/jit_x64/jit_x64.h b/src/core/arm/jit_x64/jit_x64.h index 7d75461ed..93d7a8d56 100644 --- a/src/core/arm/jit_x64/jit_x64.h +++ b/src/core/arm/jit_x64/jit_x64.h @@ -47,7 +47,7 @@ private: public: JitX64() = delete; - explicit JitX64(Gen::XEmitter* code_); + explicit JitX64(Gen::XEmitter* code); ~JitX64() override {} void ClearCache(); @@ -58,9 +58,9 @@ public: CodePtr Compile(u32 pc, bool TFlag, bool EFlag); private: - LocationDescriptor current; - unsigned instructions_compiled; - bool stop_compilation; + LocationDescriptor current = { 0, false, false }; + unsigned instructions_compiled = 0; + bool stop_compilation = false; size_t GetInstSize() const { return current.TFlag ? 2 : 4; } void CompileSingleArmInstruction();