projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2004-08-19 15:43:39 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
ghci
/
ByteCodeGen.lhs
diff --git
a/ghc/compiler/ghci/ByteCodeGen.lhs
b/ghc/compiler/ghci/ByteCodeGen.lhs
index
485a285
..
cad4789
100644
(file)
--- a/
ghc/compiler/ghci/ByteCodeGen.lhs
+++ b/
ghc/compiler/ghci/ByteCodeGen.lhs
@@
-1130,7
+1130,7
@@
mkMultiBranch :: Maybe Int -- # datacons in tycon, if alg alt
-> BcM BCInstrList
mkMultiBranch maybe_ncons raw_ways
= let d_way = filter (isNoDiscr.fst) raw_ways
- notd_ways = naturalMergeSortLe
+ notd_ways = sortLe
(\w1 w2 -> leAlt (fst w1) (fst w2))
(filter (not.isNoDiscr.fst) raw_ways)