-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=72337 Reviewed by Darin Adler. Added static finalize functions to the subclasses of ExecutableBase that provide an implementation of clearCodeVirtual, changed all of the clearCodeVirtual methods to non-virtual clearCode method, and had the finalize functions call the corresponding clearCode methods. * runtime/Executable.cpp: (JSC::ExecutableBase::clearCode): (JSC::NativeExecutable::finalize): (JSC::EvalExecutable::finalize): (JSC::EvalExecutable::clearCode): (JSC::ProgramExecutable::finalize): (JSC::ProgramExecutable::clearCode): (JSC::FunctionExecutable::discardCode): (JSC::FunctionExecutable::finalize): (JSC::FunctionExecutable::clearCode): * runtime/Executable.h: (JSC::ExecutableBase::finishCreation): (JSC::NativeExecutable::create): (JSC::EvalExecutable::create): (JSC::ProgramExecutable::create): (JSC::FunctionExecutable::create): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d5399e46