[compiler] Remove now unused code