| Index: src/assert-scope.cc
|
| diff --git a/src/assert-scope.cc b/src/assert-scope.cc
|
| index 4c10fddb91243a7fbf4d8cfc371ca2e88a28dba4..d97f13997eb670089a2b4295f988f638e60eabaf 100644
|
| --- a/src/assert-scope.cc
|
| +++ b/src/assert-scope.cc
|
| @@ -82,7 +82,7 @@ PerThreadAssertScope<kType, kAllow>::PerThreadAssertScope()
|
|
|
| template <PerThreadAssertType kType, bool kAllow>
|
| PerThreadAssertScope<kType, kAllow>::~PerThreadAssertScope() {
|
| - DCHECK_NOT_NULL(data_);
|
| + DCHECK(data_);
|
| data_->Set(kType, old_state_);
|
| if (data_->DecrementLevel()) {
|
| PerThreadAssertData::SetCurrent(NULL);
|
| @@ -107,7 +107,7 @@ class PerIsolateAssertScope<kType, kAllow>::DataBit
|
| template <PerIsolateAssertType kType, bool kAllow>
|
| PerIsolateAssertScope<kType, kAllow>::PerIsolateAssertScope(Isolate* isolate)
|
| : isolate_(isolate), old_data_(isolate->per_isolate_assert_data()) {
|
| - DCHECK_NOT_NULL(isolate);
|
| + DCHECK(isolate);
|
| STATIC_ASSERT(kType < 32);
|
| isolate_->set_per_isolate_assert_data(DataBit::update(old_data_, kAllow));
|
| }
|
|
|