-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116189 Reviewed by Sam Weinig. Use a RefCountedArray<int64_t> for data sections. This works out great because RefCountedArray<> knows its own size and because the reference counting makes passing it around very easy (you don't have to stress out about ownership). * ftl/FTLCompile.cpp: (JSC::FTL::mmAllocateDataSection): (JSC::FTL::compile): * ftl/FTLJITCode.cpp: (JSC::FTL::JITCode::addDataSection): * ftl/FTLJITCode.h: (JSC::FTL::JITCode::dataSections): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
708586d9