File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 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(
11501150 Tagged<HeapObject> host, ExternalPointerSlot slot) {
11511151 PtrComprCageBase cage_base (isolate ());
11521152 InstanceType instance_type = object_->map (cage_base)->instance_type ();
1153+ InstanceType host_instance_type = host->map (cage_base)->instance_type ();
1154+
11531155 if (InstanceTypeChecker::IsForeign (instance_type) ||
11541156 InstanceTypeChecker::IsJSExternalObject (instance_type) ||
11551157 InstanceTypeChecker::IsAccessorInfo (instance_type) ||
1156- InstanceTypeChecker::IsFunctionTemplateInfo (instance_type)) {
1158+ InstanceTypeChecker::IsFunctionTemplateInfo (instance_type) ||
1159+ InstanceTypeChecker::IsInterceptorInfo (host_instance_type)) {
11571160 // Output raw data payload, if any.
11581161 OutputRawData (slot.address ());
11591162 Address value = slot.load (isolate ());
You can’t perform that action at this time.
0 commit comments