diff options
author | Edward Z. Yang <ezyang@mit.edu> | 2011-06-10 17:16:32 +0100 |
---|---|---|
committer | Edward Z. Yang <ezyang@mit.edu> | 2011-06-13 14:59:29 +0100 |
commit | 5b1053897fa16ced293e749447e9c027d15d29f5 (patch) | |
tree | f81e595d12138147216dfa3afff9b498bb0941ff /compiler/codeGen/CgMonad.lhs | |
parent | f1fc7698ef9997f950be8cb37c9b30dadbb4b631 (diff) | |
download | haskell-5b1053897fa16ced293e749447e9c027d15d29f5.tar.gz |
Port "Make array copy primops inline" and related patches to new codegen.
The following patches were ported:
d0faaa6 Fix segfault in array copy primops on 32-bit
18691d4 Make assignTemp_ less pessimistic
9c23f06 Make array copy primops inline
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'compiler/codeGen/CgMonad.lhs')
-rw-r--r-- | compiler/codeGen/CgMonad.lhs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/codeGen/CgMonad.lhs b/compiler/codeGen/CgMonad.lhs index 8a3b664fc1..900b6d9b85 100644 --- a/compiler/codeGen/CgMonad.lhs +++ b/compiler/codeGen/CgMonad.lhs @@ -701,6 +701,8 @@ whenC :: Bool -> Code -> Code whenC True code = code whenC False _ = nopC +-- Corresponds to 'emit' in new code generator with a smart constructor +-- from cmm/MkGraph.hs stmtC :: CmmStmt -> Code stmtC stmt = emitCgStmt (CgStmt stmt) |