Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index a8ff7da55dff48820020900b84a2689044d36ed0..96fb9650e7e27e8bee05fefe7a0d252d81274c8a 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -428,9 +428,9 @@ class AccessTester : public HandleAndZoneScope { |
SimplifiedLoweringTester<Object*> t; |
Node* ptr = GetBaseNode(&t); |
Node* load = t.LoadElement(access, ptr, t.Int32Constant(from_index), |
- t.Int32Constant(num_elements)); |
+ t.Int32Constant(static_cast<int>(num_elements))); |
t.StoreElement(access, ptr, t.Int32Constant(to_index), |
- t.Int32Constant(num_elements), load); |
+ t.Int32Constant(static_cast<int>(num_elements)), load); |
t.Return(t.jsgraph.TrueConstant()); |
t.LowerAllNodes(); |
t.GenerateCode(); |