Skip to content

Commit

Permalink
[hack] Stop logging hhbc_class_get_c stats
Browse files Browse the repository at this point in the history
Summary: [hack] Stop logging hhbc_class_get_c stats

Reviewed By: jvillard

Differential Revision: D67030822

fbshipit-source-id: cf09b295fc00734c6ad3ce2f784fba5463723da5
  • Loading branch information
geralt-encore authored and facebook-github-bot committed Dec 11, 2024
1 parent 5d753cb commit 70a41eb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions infer/src/pulse/PulseModelsHack.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*)

open! IStd
module F = Format
module L = Logging
open PulseBasicInterface
open PulseDomainInterface
Expand Down Expand Up @@ -532,13 +531,7 @@ let hhbc_class_get_c value : model =
let open DSL.Syntax in
start_model
@@ fun () ->
let default () =
let* {location} = DSL.Syntax.get_data in
StatsLogging.log_message_with_location ~label:"hhbc_class_get_c argument"
~loc:(F.asprintf "%a" Location.pp_file_pos location)
~message:"hhbc_class_get_c received a non-constant-string argument." ;
get_static_class value |> lift_to_monad
in
let default () = get_static_class value |> lift_to_monad in
dynamic_dispatch value
~cases:
[ ( hack_string_type_name
Expand Down

0 comments on commit 70a41eb

Please sign in to comment.