Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit f66e5ac

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Disable expansion of function arguments.
- Expanding all function arguments is bad for performance and didn't really have a positive enough impact to be worth it. Belonging to [master]: - #2736 - OpenModelica/OpenModelica-testsuite#1058
1 parent 13e5b32 commit f66e5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Util/Flags.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ constant DebugFlag FMI20_DEPENDENCIES = DEBUG_FLAG(183, "disableFMIDependency",
542542
Util.gettext("Disables the dependency analysis and generation for FMI 2.0."));
543543
constant DebugFlag WARNING_MINMAX_ATTRIBUTES = DEBUG_FLAG(184, "warnMinMax", true,
544544
Util.gettext("Makes a warning assert from min/max variable attributes instead of error."));
545-
constant DebugFlag NF_EXPAND_FUNC_ARGS = DEBUG_FLAG(185, "nfExpandFuncArgs", true,
545+
constant DebugFlag NF_EXPAND_FUNC_ARGS = DEBUG_FLAG(185, "nfExpandFuncArgs", false,
546546
Util.gettext("Expand all function arguments in the new frontend."));
547547

548548
// This is a list of all debug flags, to keep track of which flags are used. A

0 commit comments

Comments
 (0)