Move invocation argument encoding out to a separate function
Created attachment 264884 [details] Patch
Committed r192081: <http://trac.webkit.org/changeset/192081>