-
fpizlo@apple.com authored
stream without copying https://bugs.webkit.org/show_bug.cgi?id=71978 Reviewed by Oliver Hunt. This refactors CodeBlock::m_instructions to be a Vector boxed in a ref-counted object, but otherwise does not take advantage of this. This is performance neutral. * bytecode/CodeBlock.cpp: (JSC::CodeBlock::printStructure): (JSC::CodeBlock::printStructures): (JSC::CodeBlock::dump): (JSC::CodeBlock::CodeBlock): (JSC::CodeBlock::visitAggregate): (JSC::CodeBlock::shrinkToFit): * bytecode/CodeBlock.h: (JSC::CodeBlock::hasInstructions): (JSC::CodeBlock::numberOfInstructions): (JSC::CodeBlock::instructions): * jit/JIT.cpp: (JSC::JIT::JIT): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9ac73f1f