[m-rev.] diff: fix a typo that broke the stage 2 library

Julien Fischer jfischer at opturion.com
Fri Mar 24 13:37:19 AEDT 2017


Fix a typo that broke the stage 2 library.

compiler/inlining.m:
      As above.

Julien.

diff --git a/compiler/inlining.m b/compiler/inlining.m
index fa0dd97..c24e94a 100644
--- a/compiler/inlining.m
+++ b/compiler/inlining.m
@@ -231,7 +231,7 @@ inline_in_module(!ModuleInfo) :-
      globals.lookup_bool_option(Globals, inline_single_use, SingleUse),
      globals.lookup_bool_option(Globals, inline_linear_tail_rec_sccs,
          LinearTailRec),
-    globals.lookup_int_option(Globals, inline_linear_tail_rec_sccs,
+    globals.lookup_int_option(Globals, inline_linear_tail_rec_sccs_max_extra,
          LinearTailRecMaxExtra),
      globals.lookup_int_option(Globals, inline_call_cost, CallCost),
      globals.lookup_int_option(Globals, inline_compound_threshold,


More information about the reviews mailing list