Revision: 22552
Author: [email protected]
Date: Wed Jul 23 11:17:14 2014 UTC
Log: Add debugging output to RangeType test.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/411873002
http://code.google.com/p/v8/source/detail?r=22552
Modified:
/branches/bleeding_edge/test/cctest/test-types.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-types.cc Tue Jul 22 17:33:22
2014 UTC
+++ /branches/bleeding_edge/test/cctest/test-types.cc Wed Jul 23 11:17:14
2014 UTC
@@ -605,7 +605,10 @@
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());
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.