Commit 9305589c authored by hpayer@chromium.org's avatar hpayer@chromium.org

Make sure allocated objects in PrologueCallbackAlloc and EpilogueCallbackAlloc API test are used.

BUG=
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/201633003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19981 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4c20e76b
...@@ -18742,7 +18742,7 @@ void PrologueCallbackAlloc(v8::Isolate* isolate, ...@@ -18742,7 +18742,7 @@ void PrologueCallbackAlloc(v8::Isolate* isolate,
SimulateFullSpace(CcTest::heap()->new_space()); SimulateFullSpace(CcTest::heap()->new_space());
Local<Object> obj = Object::New(isolate); Local<Object> obj = Object::New(isolate);
ASSERT(!obj.IsEmpty()); CHECK(!obj.IsEmpty());
CcTest::heap()->CollectAllGarbage( CcTest::heap()->CollectAllGarbage(
i::Heap::Heap::kAbortIncrementalMarkingMask); i::Heap::Heap::kAbortIncrementalMarkingMask);
...@@ -18762,7 +18762,7 @@ void EpilogueCallbackAlloc(v8::Isolate* isolate, ...@@ -18762,7 +18762,7 @@ void EpilogueCallbackAlloc(v8::Isolate* isolate,
SimulateFullSpace(CcTest::heap()->new_space()); SimulateFullSpace(CcTest::heap()->new_space());
Local<Object> obj = Object::New(isolate); Local<Object> obj = Object::New(isolate);
ASSERT(!obj.IsEmpty()); CHECK(!obj.IsEmpty());
CcTest::heap()->CollectAllGarbage( CcTest::heap()->CollectAllGarbage(
i::Heap::Heap::kAbortIncrementalMarkingMask); i::Heap::Heap::kAbortIncrementalMarkingMask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment