Commit 6730cbf
gen_stub: inline single-use
Both `ArgInfo::setTypes()` and `ReturnInfo::setTypes()` were private methods
only called in the applicable class's constructor. They had no special logic
that benefited from existing as a separate method, and just added a level of
indirection. Inline the uses and remove the methods.::setTypes() methods1 parent d2220a4 commit 6730cbf
1 file changed
+5
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
| 814 | + | |
| 815 | + | |
815 | 816 | | |
816 | 817 | | |
817 | 818 | | |
| |||
876 | 877 | | |
877 | 878 | | |
878 | 879 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | 880 | | |
886 | 881 | | |
887 | 882 | | |
| |||
1137 | 1132 | | |
1138 | 1133 | | |
1139 | 1134 | | |
1140 | | - | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
1141 | 1138 | | |
1142 | 1139 | | |
1143 | 1140 | | |
| |||
1151 | 1148 | | |
1152 | 1149 | | |
1153 | 1150 | | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | 1151 | | |
1162 | 1152 | | |
1163 | 1153 | | |
| |||
0 commit comments