Branch: refs/heads/rurban/pcc-gh1080
Home: https://github.com/parrot/parrot
Commit: 875aea7008133c7af64abe6e1a3108b5c9399f60
https://github.com/parrot/parrot/commit/875aea7008133c7af64abe6e1a3108b5c9399f60
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: 1b0e2937039fa4155c324e83000d118d80d6ba83
https://github.com/parrot/parrot/commit/1b0e2937039fa4155c324e83000d118d80d6ba83
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: 54edbee001630b8d0c28e432fe1045da46693086
https://github.com/parrot/parrot/commit/54edbee001630b8d0c28e432fe1045da46693086
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
Compare: https://github.com/parrot/parrot/compare/875aea700813^...54edbee00163_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits