The compiler analyzed it, optimized it, and emitted precisely the machine instructions you expected. Same input, same output.
P.I. For Hire "Shrewd Shrews" job, you'll find a locked door on the ground floor, left of where you come out of the elevator.