Skip to content
  • Giovanni Campagna's avatar
    FIXME arg-cache: make actual use of the argument cache · b49cfb54
    Giovanni Campagna authored and Philip Chimento's avatar Philip Chimento committed
    Move handling of very special arguments (arrays, callback, caller
    allocates) to the argcache virtual functions, and clean up
    function invocations.
    We now have three straight loops: marshal_in, marshal_out and
    release. Some pointer arithmetics is introduced to ensure that
    all indexes line up correctly.
    
    FIXME: js_arg_pos can overrun js_out_argc sometimes when marshalling out
    
    (Philip Chimento: rebased and fixed coding style.)
    b49cfb54