зеркало из 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
|
||||
// protecting the input against follow-up optimization.
|
||||
// Truncation barrier. This is intended for protecting its input against
|
||||
// follow-up truncation optimizations.
|
||||
class MLimitedTruncate : public MUnaryInstruction
|
||||
{
|
||||
public:
|
||||
|
@ -1043,6 +1043,7 @@ class MLimitedTruncate : public MUnaryInstruction
|
|||
{
|
||||
setResultType(input->type());
|
||||
setResultTypeSet(input->resultTypeSet());
|
||||
setMovable();
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче