| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index a00d669205a5f630546a5ebb828214ae4fd0cd02..e5aa605c8fa68179becb1fb10a29d5efc7c8ad3e 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -1867,7 +1867,7 @@ TEST(TestSizeOfRegExpCode) {
|
|
|
| // Adjust source below and this check to match
|
| // RegExpImple::kRegExpTooLargeToOptimize.
|
| - DCHECK_EQ(i::RegExpImpl::kRegExpTooLargeToOptimize, 20 * KB);
|
| + CHECK_EQ(i::RegExpImpl::kRegExpTooLargeToOptimize, 20 * KB);
|
|
|
| // Compile a regexp that is much larger if we are using regexp optimizations.
|
| CompileRun(
|
| @@ -3471,7 +3471,7 @@ TEST(TransitionArraySimpleToFull) {
|
| CompileRun("o = new F;"
|
| "root = new F");
|
| root = GetByName("root");
|
| - DCHECK(TransitionArray::IsSimpleTransition(root->map()->raw_transitions()));
|
| + CHECK(TransitionArray::IsSimpleTransition(root->map()->raw_transitions()));
|
| AddPropertyTo(2, root, "happy");
|
|
|
| // Count number of live transitions after marking. Note that one transition
|
| @@ -4615,7 +4615,7 @@ TEST(DeferredHandles) {
|
| }
|
| // An entire block of handles has been filled.
|
| // Next handle would require a new block.
|
| - DCHECK(data->next == data->limit);
|
| + CHECK(data->next == data->limit);
|
|
|
| DeferredHandleScope deferred(isolate);
|
| DummyVisitor visitor;
|
| @@ -4638,8 +4638,8 @@ TEST(IncrementalMarkingStepMakesBigProgressWithLargeObjects) {
|
| }
|
| // This big step should be sufficient to mark the whole array.
|
| marking->Step(100 * MB, IncrementalMarking::NO_GC_VIA_STACK_GUARD);
|
| - DCHECK(marking->IsComplete() ||
|
| - marking->IsReadyToOverApproximateWeakClosure());
|
| + CHECK(marking->IsComplete() ||
|
| + marking->IsReadyToOverApproximateWeakClosure());
|
| }
|
|
|
|
|
| @@ -4780,7 +4780,7 @@ TEST(CellsInOptimizedCodeAreWeak) {
|
| heap->CollectAllGarbage();
|
| }
|
|
|
| - DCHECK(code->marked_for_deoptimization());
|
| + CHECK(code->marked_for_deoptimization());
|
| }
|
|
|
|
|
| @@ -4821,7 +4821,7 @@ TEST(ObjectsInOptimizedCodeAreWeak) {
|
| heap->CollectAllGarbage();
|
| }
|
|
|
| - DCHECK(code->marked_for_deoptimization());
|
| + CHECK(code->marked_for_deoptimization());
|
| }
|
|
|
|
|
| @@ -5510,7 +5510,7 @@ TEST(Regress357137) {
|
| .ToLocalChecked(),
|
| v8::FunctionTemplate::New(isolate, RequestInterrupt));
|
| v8::Local<v8::Context> context = v8::Context::New(isolate, NULL, global);
|
| - DCHECK(!context.IsEmpty());
|
| + CHECK(!context.IsEmpty());
|
| v8::Context::Scope cscope(context);
|
|
|
| v8::Local<v8::Value> result = CompileRun(
|
|
|