From aeae854827bf15cbe8f2faf48bb4bf5fb9fc4685 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Wed, 24 Sep 2014 09:32:28 +0000 Subject: [PATCH] Fix windows build. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc index a8ff7da..96fb965 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 t; Node* ptr = GetBaseNode(&t); Node* load = t.LoadElement(access, ptr, t.Int32Constant(from_index), - t.Int32Constant(num_elements)); + t.Int32Constant(static_cast(num_elements))); t.StoreElement(access, ptr, t.Int32Constant(to_index), - t.Int32Constant(num_elements), load); + t.Int32Constant(static_cast(num_elements)), load); t.Return(t.jsgraph.TrueConstant()); t.LowerAllNodes(); t.GenerateCode(); -- 2.7.4