Revision: 22759
Author:   [email protected]
Date:     Thu Jul 31 14:08:08 2014 UTC
Log:      Another fix for cctest/test-run-machops/RunLoadImmIndex.

[email protected]

Review URL: https://codereview.chromium.org/430203002
http://code.google.com/p/v8/source/detail?r=22759

Modified:
 /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc

=======================================
--- /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc Thu Jul 31 12:01:36 2014 UTC +++ /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc Thu Jul 31 14:08:08 2014 UTC
@@ -2511,7 +2511,9 @@
       Node* index = m.Int32Constant((offset + i) * sizeof(buffer[0]));
       m.Return(m.Load(rep, base, index));

-      CHECK_EQ(static_cast<Type>(buffer[i]), m.Call());
+      Type expected = buffer[i];
+      Type actual = static_cast<CType>(m.Call());
+      CHECK_EQ(expected, actual);
       printf("XXX\n");
     }
   }

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