Remove returnsInMemory (not necessary anymore under LLVM)
remove some commented out code that was no longer needed with llvm
make a few more classes final (to speed up casts)