Set regs to stack on return of const_get calls before use
Merge pull request #1538 from carsonmcdonald/conststackfix

Set regs to stack on return of const_get calls before use
move declarations to the beginning of blocks
Merge branch 'master' into iij