Fix windows build.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Wed, 24 Sep 2014 09:32:28 +0000 (09:32 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Wed, 24 Sep 2014 09:32:28 +0000 (09:32 +0000)
TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24173 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/compiler/test-simplified-lowering.cc

index a8ff7da..96fb965 100644 (file)
@@ -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();