Changeset 134460 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- Nov 13, 2012, 11:58:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r131088 r134460 49 49 } 50 50 51 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSFunction);52 53 51 const ClassInfo JSFunction::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSFunction) }; 54 52 … … 75 73 function->finishCreation(exec, executable, length, name); 76 74 return function; 75 } 76 77 void JSFunction::destroy(JSCell* cell) 78 { 79 static_cast<JSFunction*>(cell)->JSFunction::~JSFunction(); 77 80 } 78 81
Note:
See TracChangeset
for help on using the changeset viewer.