Created attachment 570656 [details] [diff] [review]
Comment on attachment 570656 [details] [diff] [review]
Don't you also need to remove code that casts aClassObject before using it?
Not in this patch, at least. aClassObject is only passed to nsIScriptContext::CompileFunction, which takes void* until bug 698388.