Make source_location conditional static.

We know at code load time whether or not anything
has to be done here, so evaluate the conditional once.