From ac192b4f2aa3a2180e412b534df9a9a8ec7d89a9 Mon Sep 17 00:00:00 2001 From: "neis@chromium.org" Date: Wed, 23 Jul 2014 11:17:14 +0000 Subject: [PATCH] Add debugging output to RangeType test. R=rossberg@chromium.org BUG= Review URL: https://codereview.chromium.org/411873002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-types.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc index 5c6a0591ec..4c27addcb4 100644 --- a/test/cctest/test-types.cc +++ b/test/cctest/test-types.cc @@ -605,7 +605,10 @@ struct Tests : Rep { for (DoubleIterator j = T.doubles.begin(); j != T.doubles.end(); ++j) { double min = std::min(*i, *j); double max = std::max(*i, *j); + printf("RangeType: min, max = %f, %f\n", min, max); TypeHandle type = T.Range(min, max); + printf("RangeType: Min, Max = %f, %f\n", + type->AsRange()->Min(), type->AsRange()->Max()); CHECK(min == type->AsRange()->Min()); CHECK(max == type->AsRange()->Max()); }