Fix Windows build after 25373
authorDaniel Clifford <danno@chromium.org>
Mon, 17 Nov 2014 11:26:27 +0000 (12:26 +0100)
committerDaniel Clifford <danno@chromium.org>
Mon, 17 Nov 2014 11:26:37 +0000 (11:26 +0000)
R=bmeurer@chromium.org
TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/733783003

Cr-Commit-Position: refs/heads/master@{#25374}

src/compiler/node-matchers.h

index 98e9899..c748c61 100644 (file)
@@ -190,7 +190,7 @@ struct AddMatcher : public BinopMatcher {
         typename BinopMatcher::RightMatcher::ValueType value =
             m.right().Value();
         if (value >= 0 && value <= 3) {
-          return value;
+          return static_cast<int>(value);
         }
       }
     } else if (node->opcode() == kMulOpcode) {