Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 7d2dad06243c92581f59ee662f5bd56f687eaa36..e467fd1a563bdfa40108a78114ab802896daedf1 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1403,8 +1403,7 @@ Handle<Code> Factory::NewCode(const CodeDesc& desc, |
int obj_size = Code::SizeFor(body_size); |
Handle<Code> code = NewCodeRaw(obj_size, immovable); |
- DCHECK(isolate()->heap()->memory_allocator()->code_range() == NULL || |
- !isolate()->heap()->memory_allocator()->code_range()->valid() || |
+ DCHECK(!isolate()->heap()->memory_allocator()->code_range()->valid() || |
isolate()->heap()->memory_allocator()->code_range()->contains( |
code->address()) || |
obj_size <= isolate()->heap()->code_space()->AreaSize()); |