| Index: src/ic/handler-compiler.cc
|
| diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc
|
| index a42fc690f86e073f22f21c21da1b3432eecef508..c7f1f247c4996eb5b04574e64b2ba5ae50b4aafb 100644
|
| --- a/src/ic/handler-compiler.cc
|
| +++ b/src/ic/handler-compiler.cc
|
| @@ -330,7 +330,7 @@ Handle<Code> NamedLoadHandlerCompiler::CompileLoadInterceptor(
|
| PrototypeIterator iter(isolate(), last);
|
| while (!iter.IsAtEnd()) {
|
| lost_holder_register = true;
|
| - last = JSObject::cast(iter.GetCurrent());
|
| + last = iter.GetCurrent<JSObject>();
|
| iter.Advance();
|
| }
|
| auto last_handle = handle(last);
|
| @@ -436,7 +436,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreTransition(
|
| : PrototypeIterator::END_AT_NULL;
|
| PrototypeIterator iter(isolate(), holder());
|
| while (!iter.IsAtEnd(end)) {
|
| - last = Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter));
|
| + last = PrototypeIterator::GetCurrent<JSObject>(iter);
|
| iter.Advance();
|
| }
|
| if (!last.is_null()) set_holder(last);
|
|
|