[dmd-internals] [D-Programming-Language/dmd] bc6b3f: Move global initializations into a setup function ...

noreply at github.com noreply at github.com
Sun Jul 31 18:13:57 PDT 2011


  Branch: refs/heads/cleanup-backend
  Home:   https://github.com/D-Programming-Language/dmd

  Commit: bc6b3f4091e03c4c72eb645cd53bb5cfda4aba0c
      https://github.com/D-Programming-Language/dmd/commit/bc6b3f4091e03c4c72eb645cd53bb5cfda4aba0c
  Author: Brad Roberts <braddr at puremagic.com>
  Date:   2011-07-31 (Sun, 31 Jul 2011)

  Changed paths:
    M src/backend/cg.c
  M src/backend/cod3.c
  M src/backend/code.h
  M src/msc.c

  Log Message:
  -----------
  Move global initializations into a setup function to isolate the x86-ness


  Commit: ec702a7accfb275ff309d395ce4fafbef859aae8
      https://github.com/D-Programming-Language/dmd/commit/ec702a7accfb275ff309d395ce4fafbef859aae8
  Author: Brad Roberts <braddr at puremagic.com>
  Date:   2011-07-31 (Sun, 31 Jul 2011)

  Changed paths:
    M src/backend/cg.c
  M src/backend/cgcod.c
  M src/backend/cod3.c
  M src/backend/code.h
  M src/backend/elfobj.c
  M src/backend/machobj.c

  Log Message:
  -----------
  Cleanup handling of ALLREGS and BYTEREGS.

- move definition from elfobj.c and machobj.c to cs.c
- move initialization from global in elf and machobj to cod3_set[16|32|64]
- eliminate different initialization style between posix and non-posix
- kill some never-executed pieces: if (0 && ...


Compare: https://github.com/D-Programming-Language/dmd/compare/bc6b3f4^...ec702a7


More information about the dmd-internals mailing list