Revision: 2802
Author: [email protected]
Date: Tue Sep  1 08:51:51 2009
Log: Change ASSERT to CHECK in test-heap.  Use int instead of intptr_t to
make MacOS compiler happier.

We need to clean this stuff up.

[email protected]
Review URL: http://codereview.chromium.org/182044
http://code.google.com/p/v8/source/detail?r=2802

Modified:
  /branches/bleeding_edge/test/cctest/test-heap.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc    Tue Sep  1 06:08:16  
2009
+++ /branches/bleeding_edge/test/cctest/test-heap.cc    Tue Sep  1 08:51:51  
2009
@@ -179,7 +179,7 @@
  TEST(Tagging) {
    InitializeVM();
    int request = 24;
-  ASSERT_EQ(static_cast<intptr_t>(request), OBJECT_SIZE_ALIGN(request));
+  CHECK_EQ(request, static_cast<int>(OBJECT_SIZE_ALIGN(request)));
    CHECK(Smi::FromInt(42)->IsSmi());
    CHECK(Failure::RetryAfterGC(request, NEW_SPACE)->IsFailure());
    CHECK_EQ(request, Failure::RetryAfterGC(request,  
NEW_SPACE)->requested());

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to