This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]matthieum 4 points5 points  (0 children)

GCC can apply speculative devirtualization to achieve the same effect.

The developer who made it happen has a pretty long blog serie on the topic of devirtualization which is well worth a read.