[commit: ghc] master: Make MO_Prefetch_Data a no-op in the C backend (#8437). (896cee0)
git at git.haskell.org
git
Sat Oct 12 01:15:13 UTC 2013
Repository : ssh://git at git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/896cee02e766c687a52cd75382bcfed64a623619/ghc
>---------------------------------------------------------------
commit 896cee02e766c687a52cd75382bcfed64a623619
Author: Reid Barton <rwbarton at gmail.com>
Date: Sat Oct 12 09:57:50 2013 +1100
Make MO_Prefetch_Data a no-op in the C backend (#8437).
Signed-off-by: Erik de Castro Lopo <erikd at mega-nerd.com>
>---------------------------------------------------------------
896cee02e766c687a52cd75382bcfed64a623619
compiler/cmm/PprC.hs | 1 +
1 file changed, 1 insertion(+)
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index a8d4c5e..2398981 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -221,6 +221,7 @@ pprStmt stmt =
-- for a dynamic call, no declaration is necessary.
CmmUnsafeForeignCall (PrimTarget MO_Touch) _results _args -> empty
+ CmmUnsafeForeignCall (PrimTarget (MO_Prefetch_Data _)) _results _args -> empty
CmmUnsafeForeignCall target@(PrimTarget op) results args ->
fn_call
More information about the ghc-commits
mailing list