Reviewers: mvstanton,
Message:
Committed patchset #1 manually as r19981 (tree was closed).
Description:
Make sure allocated objects in PrologueCallbackAlloc and
EpilogueCallbackAlloc
API test are used.
BUG=
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=19981
Please review this at https://codereview.chromium.org/201633003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -2 lines):
M test/cctest/test-api.cc
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);
--
--
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.