Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 017b809bc8f5ffa880f97df3817f6c8b0b02841e..e7aa69d1032cdfb837aecd907d2eae25a465a552 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -323,8 +323,9 @@ void JSGenericLowering::ReplaceWithCompareIC(Node* node, Token::Value token, |
inputs.push_back(NodeProperties::GetEffectInput(node)); |
inputs.push_back(NodeProperties::GetControlInput(node)); |
} |
- Node* compare = graph()->NewNode(common()->Call(desc_compare), inputs.size(), |
- &inputs.front()); |
+ Node* compare = |
+ graph()->NewNode(common()->Call(desc_compare), |
+ static_cast<int>(inputs.size()), &inputs.front()); |
node->ReplaceInput(0, compare); |
node->ReplaceInput(1, SmiConstant(token)); |