Index: src/compiler/int64-lowering.cc |
diff --git a/src/compiler/int64-lowering.cc b/src/compiler/int64-lowering.cc |
index 5c29711cc91864aeb2079bd6d159c9896134c55a..62523ca45c62a25defaec14585169e77aa184bd7 100644 |
--- a/src/compiler/int64-lowering.cc |
+++ b/src/compiler/int64-lowering.cc |
@@ -242,7 +242,7 @@ void Int64Lowering::LowerNode(Node* node) { |
case IrOpcode::kStart: { |
int parameter_count = GetParameterCountAfterLowering(signature()); |
// Only exchange the node if the parameter count actually changed. |
- if (parameter_count != signature()->parameter_count()) { |
+ if (parameter_count != static_cast<int>(signature()->parameter_count())) { |
int delta = |
parameter_count - static_cast<int>(signature()->parameter_count()); |
int new_output_count = node->op()->ValueOutputCount() + delta; |
@@ -257,7 +257,7 @@ void Int64Lowering::LowerNode(Node* node) { |
// the only input of a parameter node, only changes if the parameter count |
// changes. |
if (GetParameterCountAfterLowering(signature()) != |
- signature()->parameter_count()) { |
+ static_cast<int>(signature()->parameter_count())) { |
int old_index = ParameterIndexOf(node->op()); |
int new_index = GetParameterIndexAfterLowering(signature(), old_index); |
NodeProperties::ChangeOp(node, common()->Parameter(new_index)); |
@@ -275,7 +275,7 @@ void Int64Lowering::LowerNode(Node* node) { |
case IrOpcode::kReturn: { |
DefaultLowering(node); |
int new_return_count = GetReturnCountAfterLowering(signature()); |
- if (signature()->return_count() != new_return_count) { |
+ if (static_cast<int>(signature()->return_count()) != new_return_count) { |
NodeProperties::ChangeOp(node, common()->Return(new_return_count)); |
} |
break; |