| Index: src/ic/handler-compiler.cc
|
| diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc
|
| index 006f3ef3913dd51d6ae4f9bd26e1c8b35e78a1be..f3f3561ed9f6c2310d769aebbc856118fc97c59a 100644
|
| --- a/src/ic/handler-compiler.cc
|
| +++ b/src/ic/handler-compiler.cc
|
| @@ -161,7 +161,7 @@ void PropertyHandlerCompiler::NonexistentFrontendHeader(Handle<Name> name,
|
| last_map = map();
|
| // If |type| has null as its prototype, |holder()| is
|
| // Handle<JSObject>::null().
|
| - DCHECK(last_map->prototype() == isolate()->heap()->null_value());
|
| + DCHECK(last_map->prototype()->IsNull(isolate()));
|
| } else {
|
| last_map = handle(holder()->map());
|
| // This condition matches the branches below.
|
|
|