Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Unified Diff: test/cctest/test-api.cc

Issue 201633003: Make sure allocated objects in PrologueCallbackAlloc and EpilogueCallbackAlloc API test are used. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index bbda73af76422710ae7dddcf9307a66283c39924..27178474c3b197824135279a81be781c5e19ae08 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -18742,7 +18742,7 @@ void PrologueCallbackAlloc(v8::Isolate* isolate,
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 @@ void EpilogueCallbackAlloc(v8::Isolate* isolate,
SimulateFullSpace(CcTest::heap()->new_space());
Local<Object> obj = Object::New(isolate);
- ASSERT(!obj.IsEmpty());
+ CHECK(!obj.IsEmpty());
CcTest::heap()->CollectAllGarbage(
i::Heap::Heap::kAbortIncrementalMarkingMask);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698