This would be better as:
```c
Type *tbn = tb->ty == Tvector ? ((TypeVector *)tb)->basetype->nextOf() : tb->nextOf();
targ_size_t sz = tbn->size();
::type *te = tbn->toCtype();
```
Less lines, less duplication, less function calls;