1. A method to prevent execution of one or more instructions, the method comprising: identifying, by one or more processors, a first set of instructions in an instruction stream of a transaction, wherein the first set of instructions incurs a first memory access that is not visible to the transaction; generating, by one or more processors, a second set of instructions that incurs a second memory access that is visible to the transaction, wherein the second set of instructions is generated based, at least in part, on the first memory access and the first set of instructions; and executing, by one or more processors, within the transaction, the second set of instructions instead of the first set of instructions.