| Index: src/hydrogen-instructions.h
|
| ===================================================================
|
| --- src/hydrogen-instructions.h (revision 12582)
|
| +++ src/hydrogen-instructions.h (working copy)
|
| @@ -153,6 +153,7 @@
|
| V(Random) \
|
| V(RegExpLiteral) \
|
| V(Return) \
|
| + V(Ror) \
|
| V(Sar) \
|
| V(Shl) \
|
| V(Shr) \
|
| @@ -3630,6 +3631,26 @@
|
| };
|
|
|
|
|
| +class HRor: public HBitwiseBinaryOperation {
|
| + public:
|
| + HRor(HValue* context, HValue* left, HValue* right)
|
| + : HBitwiseBinaryOperation(context, left, right) {
|
| + ChangeRepresentation(Representation::Integer32());
|
| + ClearAllSideEffects();
|
| + }
|
| +
|
| + static HInstruction* NewHRor(Zone* zone,
|
| + HValue* context,
|
| + HValue* left,
|
| + HValue* right);
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(Ror)
|
| +
|
| + protected:
|
| + virtual bool DataEquals(HValue* other) { return true; }
|
| +};
|
| +
|
| +
|
| class HSar: public HBitwiseBinaryOperation {
|
| public:
|
| HSar(HValue* context, HValue* left, HValue* right)
|
|
|