[Bug libgcj/25934] fast instanceof checking
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 15 20:26:00 GMT 2006
------- Comment #2 from tromey at gcc dot gnu dot org 2006-03-15 20:26 -------
Now I think we don't need to do anything here.
We already handle the common cases.
For instance, if the target is an interface we will use
the IDT to do this test. This is reasonably fast.
Also if both classes in question are concrete, we will
use the 'ancestors' array to do a constant-time check.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25934
More information about the Gcc-bugs
mailing list