Skip to content

Commit a441865

Browse files
committed
Actually do what I meant to in the inline threshold. Don't drink and code. Cut rustc by 50kb.
1 parent 967a6f8 commit a441865

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/boot/me/trans.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,14 +281,14 @@ let trans_visitor
281281
in
282282

283283
let should_inline_structure_helpers t =
284-
let n = 2 in
284+
let n = 3 in
285285
match t with
286286
Ast.TY_tag ttag ->
287-
get_n_tag_tups cx ttag > n
287+
get_n_tag_tups cx ttag < n
288288
| Ast.TY_rec elts ->
289-
Array.length elts > 3
289+
Array.length elts < n
290290
| Ast.TY_tup elts ->
291-
Array.length elts > 3
291+
Array.length elts < n
292292
| _ -> false
293293
in
294294

0 commit comments

Comments
 (0)