Bug 1157239 - Give MGuardShape and friends a resultTypeSet. r=h4writer

--HG--
extra : rebase_source : a60092660cbce30e855bf6e6c960bb5929991439
This commit is contained in:
Jan de Mooij 2015-05-08 15:18:03 +02:00
Родитель 27a55b2289
Коммит 7731c39c86
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -4464,6 +4464,7 @@ class MGuardObject
setGuard();
setMovable();
setResultType(MIRType_Object);
setResultTypeSet(ins->resultTypeSet());
}
public:
@ -4510,6 +4511,7 @@ class MPolyInlineGuard
{
setGuard();
setResultType(MIRType_Object);
setResultTypeSet(ins->resultTypeSet());
}
public:
@ -10366,6 +10368,7 @@ class MGuardShape
setGuard();
setMovable();
setResultType(MIRType_Object);
setResultTypeSet(obj->resultTypeSet());
// Disallow guarding on unboxed object shapes. The group is better to
// guard on, and guarding on the shape can interact badly with
@ -10419,6 +10422,7 @@ class MGuardReceiverPolymorphic
setGuard();
setMovable();
setResultType(MIRType_Object);
setResultTypeSet(obj->resultTypeSet());
}
public: