The code that every node runs to ensure the correct amount is created during every block (6.25 right now), the total number of blocks between havings (210,000), and the number of havings until the subsidy is done (50 I think). If any block is created attempting to alter this supply schedule it will not be accepted by nodes.