[Git][ghc/ghc][master] rts: Remove unused GET_ENTRY closure macro

Marge Bot gitlab at gitlab.haskell.org
Wed Jun 10 07:41:17 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
92de9e25 by Ömer Sinan Ağacan at 2020-06-10T03:41:07-04:00
rts: Remove unused GET_ENTRY closure macro

This macro is not used and got broken in the meantime, as ENTRY_CODE was
deleted.

- - - - -


1 changed file:

- includes/rts/storage/ClosureMacros.h


Changes:

=====================================
includes/rts/storage/ClosureMacros.h
=====================================
@@ -52,8 +52,6 @@ INLINE_HEADER const StgInfoTable *GET_INFO(StgClosure *c) {
     return c->header.info;
 }
 
-#define GET_ENTRY(c)  (ENTRY_CODE(GET_INFO(c)))
-
 #if defined(TABLES_NEXT_TO_CODE)
 EXTERN_INLINE StgInfoTable *INFO_PTR_TO_STRUCT(const StgInfoTable *info);
 EXTERN_INLINE StgInfoTable *INFO_PTR_TO_STRUCT(const StgInfoTable *info) {return (StgInfoTable *)info - 1;}



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/92de9e25aa1a6f7aa73154868521bcf4f0dc9d1e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/92de9e25aa1a6f7aa73154868521bcf4f0dc9d1e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200610/4cbcb539/attachment.html>


More information about the ghc-commits mailing list