From 17a01814d6dd3c5994a03db2e7853706eb471397 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Thu, 25 Sep 2014 05:17:38 +0000 Subject: [PATCH] Fix windows build after r24191. TBR=titzer@chromium.org Review URL: https://codereview.chromium.org/604693002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24197 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/compiler/test-representation-change.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/cctest/compiler/test-representation-change.cc b/test/cctest/compiler/test-representation-change.cc index bad9dfa..9bf3b37 100644 --- a/test/cctest/compiler/test-representation-change.cc +++ b/test/cctest/compiler/test-representation-change.cc @@ -273,7 +273,7 @@ TEST(ToFloat32_constant) { Node* n = r.jsgraph()->Int32Constant(*i); Node* c = r.changer()->GetRepresentationFor(n, kRepWord32 | kTypeInt32, kRepFloat32); - r.CheckFloat32Constant(c, *i); + r.CheckFloat32Constant(c, static_cast(*i)); } } @@ -283,7 +283,7 @@ TEST(ToFloat32_constant) { Node* n = r.jsgraph()->Int32Constant(*i); Node* c = r.changer()->GetRepresentationFor(n, kRepWord32 | kTypeUint32, kRepFloat32); - r.CheckFloat32Constant(c, *i); + r.CheckFloat32Constant(c, static_cast(*i)); } } } @@ -304,7 +304,7 @@ TEST(ToInt32_constant) { { FOR_INT32_INPUTS(i) { if (!IsFloat32Int32(*i)) continue; - Node* n = r.jsgraph()->Float32Constant(*i); + Node* n = r.jsgraph()->Float32Constant(static_cast(*i)); Node* c = r.changer()->GetRepresentationFor(n, kRepFloat32 | kTypeInt32, kRepWord32); r.CheckInt32Constant(c, *i); @@ -346,7 +346,7 @@ TEST(ToUint32_constant) { { FOR_UINT32_INPUTS(i) { if (!IsFloat32Uint32(*i)) continue; - Node* n = r.jsgraph()->Float32Constant(*i); + Node* n = r.jsgraph()->Float32Constant(static_cast(*i)); Node* c = r.changer()->GetRepresentationFor(n, kRepFloat32 | kTypeUint32, kRepWord32); r.CheckUint32Constant(c, *i); -- 2.7.4