Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal

This commit is contained in:
Leon Sha<leon.sha@sun.com> 2009-07-22 17:34:28 +08:00
parent 130b687fd4
commit 10e00c97c5

View File

@ -859,12 +859,10 @@ namespace nanojit
freeRsrcOf(ins, false); freeRsrcOf(ins, false);
if (d) if (d)
{ {
Register r = registerAlloc(GpRegs); STW32(L2, d+4, FP);
_allocator.addFree(r); SET32(ins->imm64_0(), L2);
STW32(r, d+4, FP); STW32(L2, d, FP);
SET32(ins->imm64_0(), r); SET32(ins->imm64_1(), L2);
STW32(r, d, FP);
SET32(ins->imm64_1(), r);
} }
} }