>
> } else if (isa<DbgInfoIntrinsic>(I)) {
> // Ignore debug instructions
> + } else if (isa<CallInst>(I)) {
> + if (isa<IntrinsicInst>(I))
> + Size = Size + 3;
> + else
> + Size = Size + 10;
> } else {
> ++Size;
> }
>
A comment where the magic numbers come from probably wouldn't go
amiss :)
-eric