Fix some warnings in ccross.
Add some comments to ir/mod.rs