Reduce dx memory usage on methods with a lot of registers.