summaryrefslogtreecommitdiff
path: root/tools/ocamlprof.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ocamlprof.ml')
-rw-r--r--tools/ocamlprof.ml2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/ocamlprof.ml b/tools/ocamlprof.ml
index c1ed927e46..b8a6b3fa40 100644
--- a/tools/ocamlprof.ml
+++ b/tools/ocamlprof.ml
@@ -328,8 +328,6 @@ and rewrite_class_field iflag =
| Pcf_meth (_, _, _, sexp, loc) ->
if !instr_fun && not loc.loc_ghost then insert_profile rw_exp sexp
else rewrite_exp iflag sexp
- | Pcf_let(_, spat_sexp_list, _) ->
- rewrite_patexp_list iflag spat_sexp_list
| Pcf_init sexp ->
rewrite_exp iflag sexp
| Pcf_valvirt _ | Pcf_virt _ | Pcf_cstr _ -> ()