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/CgForeignCall.hs | |
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/CgForeignCall.hs')
-rw-r--r-- | compiler/codeGen/CgForeignCall.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/codeGen/CgForeignCall.hs b/compiler/codeGen/CgForeignCall.hs index ec16946318..8bb4c4350d 100644 --- a/compiler/codeGen/CgForeignCall.hs +++ b/compiler/codeGen/CgForeignCall.hs @@ -109,6 +109,9 @@ emitForeignCall results (CCall (CCallSpec target cconv safety)) args live -- alternative entry point, used by CmmParse +-- the new code generator has utility function emitCCall and emitPrimCall +-- which should be used instead of this (the equivalent emitForeignCall +-- is not presently exported.) emitForeignCall' :: Safety -> HintedCmmFormals -- where to put the results |