Fix PACKED_TV test failures

In the PACKED_TV build, two tests were failing due to treating
the type as a 32 bit field.
Esse commit está contido em:
mwilliams
2013-06-03 08:27:37 -07:00
commit de Sara Golemon
commit 6b50ac0477
+1 -1
Ver Arquivo
@@ -2737,7 +2737,7 @@ void CodeGenerator::cgIncRefWork(Type type, SSATmp* src) {
assert(IS_REFCOUNTED_TYPE(type.toDataType()));
increfMaybeStatic();
} else {
m_as.cmpl(KindOfRefCountThreshold, r32(m_regs[src].reg(1)));
emitCmpTVType(m_as, KindOfRefCountThreshold, m_regs[src].reg(1));
ifThen(m_as, CC_NLE, [&] { increfMaybeStatic(); });
}
}