libpixelflinger: MIPS64 assembler test bug fix

Change-Id: I47f77790baabea85ee318976a2c44ab1c0c0b9cb
This commit is contained in:
Ljubomir Papuga 2015-12-15 15:23:01 +01:00
parent 461a29540c
commit e0c9f2bc5a
3 changed files with 8 additions and 2 deletions

View File

@ -1304,9 +1304,8 @@ MIPS64Assembler::MIPS64Assembler(const sp<Assembly>& assembly, ArmToMips64Assemb
MIPS64Assembler::MIPS64Assembler(void* assembly, ArmToMips64Assembler *parent)
: mParent(parent),
MIPSAssembler::MIPSAssembler(NULL, NULL)
MIPSAssembler::MIPSAssembler(assembly)
{
mBase = mPC = (uint32_t *)assembly;
}
MIPS64Assembler::~MIPS64Assembler()

View File

@ -1256,6 +1256,12 @@ MIPSAssembler::MIPSAssembler(const sp<Assembly>& assembly, ArmToMipsAssembler *p
mDuration = ggl_system_time();
}
MIPSAssembler::MIPSAssembler(void* assembly)
: mParent(NULL), mAssembly(NULL)
{
mBase = mPC = (uint32_t *)assembly;
}
MIPSAssembler::~MIPSAssembler()
{
}

View File

@ -242,6 +242,7 @@ class MIPSAssembler
{
public:
MIPSAssembler(const sp<Assembly>& assembly, ArmToMipsAssembler *parent);
MIPSAssembler(void* assembly);
virtual ~MIPSAssembler();
virtual uint32_t* base() const;