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
d336b9a9
Commit
d336b9a9
authored
Apr 19, 2018
by
John van Groningen
Browse files
don't use lambdas with a guard because the bootstrap compiler does not yet support this
parent
0298f8ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/backendconvert.icl
View file @
d336b9a9
...
...
@@ -575,16 +575,16 @@ where
removeExpandedTypesFromSelectorType
::
SelectorDef
->
BackEnder
removeExpandedTypesFromSelectorType
{
sd_type_ptr
}
=
\
be0
|
not
(
isNilPtr
sd_type_ptr
)
->
write_to_var_heap
sd_type_ptr
VI_Empty
be0
->
be0
=
if
(
not
(
isNilPtr
sd_type_ptr
)
)
(
write_to_var_heap
sd_type_ptr
VI_Empty
be0
)
be0
removeExpandedTypesFromConsType
::
ConsDef
->
BackEnder
removeExpandedTypesFromConsType
{
cons_type_ptr
}
=
\
be0
|
not
(
isNilPtr
cons_type_ptr
)
->
write_to_var_heap
cons_type_ptr
VI_Empty
be0
->
be0
=
if
(
not
(
isNilPtr
cons_type_ptr
)
)
(
write_to_var_heap
cons_type_ptr
VI_Empty
be0
)
be0
::
DeclVarsInput
:==
Ident
...
...
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