fixed bug #716790 and removes lot's of redundant register usage around function calls