Remove dead function srtLabelAndLength from CgInfoTbls
authorIan Lynagh <igloo@earth.li>
Wed, 17 Dec 2008 18:00:44 +0000 (18:00 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 17 Dec 2008 18:00:44 +0000 (18:00 +0000)
compiler/codeGen/CgInfoTbls.hs

index 9719d71..c9439ce 100644 (file)
@@ -432,18 +432,6 @@ emitInfoTableAndCode entry_ret_lbl info args blocks
 
 -------------------------------------------------------------------------
 --
 
 -------------------------------------------------------------------------
 --
---     Static reference tables
---
--------------------------------------------------------------------------
-
-srtLabelAndLength :: C_SRT -> CLabel -> (CmmLit, StgHalfWord)
-srtLabelAndLength NoC_SRT _            
-  = (zeroCLit, 0)
-srtLabelAndLength (C_SRT lbl off bitmap) info_lbl
-  = (makeRelativeRefTo info_lbl $ cmmLabelOffW lbl off, bitmap)
-
--------------------------------------------------------------------------
---
 --     Position independent code
 --
 -------------------------------------------------------------------------
 --     Position independent code
 --
 -------------------------------------------------------------------------