Use compact location in code representation