summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmHeap.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-08-07 14:39:03 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-08-07 15:50:38 +0100
commitef58afea57b37c599cdde1d5012603322e042cfa (patch)
treeab202ecebcd09de8e18faa9ed616a4c552b96f80 /compiler/codeGen/StgCmmHeap.hs
parent313740eaa95c5a5ed53528473b86ff39bf67d736 (diff)
downloadhaskell-ef58afea57b37c599cdde1d5012603322e042cfa.tar.gz
Small optimisation
When calling newCAF, refer to the closure using its LocalReg rather than R1. Using R1 here was preventing the register allocator from coalescing the assignment x=R1 at the beginning of the function.
Diffstat (limited to 'compiler/codeGen/StgCmmHeap.hs')
0 files changed, 0 insertions, 0 deletions