DSPEmitter: In-class initialize variables
This commit is contained in:
parent
1af9f68240
commit
400d5f6940
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
using namespace Gen;
|
using namespace Gen;
|
||||||
|
|
||||||
DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
|
DSPEmitter::DSPEmitter()
|
||||||
{
|
{
|
||||||
AllocCodeSpace(COMPILED_CODE_SIZE);
|
AllocCodeSpace(COMPILED_CODE_SIZE);
|
||||||
|
|
||||||
|
|
|
@ -247,7 +247,7 @@ public:
|
||||||
u16* blockSize;
|
u16* blockSize;
|
||||||
std::list<u16> unresolvedJumps[MAX_BLOCKS];
|
std::list<u16> unresolvedJumps[MAX_BLOCKS];
|
||||||
|
|
||||||
DSPJitRegCache gpr;
|
DSPJitRegCache gpr{*this};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DSPCompiledCode* blocks;
|
DSPCompiledCode* blocks;
|
||||||
|
@ -255,8 +255,8 @@ private:
|
||||||
u16 compileSR;
|
u16 compileSR;
|
||||||
|
|
||||||
// The index of the last stored ext value (compile time).
|
// The index of the last stored ext value (compile time).
|
||||||
int storeIndex;
|
int storeIndex = -1;
|
||||||
int storeIndex2;
|
int storeIndex2 = -1;
|
||||||
|
|
||||||
// Counts down.
|
// Counts down.
|
||||||
// int cycles;
|
// int cycles;
|
||||||
|
|
Loading…
Reference in New Issue