Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
7f965920
Commit
7f965920
authored
Feb 01, 2018
by
John van Groningen
Browse files
pass -generic_fusion to the backend
parent
c5e0c628
Changes
1
Hide whitespace changes
Inline
Side-by-side
main/compile.icl
View file @
7f965920
...
...
@@ -187,8 +187,9 @@ parseCommandLine [arg1=:"-fusion":args] options
// switch on fusion transformations
#
(
args
,
modules
,
options
)
=
parseCommandLine
args
{
options
&
fusion_options
.
compile_with_fusion
=
True
}
=
([
arg1
:
args
],
modules
,
options
)
parseCommandLine
[
"-generic_fusion"
:
args
]
options
=
parseCommandLine
args
{
options
&
fusion_options
.
generic_fusion
=
True
}
parseCommandLine
[
arg1
=:
"-generic_fusion"
:
args
]
options
#
(
args
,
modules
,
options
)
=
parseCommandLine
args
{
options
&
fusion_options
.
generic_fusion
=
True
}
=
([
arg1
:
args
],
modules
,
options
)
parseCommandLine
[
arg1
=:
"-dump"
:
args
]
options
=
parseCommandLine
args
{
options
&
dump_core
=
True
}
parseCommandLine
[
arg1
=:
"-strip"
:
args
]
options
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment