fixup! JitX64: Default values for primitive members

This commit is contained in:
MerryMage 2016-04-05 12:28:51 +01:00
parent 90a9e758bb
commit eb03919c36
2 changed files with 5 additions and 5 deletions

View File

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

View File

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