X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FCgForeignCall.hs;h=8bb4c4350d63e17f418d923b7e13ffcdb2ca03a9;hb=8b3bfb2ec41fd0e807a8f6e7a823795eafca1dcb;hp=cdaccc98a836d42a36a77d5d94730a4d88ca7227;hpb=f30d527344db528618f64a25250a3be557d9f287;p=ghc-hetmet.git diff --git a/compiler/codeGen/CgForeignCall.hs b/compiler/codeGen/CgForeignCall.hs index cdaccc9..8bb4c43 100644 --- a/compiler/codeGen/CgForeignCall.hs +++ b/compiler/codeGen/CgForeignCall.hs @@ -25,8 +25,8 @@ import CgUtils import Type import TysPrim import CLabel -import Cmm -import CmmUtils +import OldCmm +import OldCmmUtils import SMRep import ForeignCall import ClosureInfo @@ -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