aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-09-17 18:05:01 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-09-17 22:29:02 +0100
commitfabaf7d6caf919ceaa05f2db4260fa897864d517 (patch)
treed50a81ea97725eee5abe8d4b881e265c04fd80c0 /gcc/config.gcc
parenta6e15ff5f052801180b3e56c4579ea555f2f0c50 (diff)
downloadgcc-fabaf7d6caf919ceaa05f2db4260fa897864d517.zip
gcc-fabaf7d6caf919ceaa05f2db4260fa897864d517.tar.gz
gcc-fabaf7d6caf919ceaa05f2db4260fa897864d517.tar.bz2
Initial Dynamic dispatch support
This is the first pass at implementing dynamic dispatch, it creates a vtable object and trait object to store the vtable and reciever. The method resolution during type checking acts the same as if it was a generic type bound method call. This detects this case during code generation to access the dynamic object appropriately to get the fnptr and call it with the stored reciever. Fixes: #197
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions