Apply the UNLIKELY macro to some unlikely things.
https://bugs.webkit.org/show_bug.cgi?id=175440
<rdar://problem/33834767>
Reviewed by Yusuke Suzuki.
Source/JavaScriptCore:
(JSC::CodeBlock::~CodeBlock):
(JSC::CodeBlock::jettison):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleCall):
(JSC::DFG::ByteCodeParser::handleVarargsCall):
(JSC::DFG::ByteCodeParser::handleGetById):
(JSC::DFG::ByteCodeParser::handlePutById):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::parseCodeBlock):
(JSC::DFG::JITCompiler::JITCompiler):
(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):
(JSC::DFG::JITCompiler::disassemble):
(JSC::DFG::JITFinalizer::finalizeCommon):
(JSC::DFG::OSRExit::compileOSRExit):
(JSC::DFG::Plan::Plan):
(JSC::FTL::JITFinalizer::finalizeCommon):
(JSC::FTL::link):
- ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::compileWithoutLinking):
(JSC::JIT::link):
- runtime/ScriptExecutable.cpp:
(JSC::ScriptExecutable::installCode):
(JSC::VM::VM):
Source/WebKit:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::getBytecodeProfile):