There are a bunch of places where we pass around V8ClassIndex::V8WrapperType parameters where we could (and probably should) be passing around other things that don't require a later lookup. Usually this means passing a v8::Handle<v8::FunctionTemplate> instead.
Created attachment 48430 [details] Remove V8ClassIndex from configureTemplate() and lookupDOMWrapper()
Comment on attachment 48430 [details] Remove V8ClassIndex from configureTemplate() and lookupDOMWrapper() Great. I've never liked V8ClassIndex. Seemed so wrong to have a global list of classes like that.
Comment on attachment 48430 [details] Remove V8ClassIndex from configureTemplate() and lookupDOMWrapper() http://trac.webkit.org/changeset/54629
I think most of the unnecessary references to V8ClassIndex have been removed, and the rest are feasible to take care of in the patch that deletes V8Index.h.