| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index c253d06cf0f0e0c241019b98cbfc4412254443c7..4ad98b83c2751a3ff2322e8df1f1a28caad18b59 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -152,6 +152,7 @@ class LChunkBuilder;
|
| V(Random) \
|
| V(RegExpLiteral) \
|
| V(Return) \
|
| + V(Ror) \
|
| V(Sar) \
|
| V(Shl) \
|
| V(Shr) \
|
| @@ -3729,6 +3730,25 @@ class HSar: public HBitwiseBinaryOperation {
|
| };
|
|
|
|
|
| +class HRor: public HBitwiseBinaryOperation {
|
| + public:
|
| + HRor(HValue* context, HValue* left, HValue* right)
|
| + : HBitwiseBinaryOperation(context, left, right) {
|
| + ChangeRepresentation(Representation::Integer32());
|
| + }
|
| +
|
| + static HInstruction* NewHRor(Zone* zone,
|
| + HValue* context,
|
| + HValue* left,
|
| + HValue* right);
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(Ror)
|
| +
|
| + protected:
|
| + virtual bool DataEquals(HValue* other) { return true; }
|
| +};
|
| +
|
| +
|
| class HOsrEntry: public HTemplateInstruction<0> {
|
| public:
|
| explicit HOsrEntry(BailoutId ast_id) : ast_id_(ast_id) {
|
|
|