projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9e5cd69
)
Regalloc stage dump in right order
author
Ben.Lippmeier@anu.edu.au
<unknown>
Thu, 23 Aug 2007 13:34:07 +0000
(13:34 +0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Thu, 23 Aug 2007 13:34:07 +0000
(13:34 +0000)
compiler/nativeGen/RegAllocColor.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/RegAllocColor.hs
b/compiler/nativeGen/RegAllocColor.hs
index
9c21faa
..
0a5c160
100644
(file)
--- a/
compiler/nativeGen/RegAllocColor.hs
+++ b/
compiler/nativeGen/RegAllocColor.hs
@@
-115,7
+115,7
@@
regAlloc_spin (spinCount :: Int) triv regsFree slotsFree debug_codeGraphs code
, raPatchedCmm = code_patched }
return ( code_nat
- , maybeToList stat1 ++ [stat] ++ debug_codeGraphs
+ , [stat] ++ maybeToList stat1 ++ debug_codeGraphs
, graph_colored)
else do
@@
-137,7
+137,7
@@
regAlloc_spin (spinCount :: Int) triv regsFree slotsFree debug_codeGraphs code
-- try again
regAlloc_spin (spinCount + 1) triv regsFree slotsFree'
- (maybeToList stat1 ++ [stat] ++ debug_codeGraphs)
+ ([stat] ++ maybeToList stat1 ++ debug_codeGraphs)
code_relive