Fix a pair of missing emit*TVType calls.

Reviewing the diff between feature and trunk revealed these two
instructions that still hardcode dwords for types.
Esse commit está contido em:
kma
2013-03-15 16:27:38 -07:00
commit de Sara Golemon
commit 8c980d31d1
+2 -2
Ver Arquivo
@@ -2315,7 +2315,7 @@ TranslatorX64::emitPrologue(Func* func, int nPassed) {
// rVmFp[loopReg].m_type = KindOfUninit;
// } while(++loopReg != loopEnd);
a. storel (edx, rVmFp[loopReg]);
emitStoreTVType(a, edx, rVmFp[loopReg]);
a. addq (sizeof(Cell), loopReg);
a. cmpq (loopEnd, loopReg);
a. jcc8 (CC_NE, topOfLoop);
@@ -11569,7 +11569,7 @@ asm_label(a, doRelease);
Label skipDecRef;
emitLoadTVType(a, rIter[TVOFF(m_type)], rType);
a. cmpl (KindOfRefCountThreshold, rType);
emitCmpTVType(a, KindOfRefCountThreshold, rType);
a. jle8 (skipDecRef);
a. call (release);
recordIndirectFixup(a.code.frontier, 0);