Removed wrong code in codegen-sim.c that was only there for testing.