The code inside LEGACY_EXEC ifdefs should be left as it was - it's used to compare for changes with the old engine branch.