[ai][pulse] fix minor html indentation issues

Summary: ross_pretty

Reviewed By: da319

Differential Revision: D13102950

fbshipit-source-id: 594213520
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent 55586b581b
commit e3b4a135ae

@ -118,7 +118,7 @@ module AbstractInterpreterCommon (TransferFunctions : TransferFunctions.SIL) = s
else if phys_equal result right then F.pp_print_string f "= RIGHT" else if phys_equal result right then F.pp_print_string f "= RIGHT"
else Domain.pp f result else Domain.pp f result
in in
L.d_printfln_escaped "LEFT: %a@.RIGHT: %t@.RESULT: %t@." Domain.pp left pp_right pp_result ; L.d_printfln_escaped "LEFT: %a@.RIGHT: %t@.RESULT: %t@." Domain.pp left pp_right pp_result ;
NodePrinter.finish_session underlying_node NodePrinter.finish_session underlying_node

@ -372,14 +372,14 @@ module Domain : AbstractDomain.S with type t = astate = struct
Memory.fold (one_addr state.subst) state.astate.heap (Memory.empty, true) Memory.fold (one_addr state.subst) state.astate.heap (Memory.empty, true)
in in
if has_converged then ( if has_converged then (
L.d_strln "Join unified addresses:" ; let pp_union_find_classes f subst =
L.d_increase_indent () ; Container.iter subst ~fold:AddressUF.fold_sets
Container.iter state.subst ~fold:AddressUF.fold_sets ~f:(fun ((repr : AddressUF.Repr.t), set) ->
~f:(fun ((repr : AddressUF.Repr.t), set) -> F.fprintf f "%a=%a@;" AbstractAddress.pp
L.d_printfln "%a=%a" AbstractAddress.pp (repr :> AbstractAddress.t)
(repr :> AbstractAddress.t) AddressUnionSet.pp set )
AddressUnionSet.pp set ) ; in
L.d_decrease_indent () ; L.d_printfln "Join unified addresses:@\n@[<v2> %a@]" pp_union_find_classes state.subst ;
let stack = Stack.map (to_canonical_address state.subst) state.astate.stack in let stack = Stack.map (to_canonical_address state.subst) state.astate.stack in
{heap; stack} ) {heap; stack} )
else normalize {state with astate= {state.astate with heap}} else normalize {state with astate= {state.astate with heap}}

Loading…
Cancel
Save