Revision: 19981
Author:   [email protected]
Date:     Mon Mar 17 10:52:33 2014 UTC
Log: Make sure allocated objects in PrologueCallbackAlloc and EpilogueCallbackAlloc API test are used.

BUG=
[email protected]

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

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

=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Mon Mar 17 10:38:45 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-api.cc Mon Mar 17 10:52:33 2014 UTC
@@ -18742,7 +18742,7 @@
   SimulateFullSpace(CcTest::heap()->new_space());

   Local<Object> obj = Object::New(isolate);
-  ASSERT(!obj.IsEmpty());
+  CHECK(!obj.IsEmpty());

   CcTest::heap()->CollectAllGarbage(
       i::Heap::Heap::kAbortIncrementalMarkingMask);
@@ -18762,7 +18762,7 @@
   SimulateFullSpace(CcTest::heap()->new_space());

   Local<Object> obj = Object::New(isolate);
-  ASSERT(!obj.IsEmpty());
+  CHECK(!obj.IsEmpty());

   CcTest::heap()->CollectAllGarbage(
       i::Heap::Heap::kAbortIncrementalMarkingMask);

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