[parrot/parrot] 7d30fe: Add new Parrot_Signature struct.

GitHub noreply at github.com
Mon Mar 26 13:40:38 UTC 2012


  Branch: refs/heads/pcc_reorder
  Home:   https://github.com/parrot/parrot
  Commit: 7d30fefd5924c59821571d3dacbc2d0e0cabf4b3
      https://github.com/parrot/parrot/commit/7d30fefd5924c59821571d3dacbc2d0e0cabf4b3
  Author: Vasily Chekalkin <bacek at bacek.com>
  Date:   2012-03-26 (Mon, 26 Mar 2012)

  Changed paths:
    M config/gen/makefiles/root.in
  A include/parrot/signature.h
  A src/call/signature.c

  Log Message:
  -----------
  Add new Parrot_Signature struct.

Signature will hold parameters for PCC call. This allows us:
1. Encapsulate handling of signatures with proper functions instead of
tight VTABLE interface.
2. Move signature between different CallContexts.
3. Properly implement allocation of CallContext on callee side. Which is
free performance boost for tailcalls due reduced GC pressure.
4. Split Singature using VTABLE-like interface for OpSingature and
CSignature. Which should give us some performance boost with avoiding
unnessesary marshalling.





More information about the parrot-commits mailing list