[parrot/parrot] af7e33: [GH #836] Improved pmc2c

GitHub noreply at github.com
Wed Dec 12 00:43:37 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: af7e3329fb481f45b9a9901d5d47cd6496911cc2
      https://github.com/parrot/parrot/commit/af7e3329fb481f45b9a9901d5d47cd6496911cc2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M lib/Parrot/Pmc2c/Method.pm

  Log Message:
  -----------
  [GH #836] Improved pmc2c

support multiple shim'able parameters
warns on not SHIM'ed parameters, possibly internal unused variables
warns on possibly forgotten UNUSED(param) declarations
warns on an possible internal recursion error, when the UNUSED decl could not be replaced
skips SHIM'ing method bodies with #if
detect empty bodies and adds SHIM'ed INTERP and SELF params automatically


  Commit: 4136fb4794ffb1f49bf530e07288dba61ffe8e87
      https://github.com/parrot/parrot/commit/4136fb4794ffb1f49bf530e07288dba61ffe8e87
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  [GH #836] rurban/pmc2c-2-gh836 ChangeLog line


  Commit: cbe890046a9e8e48504b7c4c87a1b0b5c3325045
      https://github.com/parrot/parrot/commit/cbe890046a9e8e48504b7c4c87a1b0b5c3325045
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M src/pmc/imageiothaw.pmc

  Log Message:
  -----------
  [GH #836] Remove wrong 2x UNUSED(INTERP) in imageiothaw


  Commit: f204cf8e3770bd29073a525dfc191d9fa75d16b9
      https://github.com/parrot/parrot/commit/f204cf8e3770bd29073a525dfc191d9fa75d16b9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M lib/Parrot/Pmc2c/Method.pm

  Log Message:
  -----------
  Fix wrong Parrot::Pmc2c::Method::decl

Failed when not in first line (s///m missing)


  Commit: 32ac823ed6b446f6d5b9ddcd16a057cb38f20616
      https://github.com/parrot/parrot/commit/32ac823ed6b446f6d5b9ddcd16a057cb38f20616
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M lib/Parrot/Pmc2c/Method.pm

  Log Message:
  -----------
  [GH #836] pmc2c Sanify parameters beforehand and detect empty bodies

This leaves with a single remaining clang warning for math.ops, and several unrelated
gcc warnings left. null, default and proxy are also detected correctly now.


Compare: https://github.com/parrot/parrot/compare/f6e88c07d7b3...32ac823ed6b4


More information about the parrot-commits mailing list