1. A method for a compiler, comprising: receiving, by the compiler and from an interpreter, a representation of a code section having a control path that changes the representation, wherein the representation comprises profiling data, and wherein the profiling data comprises a threshold; performing, by the compiler and based on the threshold, a partial evaluation of the interpreter executing the representation; compiling, by the compiler, a machine code of the representation, wherein the control path is replaced with a deoptimization point during compilation of the machine code; triggering the deoptimization point during execution of the machine code; and returning execution to the interpreter based on the triggering.