[parrot/parrot] 58bb0c: POST::PBCCompiler - generate sub index properly

noreply at github.com noreply at github.com
Wed Aug 3 21:32:02 UTC 2011


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

  Commit: 58bb0ce97e355e0198e0816b4c24de00137cc221
      https://github.com/parrot/parrot/commit/58bb0ce97e355e0198e0816b4c24de00137cc221
  Author: Brian Gernhardt <brian.gernhardt at mail.rit.edu>
  Date:   2011-08-03 (Wed, 03 Aug 2011)

  Changed paths:
    M compilers/pct/src/POST/PBCCompiler.pm

  Log Message:
  -----------
  POST::PBCCompiler - generate sub index properly

The most recently added index is (length - 1), not length.  Oops.


  Commit: b3352ba35920a16101077ed241d626294440097f
      https://github.com/parrot/parrot/commit/b3352ba35920a16101077ed241d626294440097f
  Author: Brian Gernhardt <brian.gernhardt at mail.rit.edu>
  Date:   2011-08-03 (Wed, 03 Aug 2011)

  Changed paths:
    M compilers/pct/src/POST/PBCCompiler.pm

  Log Message:
  -----------
  POST::PBCCompler - Add get_or_create_*

The PackfileConstantTable apparently had different functions for
different types.  Now it just has one name and acts based on the type
of thing.  Since NQP stores everything as a PMC we need different
functions.  The find_caller_lex bit may be a bit strange, but it makes
the conversion faster.


  Commit: 82ea94532afb1f99e959746d84786f7940e62868
      https://github.com/parrot/parrot/commit/82ea94532afb1f99e959746d84786f7940e62868
  Author: Brian Gernhardt <brian.gernhardt at mail.rit.edu>
  Date:   2011-08-03 (Wed, 03 Aug 2011)

  Changed paths:
    M compilers/pct/src/POST/PBCCompiler.pm

  Log Message:
  -----------
  POST::PBCCompiler.pbc - use PackfileView

The part in the other methods that's failing is the setup in
Packfile.view.  So let's use load_bytecode__ps to get a Packfile PMC
and work with that.


Compare: https://github.com/parrot/parrot/compare/cd2119b...82ea945


More information about the parrot-commits mailing list