| Index: src/profiler/heap-snapshot-generator.cc
|
| diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc
|
| index a2dd41b31a705ab745784d4f16a543b59b33df9f..412138e5bb818dc144cb3e4ad01a8a1428b9887a 100644
|
| --- a/src/profiler/heap-snapshot-generator.cc
|
| +++ b/src/profiler/heap-snapshot-generator.cc
|
| @@ -1421,18 +1421,17 @@ void V8HeapExplorer::ExtractAccessorInfoReferences(
|
| SetInternalReference(accessor_info, entry, "expected_receiver_type",
|
| accessor_info->expected_receiver_type(),
|
| AccessorInfo::kExpectedReceiverTypeOffset);
|
| - if (accessor_info->IsExecutableAccessorInfo()) {
|
| - ExecutableAccessorInfo* executable_accessor_info =
|
| - ExecutableAccessorInfo::cast(accessor_info);
|
| + if (accessor_info->IsAccessorInfo()) {
|
| + AccessorInfo* executable_accessor_info = AccessorInfo::cast(accessor_info);
|
| SetInternalReference(executable_accessor_info, entry, "getter",
|
| executable_accessor_info->getter(),
|
| - ExecutableAccessorInfo::kGetterOffset);
|
| + AccessorInfo::kGetterOffset);
|
| SetInternalReference(executable_accessor_info, entry, "setter",
|
| executable_accessor_info->setter(),
|
| - ExecutableAccessorInfo::kSetterOffset);
|
| + AccessorInfo::kSetterOffset);
|
| SetInternalReference(executable_accessor_info, entry, "data",
|
| executable_accessor_info->data(),
|
| - ExecutableAccessorInfo::kDataOffset);
|
| + AccessorInfo::kDataOffset);
|
| }
|
| }
|
|
|
|
|