| Index: src/heap/heap.cc | 
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc | 
| index 3ecedaf4acbfec1111c497c94bd1d0082a9bc079..af88abc0e9eb6da777574d455f6cbc0cc8a58890 100644 | 
| --- a/src/heap/heap.cc | 
| +++ b/src/heap/heap.cc | 
| @@ -3484,7 +3484,7 @@ AllocationResult Heap::AllocateJSObject(JSFunction* constructor, | 
| #ifdef DEBUG | 
| // Make sure result is NOT a global object if valid. | 
| HeapObject* obj = nullptr; | 
| -  DCHECK(!allocation.To(&obj) || !obj->IsGlobalObject()); | 
| +  DCHECK(!allocation.To(&obj) || !obj->IsJSGlobalObject()); | 
| #endif | 
| return allocation; | 
| } | 
|  |