Changes between Version 4 and Version 5 of CallingConventionsOverview

Show
Ignore:
Timestamp:
09/26/09 13:34:15 (12 years ago)
Author:
allison
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CallingConventionsOverview

    v4 v5  
    44 
    55The following opcodes will be kept, but their implementation changed. 
     6{{{ 
    67src/ops/core.ops: 
    78  set_args 
     
    910  set_returns 
    1011  get_results 
     12}}} 
    1113 
    1214The following functions are deprecated and will be removed, as well as any functions only called by these functions. 
     15{{{ 
    1316src/call/pcc.c: 
    1417  parrot_pass_args 
     
    3740  Parrot_run_meth_fromc_arglist_retf 
    3841 
    39 src/extend.c (these functions are part of the defined public API, so will be modified to be backward compatible for now, and removed after 2.0): 
     42src/extend.c (these functions are part of the defined public API, so will  
     43be modified to be backward compatible for now, and removed after 2.0): 
    4044  Parrot_call_sub 
    4145  Parrot_call_sub_ret_int 
     
    5054  set_nci_S 
    5155  set_nci_P 
     56}}} 
    5257 
    5358The following code generators have been updated to produce new-style argument retrieval, instead of old-style argument retreival: 
    54  
     59{{{ 
    5560  tools/build/nativecall.pl 
    5661  lib/Parrot/Pmc2c/PCCMETHOD.pm 
    57  
     62}}} 
    5863 
    5964The following functions are added and act as replacements for the deprecated functions. 
    60  
     65{{{ 
    6166src/call/pcc.c: 
    6267  Parrot_pcc_invoke_sub_from_c_args 
     
    6873  Parrot_pcc_fill_returns_from_op 
    6974  Parrot_pcc_fill_returns_from_c_args 
    70  
     75}}} 
    7176 
    7277The following static functions are added, and support the new argument passing behavior: 
    73  
     78{{{ 
    7479src/call/pcc.c: 
    7580  dissect_aggregate_arg 
     
    8287  Parrot_pcc_set_call_sig_raw_args 
    8388  Parrot_pcc_set_call_sig_raw_returns 
    84  
     89}}} 
    8590 
    8691See also the earlier wishlist/tasklist CallingConventionsTasklist which mentions some of the motivations and reasoning for these changes.