[sledge] Fix crash when trying to warn

Reviewed By: mbouaziz

Differential Revision: D15518828

fbshipit-source-id: 069ff4e9c
master
Josh Berdine 6 years ago committed by Facebook Github Bot
parent 611fb57d3a
commit da097679bd

@ -989,7 +989,7 @@ let xlate_instr :
warn warn
"ignoring variable arguments to variadic function: \ "ignoring variable arguments to variadic function: \
%a" %a"
Global.pp (xlate_global x llfunc) () Exp.pp func ()
| _ -> () ) ; | _ -> () ) ;
Array.length (Llvm.param_types (Llvm.element_type lltyp)) Array.length (Llvm.param_types (Llvm.element_type lltyp))
in in

Loading…
Cancel
Save