1. A method comprising: identifying a first function which is executable by two or more processing devices; generating a first code corresponding to the first function, at a first processing device, for execution at the first processing device; generating a second code corresponding to the first function, at the first processing device; generating a prologue, at the first processing device, including an instruction having a first operand that is a unique code pattern providing a reserved memory destination location and a pointer to a beginning of code in a byte string for the first function to be executed at a second processing device architecturally different from the first processing device; wherein the generating of the second code comprises the generating of the prologue and the unique code pattern indicates the presence of the pointer; and storing the second code in the byte string such that the second code is retrievable if the first function will be executed by the second processing device.