Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Haley Sapphie Owsianko
ACC-project
Commits
92317d94
Commit
92317d94
authored
Apr 24, 2021
by
Sapphie
Browse files
Implement Halt
parent
bb672d39
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/src/l3/CPSOptimizer.scala
View file @
92317d94
...
...
@@ -118,6 +118,9 @@ abstract class CPSOptimizer[T <: CPSTreeModule { type Name = Symbol }]
LetC
(
nonInlinedConts
,
newBody
)
}
case
Halt
(
a
)
=>
Halt
(
s
.
aSubst
.
getOrElse
(
a
,
a
))
}
// (Non-shrinking) inlining
...
...
Write
Preview
Markdown
is supported
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