HomePhabricator

Fix an overly aggressive assertion in getCopyFromPartsVector.

Description

Fix an overly aggressive assertion in getCopyFromPartsVector.

The assertion in getCopyFromPartsVector assumed that the vector 'part' must
match the type of argument (arguments are potentially split into multiple
parts). However, in some cases the targets return a 'part' of the right size
but with a different type. We already handle this case correctly later on
and generate a bitcast. This commit just makes sure that we are actually
checking the property that we care about.

Details

Committed
nadavJul 2 2015, 4:23 PM
Parents
rL241311: COFF: Define SymbolTable::insert to simplify. NFC.
Branches
Unknown
Tags
Unknown