[GHC] #5210: Add primops for copying/cloning byte arrays
GHC
cvs-ghc at haskell.org
Thu Jun 16 09:16:11 CEST 2011
#5210: Add primops for copying/cloning byte arrays
---------------------------------+------------------------------------------
Reporter: tibbe | Owner: dterei
Type: feature request | Status: patch
Priority: high | Milestone: 7.2.1
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by dterei):
I like the way the testing is done with having a guard value at each end.
My only concern is this line:
{{{
-- Assign the arguments to temporaries so the code generator can
-- calculate liveness for us.
}}}
I think its fine, its just I don't really understand it. I was originally
going to say why are you doing this assigning stuff as the backends will
take care of it and then noticed the comment above. Other code seems to
follow this pattern so I assume you just kept with the trend.
I'm pretty tired right now so will wait till tomorrow to do a quick check
again before pushing.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5210#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list