diff options
author | Guillaume Melquiond <guillaume.melquiond@inria.fr> | 2016-09-02 10:09:04 +0200 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@inria.fr> | 2016-09-02 10:09:04 +0200 |
commit | 675d7c4310e10d68e876331a95c46b726494ed91 (patch) | |
tree | f398c9628b22cd7fc936546c24576833a2130ebb /kernel/csymtable.ml | |
parent | def03f31c1c639629e6bb07e266319bf6930f8fb (diff) |
Remove useless debug code.
Diffstat (limited to 'kernel/csymtable.ml')
-rw-r--r-- | kernel/csymtable.ml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/kernel/csymtable.ml b/kernel/csymtable.ml index acd73d97d..e195618b6 100644 --- a/kernel/csymtable.ml +++ b/kernel/csymtable.ml @@ -219,17 +219,9 @@ and eval_to_patch env (buff,pl,fv) = eval_tcode tc vm_env and val_of_constr env c = - let (_,fun_code,_ as ccfv) = - try match compile true env c with - | Some v -> v - | None -> assert false - with reraise -> - let reraise = CErrors.push reraise in - let () = print_string "can not compile \n" in - let () = Format.print_flush () in - iraise reraise - in - eval_to_patch env (to_memory ccfv) + match compile true env c with + | Some v -> eval_to_patch env (to_memory v) + | None -> assert false let set_transparent_const kn = () (* !?! *) let set_opaque_const kn = () (* !?! *) |