mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780860 - Mark some instructions as movable. r=dvander
This commit is contained in:
parent
d611f5686d
commit
c4a69187f4
@ -1827,6 +1827,7 @@ class MTypeOf
|
||||
: MUnaryInstruction(def), inputType_(inputType)
|
||||
{
|
||||
setResultType(MIRType_String);
|
||||
setMovable();
|
||||
}
|
||||
|
||||
public:
|
||||
@ -2131,6 +2132,7 @@ class MAbs
|
||||
{
|
||||
JS_ASSERT(type == MIRType_Double || type == MIRType_Int32);
|
||||
setResultType(type);
|
||||
setMovable();
|
||||
specialization_ = type;
|
||||
}
|
||||
|
||||
@ -2174,6 +2176,7 @@ class MSqrt
|
||||
: MUnaryInstruction(num)
|
||||
{
|
||||
setResultType(MIRType_Double);
|
||||
setMovable();
|
||||
}
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user