Bug 780860 - Mark some instructions as movable. r=dvander

This commit is contained in:
Jan de Mooij 2012-08-08 14:54:39 +02:00
parent d611f5686d
commit c4a69187f4

View File

@ -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: