Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
41bfa1a7
Commit
41bfa1a7
authored
Dec 29, 2008
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings in CmmProcPoint
parent
a52543e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
compiler/cmm/CmmProcPoint.hs
compiler/cmm/CmmProcPoint.hs
+1
-10
No files found.
compiler/cmm/CmmProcPoint.hs
View file @
41bfa1a7
{-# OPTIONS -w #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
-- for details
module
CmmProcPoint
(
calculateProcPoints
)
where
...
...
@@ -12,12 +5,10 @@ module CmmProcPoint (
#
include
"HsVersions.h"
import
BlockId
import
Cmm
import
CmmBrokenBlock
import
Dataflow
import
UniqSet
import
UniqFM
import
Panic
-- Determine the proc points for a set of basic blocks.
...
...
@@ -115,7 +106,7 @@ calculateOwnership blocks_ufm proc_points blocks =
(
Nothing
,
True
)
->
Just
$
extendBlockEnv
owners
ident
(
unitUniqSet
ident
)
(
Nothing
,
False
)
->
Nothing
(
Just
cause'
,
True
)
->
Nothing
(
Just
_
,
True
)
->
Nothing
(
Just
cause'
,
False
)
->
if
(
sizeUniqSet
old
)
==
(
sizeUniqSet
new
)
then
Nothing
...
...
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