[parrot/parrot] 476dd4: [pmc2c] Faster CallContext ATTR accessors + non-st...

GitHub noreply at github.com
Tue Aug 5 19:15:26 UTC 2014


  Branch: refs/heads/pcc-gh1083
  Home:   https://github.com/parrot/parrot
  Commit: 476dd48f80ef3593a8760f91e35a2915b2cb43f8
      https://github.com/parrot/parrot/commit/476dd48f80ef3593a8760f91e35a2915b2cb43f8
  Author: ZYROz <zyroz at users.noreply.github.com>
  Date:   2014-08-05 (Tue, 05 Aug 2014)

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

  Log Message:
  -----------
  [pmc2c] Faster CallContext ATTR accessors + non-static for GH #1083

Omit the obj check in the CallContext ATTR accessors.

Put CallContext non-static decl into .h as they are not static anymore,
so that we can call them now directly internally in src/call/*.c
to avoid VTABLE redirection for those.

work together with Reini Urban


  Commit: 844ffaa100a9df1481247bc2a4011e0f39e28490
      https://github.com/parrot/parrot/commit/844ffaa100a9df1481247bc2a4011e0f39e28490
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-08-05 (Tue, 05 Aug 2014)

  Changed paths:
    M src/call/args.c
    M src/call/context.c
    M src/call/pcc.c

  Log Message:
  -----------
  [pcc] use the direct CallContext methods GH #1083

and do not use the CallContext vtable methods anymore.
also inline one Continuation_set_pointer call.

all tests still passing, 2.98% faster.


Compare: https://github.com/parrot/parrot/compare/db71836a84f2...844ffaa100a9


More information about the parrot-commits mailing list