X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FcodeGen%2FCgForeignCall.hs;h=8bb4c4350d63e17f418d923b7e13ffcdb2ca03a9;hp=ec169463187f0d1546e4b1a14d6f1d3d3a9a9a04;hb=5b1053897fa16ced293e749447e9c027d15d29f5;hpb=f1fc7698ef9997f950be8cb37c9b30dadbb4b631 diff --git a/compiler/codeGen/CgForeignCall.hs b/compiler/codeGen/CgForeignCall.hs index ec16946..8bb4c43 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