| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 7d0cb6dd8e91c46878cfcfbdb7947842fd7077be..e81e056f8e304dc72dcbc127085431683ac98a21 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -707,6 +707,7 @@ RUNTIME_FUNCTION(Runtime_CollectTypeProfile) {
|
| type = JSReceiver::GetConstructorName(object);
|
| }
|
|
|
| + DCHECK(!vector->ToSlot(index).IsInvalid());
|
| CollectTypeProfileNexus nexus(vector, vector->ToSlot(index));
|
| nexus.Collect(type, position->value());
|
|
|
|
|