summaryrefslogtreecommitdiff
path: root/compiler/utils/GraphBase.hs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-09-04 17:50:29 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-07 04:50:21 -0400
commit821bece9e7b59272e779193d558298ba4cc7b888 (patch)
tree8b9e94ae2ccc7c73ebe79c63c41c6e1ef71d15e8 /compiler/utils/GraphBase.hs
parentb55ee979d32df938eee9c4c02c189f8be267e8a1 (diff)
downloadhaskell-821bece9e7b59272e779193d558298ba4cc7b888.tar.gz
Minor refactoring in deriveConstants
Mainly we now generate this data PlatformConstants = PlatformConstants { pc_CONTROL_GROUP_CONST_291 :: Int, pc_STD_HDR_SIZE :: Int, pc_PROF_HDR_SIZE :: Int, pc_BLOCK_SIZE :: Int, } instead of data PlatformConstants = PlatformConstants { pc_platformConstants :: () , pc_CONTROL_GROUP_CONST_291 :: Int , pc_STD_HDR_SIZE :: Int , pc_PROF_HDR_SIZE :: Int , pc_BLOCK_SIZE :: Int ... } The first field has no use and according to (removed) comments it was to make code generator's work easier.. if anything this version is simpler because it has less repetition (the commas in strings are gone).
Diffstat (limited to 'compiler/utils/GraphBase.hs')
0 files changed, 0 insertions, 0 deletions