Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 37580c7

Browse files
committed
Remove unused and unreferenced functions in rt.cast_
1 parent cb32bd4 commit 37580c7

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/rt/cast_.d

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,3 @@ int _d_isbaseof(ClassInfo oc, ClassInfo c)
122122

123123
return false;
124124
}
125-
126-
/*********************************
127-
* Find the vtbl[] associated with Interface ic.
128-
*/
129-
void* _d_interface_vtbl(ClassInfo ic, Object o)
130-
{
131-
debug(cast_) printf("__d_interface_vtbl(o = %p, ic = %p)\n", o, ic);
132-
133-
assert(o);
134-
135-
foreach (iface; typeid(o).interfaces)
136-
{
137-
if (iface.classinfo is ic)
138-
return cast(void*) iface.vtbl;
139-
}
140-
assert(0);
141-
}

0 commit comments

Comments
 (0)