[sledge] No longer need to Marshal with Closures support

Summary:
Now that the containers use functorial interfaces with representations
that do not include closures for the comparison functions, it is not
necessary to enable closure support when Marshaling the IR between the
frontend and backend. This should be slightly faster, but more
importantly, it means that the serialized form is stable across
changes to the analyzer that do not change the representation of the
IR types, and in particular, the dbg and opt binaries can use the same
serialized form.

Reviewed By: jvillard

Differential Revision: D20589880

fbshipit-source-id: 63f07335e
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent 461f88756d
commit 1364eccf18

@ -62,8 +62,7 @@ let command ~summary ?readme param =
Command.basic ~summary ?readme (trace *> param >>| wrap)
let marshal program file =
Out_channel.with_file file ~f:(fun oc ->
Marshal.to_channel oc program [Marshal.Closures] )
Out_channel.with_file file ~f:(fun oc -> Marshal.to_channel oc program [])
let unmarshal file () =
In_channel.with_file

Loading…
Cancel
Save