From eb03919c362baf8176afe2d2a3f737557644e3dd Mon Sep 17 00:00:00 2001 From: MerryMage Date: Tue, 5 Apr 2016 12:28:51 +0100 Subject: [PATCH] fixup! JitX64: Default values for primitive members --- src/core/arm/jit_x64/jit_x64.cpp | 2 +- src/core/arm/jit_x64/jit_x64.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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();