IPE: Eliminate dependency on Read
Instead of encoding the closure type as decimal string we now simply represent it as an integer, eliminating the need for `Read` in `GHC.Internal.InfoProv.Types.peekInfoProv`. Closes #24504. ------------------------- Metric Decrease: T24602_perf_size size_hello_artifact -------------------------
Showing
- compiler/GHC/StgToCmm/InfoTableProv.hs 3 additions, 4 deletionscompiler/GHC/StgToCmm/InfoTableProv.hs
- libraries/ghc-internal/src/GHC/Internal/InfoProv/Types.hsc 8 additions, 6 deletionslibraries/ghc-internal/src/GHC/Internal/InfoProv/Types.hsc
- rts/IPE.c 5 additions, 1 deletionrts/IPE.c
- rts/Trace.c 4 additions, 1 deletionrts/Trace.c
- rts/eventlog/EventLog.c 5 additions, 2 deletionsrts/eventlog/EventLog.c
- rts/include/rts/Constants.h 7 additions, 0 deletionsrts/include/rts/Constants.h
- rts/include/rts/IPE.h 8 additions, 2 deletionsrts/include/rts/IPE.h
- testsuite/tests/rts/ipe/ipeEventLog.stderr 20 additions, 20 deletionstestsuite/tests/rts/ipe/ipeEventLog.stderr
- testsuite/tests/rts/ipe/ipeEventLog_fromMap.stderr 20 additions, 20 deletionstestsuite/tests/rts/ipe/ipeEventLog_fromMap.stderr
- testsuite/tests/rts/ipe/ipeMap.c 5 additions, 2 deletionstestsuite/tests/rts/ipe/ipeMap.c
- testsuite/tests/rts/ipe/ipe_lib.c 1 addition, 4 deletionstestsuite/tests/rts/ipe/ipe_lib.c
Loading
Please register or sign in to comment