Commit eb9b4e54 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Remove unused 'targetWordSize'

parent b6b6311b
......@@ -21,7 +21,6 @@ module TargetReg (
targetRealRegSqueeze,
targetClassOfRealReg,
targetMkVirtualReg,
targetWordSize,
targetRegDotColor,
targetClassOfReg
)
......@@ -34,7 +33,6 @@ import Reg
import RegClass
import Size
import CmmType (wordWidth)
import Outputable
import Unique
import FastTypes
......@@ -80,10 +78,6 @@ targetClassOfRealReg platform
ArchARM _ _ _ -> panic "targetClassOfRealReg ArchARM"
ArchUnknown -> panic "targetClassOfRealReg ArchUnknown"
-- TODO: This should look at targetPlatform too
targetWordSize :: Size
targetWordSize = intSize wordWidth
targetMkVirtualReg :: Platform -> Unique -> Size -> VirtualReg
targetMkVirtualReg platform
= case platformArch platform of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment