1. A method for replacing an unevaluated input that is constant at runtime to a group of instructions that calculates an output and cannot modify the unevaluated input, the method composed of: identifying the group of instructions; identifying the unevaluated input; generating an evaluation code that evaluates the unevaluated input; and replacing the unevaluated input with an invocation code that invokes the evaluation code.