зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1020482
- MLimitedTruncate instructions are movable. r=nbp
This commit is contained in:
Родитель
bc5238b486
Коммит
55694940f4
|
@ -1027,8 +1027,8 @@ class MNop : public MNullaryInstruction
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// No-op instruction. This cannot be moved or eliminated, and is intended for
|
// Truncation barrier. This is intended for protecting its input against
|
||||||
// protecting the input against follow-up optimization.
|
// follow-up truncation optimizations.
|
||||||
class MLimitedTruncate : public MUnaryInstruction
|
class MLimitedTruncate : public MUnaryInstruction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -1043,6 +1043,7 @@ class MLimitedTruncate : public MUnaryInstruction
|
||||||
{
|
{
|
||||||
setResultType(input->type());
|
setResultType(input->type());
|
||||||
setResultTypeSet(input->resultTypeSet());
|
setResultTypeSet(input->resultTypeSet());
|
||||||
|
setMovable();
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче