diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-02-24 15:49:19 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-02-24 15:49:19 +0000 |
commit | 91dcfe11ff321386f7924da053be83523073a50c (patch) | |
tree | dc8291da94c66665ca8dd2496cdd74e32e08ae92 /powerpc/PrintAsm.ml | |
parent | 0e76ac320601a81a67c700759526d0f8b7a8ed7b (diff) | |
download | compcert-91dcfe11ff321386f7924da053be83523073a50c.tar.gz compcert-91dcfe11ff321386f7924da053be83523073a50c.zip |
Improved instruction selection for "notint".
powerpc/PrintAsm.ml: fixed MacOS X problems with malloc and free
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1824 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/PrintAsm.ml')
-rw-r--r-- | powerpc/PrintAsm.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerpc/PrintAsm.ml b/powerpc/PrintAsm.ml index f396a235..8323d56f 100644 --- a/powerpc/PrintAsm.ml +++ b/powerpc/PrintAsm.ml @@ -1049,7 +1049,7 @@ let print_fundef oc (name, defn) = match defn with | Internal code -> print_function oc name code - | External (EF_external _ as ef) -> + | External ((EF_external _ | EF_malloc | EF_free) as ef) -> if function_needs_stub name then stub_function oc name (ef_sig ef) | External _ -> () @@ -1057,7 +1057,7 @@ let print_fundef oc (name, defn) = let record_extfun (name, defn) = match defn with | Internal _ -> () - | External (EF_external _) -> + | External (EF_external _ | EF_malloc | EF_free) -> if function_needs_stub name then stubbed_functions := IdentSet.add name !stubbed_functions | External _ -> () |