equal
deleted
inserted
replaced
1731 SOME s' => |
1731 SOME s' => |
1732 do_const (depth + 1) Ts (list_comb (Const (s', T), ts)) (s', T) ts |
1732 do_const (depth + 1) Ts (list_comb (Const (s', T), ts)) (s', T) ts |
1733 | NONE => |
1733 | NONE => |
1734 let |
1734 let |
1735 fun def_inline_threshold () = |
1735 fun def_inline_threshold () = |
1736 if is_boolean_type (nth_range_type (length ts) T) andalso |
1736 if is_boolean_type (body_type T) andalso |
1737 total_consts <> SOME true then |
1737 total_consts <> SOME true then |
1738 def_inline_threshold_for_booleans |
1738 def_inline_threshold_for_booleans |
1739 else |
1739 else |
1740 def_inline_threshold_for_non_booleans |
1740 def_inline_threshold_for_non_booleans |
1741 val (const, ts) = |
1741 val (const, ts) = |