
#5925: Add inline version of newArray# -------------------------------------+------------------------------------ Reporter: tibbe | Owner: simonmar Type: feature request | Status: patch Priority: normal | Milestone: 7.6.2 Component: Compiler | Version: 7.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: 4258 Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by simonmar): I've attached my refactored patches, there are two patches that apply on top of the original newArray# patch. The first is a patch I had lying around to change the representation of heap offsets from word to byte offsets, which turned out to be useful here too, so we might as well include it. I haven't tested this other than to eyeball the Cmm, which looks vaguely sensible. Johan, if you could take it from here and run your tests, that would be great. I think I'm still missing a bugfix that you applied in your second patch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5925#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler