Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
d14b1ec6
Commit
d14b1ec6
authored
May 29, 2018
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor refactoring
parent
36656b9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compiler/main/HscMain.hs
compiler/main/HscMain.hs
+1
-1
compiler/simplCore/SetLevels.hs
compiler/simplCore/SetLevels.hs
+1
-1
No files found.
compiler/main/HscMain.hs
View file @
d14b1ec6
...
...
@@ -363,7 +363,7 @@ hscParse' mod_summary
srcs0
=
nub
$
filter
(
not
.
(
tmpDir
dflags
`
isPrefixOf
`))
$
filter
(
not
.
(
==
n_hspp
))
$
map
FilePath
.
normalise
$
filter
(
not
.
(
isPrefixOf
"<"
)
)
$
filter
(
not
.
isPrefixOf
"<"
)
$
map
unpackFS
$
srcfiles
pst
srcs1
=
case
ml_hs_file
(
ms_location
mod_summary
)
of
...
...
compiler/simplCore/SetLevels.hs
View file @
d14b1ec6
...
...
@@ -1648,7 +1648,7 @@ newLvlVar lvld_rhs join_arity_maybe is_mk_static
=
mkExportedVanillaId
(
mkSystemVarName
uniq
(
mkFastString
"static_ptr"
))
rhs_ty
|
otherwise
=
mkLocal
Id
OrCoVar
(
mkSystemVarName
uniq
(
mkFastString
"lvl"
)
)
rhs_ty
=
mk
Sys
LocalOrCoVar
(
mkFastString
"lvl"
)
uniq
rhs_ty
cloneCaseBndrs
::
LevelEnv
->
Level
->
[
Var
]
->
LvlM
(
LevelEnv
,
[
Var
])
cloneCaseBndrs
env
@
(
LE
{
le_subst
=
subst
,
le_lvl_env
=
lvl_env
,
le_env
=
id_env
})
...
...
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