Revision: 24643
Author:   [email protected]
Date:     Wed Oct 15 14:42:32 2014 UTC
Log:      Fix compilation after r24639

[email protected]

Review URL: https://codereview.chromium.org/653353003
https://code.google.com/p/v8/source/detail?r=24643

Modified:
 /branches/bleeding_edge/src/serialize.h
 /branches/bleeding_edge/test/cctest/test-serialize.cc

=======================================
--- /branches/bleeding_edge/src/serialize.h     Wed Oct 15 14:04:53 2014 UTC
+++ /branches/bleeding_edge/src/serialize.h     Wed Oct 15 14:42:32 2014 UTC
@@ -263,7 +263,8 @@
   void AddReservation(int space, uint32_t chunk) {
     DCHECK(space >= 0);
     DCHECK(space < kNumberOfSpaces);
-    DCHECK(space == LO_SPACE || chunk < Page::kMaxRegularHeapObjectSize);
+    DCHECK(space == LO_SPACE ||
+           chunk < static_cast<uint32_t>(Page::kMaxRegularHeapObjectSize));
     reservations_[space].Add({chunk, NULL, NULL});
   }

=======================================
--- /branches/bleeding_edge/test/cctest/test-serialize.cc Wed Oct 15 14:04:53 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-serialize.cc Wed Oct 15 14:42:32 2014 UTC
@@ -933,7 +933,7 @@
       isolate->factory()->NewFunctionFromSharedFunctionInfo(
           copy, isolate->native_context());

-  Execution::Call(isolate, copy_fun, global, 0, NULL);
+  USE(Execution::Call(isolate, copy_fun, global, 0, NULL));

   CHECK_EQ(600000 + 700000, CompileRun("(a + b).length")->Int32Value());
   CHECK_EQ(500000 + 600000, CompileRun("(b + c).length")->Int32Value());

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