diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-05-06 15:10:39 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-05-06 15:10:39 +0200 |
commit | 4705c24a336d831dd5afb02288fda17c0093c438 (patch) | |
tree | 843da1e3a39e29e4d7f88013716fdc93098461e5 /driver/Driver.ml | |
parent | fff918a39813598c79aaf658fce753b86aac8af4 (diff) | |
download | compcert-4705c24a336d831dd5afb02288fda17c0093c438.tar.gz compcert-4705c24a336d831dd5afb02288fda17c0093c438.zip |
Moved the information needed from the atoms to the ASM printer and removed unused information from the json dump.
Diffstat (limited to 'driver/Driver.ml')
-rw-r--r-- | driver/Driver.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml index 5a89d4d4..04dec9db 100644 --- a/driver/Driver.ml +++ b/driver/Driver.ml @@ -159,8 +159,8 @@ let jdump_magic_number = "CompCertJDUMP" ^ Configuration.version let dump_jasm asm destfile = let oc = open_out_bin destfile in - fprintf oc "{\n\"Version\":\"%s\",\n\"Asm Ast\":%a,\n\"C Declaration\":%t}" - jdump_magic_number AsmToJSON.p_program asm C2CToJSON.print_decl_atom; + fprintf oc "{\n\"Version\":\"%s\",\n\"Asm Ast\":%a}" + jdump_magic_number AsmToJSON.p_program asm; close_out oc |