Skip to content

Commit 683f142

Browse files
Tianhan Lufacebook-github-bot
authored andcommitted
Export function definitions without the undecorated signatures when used for building call graphs
Summary: So that we can save memory usage. Reviewed By: arthaud Differential Revision: D83182199 fbshipit-source-id: 993d1ea6aa878e1dcf98c44afe1644bf3782a30c
1 parent cca0522 commit 683f142

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/interprocedural/pyreflyApi.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,8 @@ module GlobalVariable = struct
12951295
location: Location.t;
12961296
}
12971297
[@@deriving equal, compare, show]
1298+
1299+
let _ = pp
12981300
end
12991301

13001302
module ModuleGlobalsSharedMemory =
@@ -1342,6 +1344,8 @@ module ClassField = struct
13421344
location: Location.t option;
13431345
}
13441346
[@@deriving equal, compare, show]
1347+
1348+
let _ = pp
13451349
end
13461350

13471351
module ClassFieldsSharedMemory =

0 commit comments

Comments
 (0)