Reviewers: Michael Starzinger,

Description:
more

[email protected]
BUG=

Please review this at https://codereview.chromium.org/297323004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M test/cctest/test-types.cc


Index: test/cctest/test-types.cc
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
index e5c9bbe29a3a9441b81d4c8f2a4124d494a6e6c5..fa5d7d4c3ebdfa031368468f6835337756487cb2 100644
--- a/test/cctest/test-types.cc
+++ b/test/cctest/test-types.cc
@@ -559,8 +559,8 @@ struct Tests : Rep {
     CHECK(T.Constant(fac->NewNumber(10e60))->Is(T.OtherNumber));
     CHECK(T.Constant(fac->NewNumber(-1.0*0.0))->Is(T.MinusZero));
     CHECK(T.Constant(fac->NewNumber(OS::nan_value()))->Is(T.NaN));
-    CHECK(T.Constant(fac->NewNumber(1.0/0.0))->Is(T.OtherNumber));
-    CHECK(T.Constant(fac->NewNumber(-1.0/0.0))->Is(T.OtherNumber));
+    CHECK(T.Constant(fac->NewNumber(V8_INFINITY))->Is(T.OtherNumber));
+    CHECK(T.Constant(fac->NewNumber(-V8_INFINITY))->Is(T.OtherNumber));
   }

   void Array() {


--
--
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.

Reply via email to