File tree 1 file changed +4
-1
lines changed 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1150,10 +1150,13 @@ void Serializer::ObjectSerializer::VisitExternalPointer(
1150
1150
Tagged<HeapObject> host, ExternalPointerSlot slot) {
1151
1151
PtrComprCageBase cage_base (isolate ());
1152
1152
InstanceType instance_type = object_->map (cage_base)->instance_type ();
1153
+ InstanceType host_instance_type = host->map (cage_base)->instance_type ();
1154
+
1153
1155
if (InstanceTypeChecker::IsForeign (instance_type) ||
1154
1156
InstanceTypeChecker::IsJSExternalObject (instance_type) ||
1155
1157
InstanceTypeChecker::IsAccessorInfo (instance_type) ||
1156
- InstanceTypeChecker::IsFunctionTemplateInfo (instance_type)) {
1158
+ InstanceTypeChecker::IsFunctionTemplateInfo (instance_type) ||
1159
+ InstanceTypeChecker::IsInterceptorInfo (host_instance_type)) {
1157
1160
// Output raw data payload, if any.
1158
1161
OutputRawData (slot.address ());
1159
1162
Address value = slot.load (isolate ());
You can’t perform that action at this time.
0 commit comments