change SizeOf to take AsmPrinter instead of TargetData,