Replace compile instructions