Refix ReplaceCode() pragma to fix ppc sim issue.