示例#1
0
Callee::Callee(Entrypoint&& entrypoint)
    : m_entrypoint(WTFMove(entrypoint))
{
    registerCode(m_entrypoint.compilation->codeRef().executableMemory()->start().untaggedPtr(), m_entrypoint.compilation->codeRef().executableMemory()->end().untaggedPtr());
}
示例#2
0
Callee::Callee(Entrypoint&& entrypoint, size_t index, std::pair<const Name*, RefPtr<NameSection>>&& name)
    : m_entrypoint(WTFMove(entrypoint))
    , m_indexOrName(index, WTFMove(name))
{
    registerCode(m_entrypoint.compilation->codeRef().executableMemory()->start().untaggedPtr(), m_entrypoint.compilation->codeRef().executableMemory()->end().untaggedPtr());
}
示例#3
0
Callee::Callee(Entrypoint&& entrypoint, size_t index, const Name* name)
    : m_entrypoint(WTFMove(entrypoint))
    , m_indexOrName(index, name)
{
    registerCode(m_entrypoint.compilation->codeRef().executableMemory()->start(), m_entrypoint.compilation->codeRef().executableMemory()->end());
}