[parrot/parrot] cc5408: use int32 instead of uint32 for all values

noreply at github.com noreply at github.com
Sat Jul 23 22:58:25 UTC 2011


  Branch: refs/heads/m0-spec
  Home:   https://github.com/parrot/parrot

  Commit: cc540888bce0222ebc26c5bc1db6300e557ccea9
      https://github.com/parrot/parrot/commit/cc540888bce0222ebc26c5bc1db6300e557ccea9
  Author: Christoph Otto <christoph_github at mksig.org>
  Date:   2011-07-23 (Sat, 23 Jul 2011)

  Changed paths:
    M docs/pdds/draft/pdd32_m0.pod

  Log Message:
  -----------
  use int32 instead of uint32 for all values

Using uint32 for everything meant that negative numbers were not
available by default.  int32 for all values means that there's no need
to think about how to convert values from bytecode.  There are some
places where negative values can exist that don't make sense (e.g.
sizes), but watching for those is a straightforward validation issue.




More information about the parrot-commits mailing list