[parrot/parrot] ef9469: Add a third argument to Parrot_pf_get_packfile_pmc...

noreply at github.com noreply at github.com
Wed Nov 30 01:05:28 UTC 2011


  Branch: refs/heads/packfile_cleanups
  Home:   https://github.com/parrot/parrot

  Commit: ef946927fd58d90b7c1027dbe19f3c1c722033b2
      https://github.com/parrot/parrot/commit/ef946927fd58d90b7c1027dbe19f3c1c722033b2
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M compilers/imcc/main.c
  M frontend/parrot_debugger/main.c
  M frontend/pbc_dump/main.c
  M frontend/pbc_merge/main.c
  M include/parrot/packfile.h
  M src/embed/bytecode.c
  M src/packfile/api.c
  M src/pmc/eval.pmc
  M src/pmc/packfile.pmc
  M src/pmc/packfileview.pmc
  M src/pmc/sub.pmc

  Log Message:
  -----------
  Add a third argument to Parrot_pf_get_packfile_pmc, to be the string path for it. That way every time we have a PackfileView we've made a best effort to fill in all fields. Add a get_packfile() method to Sub to get the packfile that owns it. This exposes some subtle errors


  Commit: 0b3235adb1e6a641a7ce32bb4586c5391760bf80
      https://github.com/parrot/parrot/commit/0b3235adb1e6a641a7ce32bb4586c5391760bf80
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M src/pmc/packfileview.pmc

  Log Message:
  -----------
  Make sure to set the ->view field in the PackFile* when we load it from the PackfileView.read_from_file() method.


Compare: https://github.com/parrot/parrot/compare/ef94692^...0b3235a


More information about the parrot-commits mailing list