[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
"ignoring variable arguments to variadic function: \
%a"
Global.pp (xlate_global x llfunc) ()
Exp.pp func ()
| _ -> () ) ;
Array.length (Llvm.param_types (Llvm.element_type lltyp))
in

Loading…
Cancel
Save