[JSC] Thread VM& to JSCell::methodTable(VM&)
Created attachment 344752 [details] Patch
Created attachment 344753 [details] Patch
Created attachment 344756 [details] Patch
Comment on attachment 344756 [details] Patch nit: in all the functions, can you put VM& as the first argument instead of the last? Thanks.
(In reply to Mark Lam from comment #4) > Comment on attachment 344756 [details] > Patch > > nit: in all the functions, can you put VM& as the first argument instead of > the last? Thanks. These functions are a method in ClassInfo's MethodTable. So the first argument is used for the `thisObject` cell. In our convention, we define arguments in the following order for MethodTable's method. JSCell* thisObject, ExecState*, VM&, arguments... So, in this case, I think `JSCell*, VM&` order is OK.
Committed r233765: <https://trac.webkit.org/changeset/233765>
<rdar://problem/42110538>