Reviewers: Michael Starzinger,

Message:
Committed patchset #1 manually as 24093 (tree was closed).

Description:
Fix build.

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=24093

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

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

Affected files (+3, -3 lines):
  M test/cctest/compiler/test-run-machops.cc


Index: test/cctest/compiler/test-run-machops.cc
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc index b05b830b7199432a6c5753a1fb29a9ac36053325..1b5aa616a22233cbb9357389af1486406a111494 100644
--- a/test/cctest/compiler/test-run-machops.cc
+++ b/test/cctest/compiler/test-run-machops.cc
@@ -3254,7 +3254,7 @@ TEST(RunChangeFloat64ToUint32_spilled) {

   for (int i = 0; i < kNumInputs; i++) {
     if (i % 2) {
-      input[i] = 100 + i + 2147483648;
+      input[i] = 100 + i + 2147483648u;
     } else {
       input[i] = 100 + i;
     }
@@ -3264,9 +3264,9 @@ TEST(RunChangeFloat64ToUint32_spilled) {

   for (int i = 0; i < kNumInputs; i++) {
     if (i % 2) {
-      CHECK_EQ(result[i], 100 + i + 2147483648);
+ CHECK_UINT32_EQ(result[i], static_cast<uint32_t>(100 + i + 2147483648u));
     } else {
-      CHECK_EQ(result[i], 100 + i);
+      CHECK_UINT32_EQ(result[i], static_cast<uint32_t>(100 + i));
     }
   }
 }


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