1. A method for defining an instruction path to be compiled by a just-in-time compiler, comprising: interpreting a first non-native instruction to generate a first instruction code; identifying a plurality of instruction codes reachable by the first instruction code; assigning to a first group of instruction codes the first instruction code and the identified plurality of instruction codes; and compiling the first group of instruction codes to generate a native instruction path.