1. A method comprising identifying a source code block in source code; transforming the source code block including transforming references to values stored in memory locations into references to corresponding values stored in registers associated with the memory locations; and generating compensation native code to update each memory location with a value from an associated register to provide native code corresponding to a source code exception handler associated with the source code block, access to the updated memory locations.