Commit 9ba6f45c authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[parser] Drop unused ROR token.

R=marja@chromium.org

Change-Id: I957ba8c228aff2c17af8d629af86911f7b5366ec
Reviewed-on: https://chromium-review.googlesource.com/552126Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46281}
parent bb70859f
......@@ -83,7 +83,6 @@ namespace internal {
T(SHL, "<<", 11) \
T(SAR, ">>", 11) \
T(SHR, ">>>", 11) \
T(ROR, "rotate right", 11) /* only used by Crankshaft */ \
T(ADD, "+", 12) \
T(SUB, "-", 12) \
T(MUL, "*", 13) \
......@@ -248,7 +247,7 @@ class Token {
static bool IsBinaryOp(Value op) { return COMMA <= op && op <= EXP; }
static bool IsTruncatingBinaryOp(Value op) {
return BIT_OR <= op && op <= ROR;
return BIT_OR <= op && op <= SHR;
}
static bool IsCompareOp(Value op) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment