зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1157239 - Give MGuardShape and friends a resultTypeSet. r=h4writer
--HG-- extra : rebase_source : a60092660cbce30e855bf6e6c960bb5929991439
This commit is contained in:
Родитель
27a55b2289
Коммит
7731c39c86
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче