Fix argument order in compiler pass