Branch: refs/heads/master
Home: https://github.com/parrot/parrot
Commit: 497307e7bd81b7bfd35ef5f1a4ac722ce41c43c0
https://github.com/parrot/parrot/commit/497307e7bd81b7bfd35ef5f1a4ac722ce41c43c0
Author: ZYROz <[email protected]>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M lib/Parrot/Pmc2c/PCCMETHOD.pm
Log Message:
-----------
[pmc2c] compile-time expand pcc params and set the return result #1080
optimize pmc2c to emit static fill_params from compile-time known
params into the _call_object args array, ditto for the return values.
Commit: d4c8f95989204d1b21755de0391d18bafc6350cc
https://github.com/parrot/parrot/commit/d4c8f95989204d1b21755de0391d18bafc6350cc
Author: Reini Urban <[email protected]>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M lib/Parrot/Pmc2c/PCCMETHOD.pm
M src/call/args.c
M src/pmc/filehandle.pmc
Log Message:
-----------
[pmc2c] fixup Chirags code a bit
fallback to old slow code with unknown arg adverbs.
fix indices and whitespace and more codingstd with Chirags code.
add helper function convert_pcc_sigtype for args and return sigs.
still fails t/pmc/class.t for missing method arity checks
Commit: 2cc33469b30648ffd141c69c421853e82ddebdaa
https://github.com/parrot/parrot/commit/2cc33469b30648ffd141c69c421853e82ddebdaa
Author: Reini Urban <[email protected]>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M lib/Parrot/Pmc2c/PCCMETHOD.pm
Log Message:
-----------
[pmc2c] add method arity check - GH #1080
on method calls without optional args do one
arity check, with the new exception message:
"wrong number of arguments: %d passed, %d expected"
Matching the old exception message too many/few would require
two run-time checks, which costs ~2% in parrot-bench.
fixes t/pmc/class.t
Commit: 65f5defb326dd9982700dd8a89aa54acd45cccc6
https://github.com/parrot/parrot/commit/65f5defb326dd9982700dd8a89aa54acd45cccc6
Author: Reini Urban <[email protected]>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M lib/Parrot/Pmc2c/PCCMETHOD.pm
Log Message:
-----------
[pmc2c] fix optional arg handling for methods GH #1080
handle now also :optional and :opt_flag at compile-time,
not at run-time. (o and p arg adverbs)
Unprovided args get initialized with empty defaults.
With optional args, fall back to the two-fold old too many
and too few arguments checks, for backward compat. (about 2% slower)
Commit: 000a13293992f43dfb71fb4fc59792e4ab0a9635
https://github.com/parrot/parrot/commit/000a13293992f43dfb71fb4fc59792e4ab0a9635
Author: Reini Urban <[email protected]>
Date: 2014-07-01 (Tue, 01 Jul 2014)
Changed paths:
M lib/Parrot/Pmc2c/PCCMETHOD.pm
M src/call/args.c
M src/pmc/filehandle.pmc
Log Message:
-----------
Merge branch 'rurban/pcc-opt-gh1080'
Second part of GSOC, but surprisingly with only minimal performance
impact on normal code (~0.5%). About 4-10% faster per method call.
Compare: https://github.com/parrot/parrot/compare/9e1517959b71...000a13293992_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits