libpixelflinger: MIPS64 assembler test bug fix
Change-Id: I47f77790baabea85ee318976a2c44ab1c0c0b9cb
This commit is contained in:
parent
461a29540c
commit
e0c9f2bc5a
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -242,6 +242,7 @@ class MIPSAssembler
|
|||
{
|
||||
public:
|
||||
MIPSAssembler(const sp<Assembly>& assembly, ArmToMipsAssembler *parent);
|
||||
MIPSAssembler(void* assembly);
|
||||
virtual ~MIPSAssembler();
|
||||
|
||||
virtual uint32_t* base() const;
|
||||
|
|
Loading…
Reference in New Issue