Index: src/compiler/node-matchers.h |
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h |
index 98e9899f0c850dbf618cdb96104bd49833851f20..c748c61e6a9cc0624c074bde0a579378b067abff 100644 |
--- a/src/compiler/node-matchers.h |
+++ b/src/compiler/node-matchers.h |
@@ -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) { |