[MS-ABI] Implement dynamic_cast

Description

[MS-ABI] Implement dynamic_cast
This patch implements call lower from dynamic_cast to RTDynamicCast
and
RTCastToVoid. Test cases are included. A feature of note is that
helper function getPolymorphicOffset is placed in such a way that it can
be used by EmitTypeid (to be implemented in a later patch) without being
moved. Details are included as comments directly in the code.

Details

Committed
whuntJun 6 2014, 3:12 PM
Parents
rL210376: Remove invalid comment from last commit.
Branches
Unknown
Tags
Unknown