These are chat archives for dropbox/pyston

5th
Jul 2015
Travis Hance
@tjhance
Jul 05 2015 23:51
hey in our calling convention, who owns the elements of the Box** args array (all the arguments past the third). Is runtimeCall allowed to modify the contents of the array, or is the caller allowed to rely on the contents being preserved?
Kevin Modzelewski
@kmod
Jul 05 2015 23:52
I don't think it's safe to modify them in general
ex we could pass in a pointer into the tuple storage
Travis Hance
@tjhance
Jul 05 2015 23:52
yeah I thought of doing exactly that but wasn’t sure if it was OK
but mainly I was wondering if I needed to copy the array before modifying it
Kevin Modzelewski
@kmod
Jul 05 2015 23:54
yeah I think for now you can't mutate the passed array