void InlineeFrameRecord::Dump() const
{
    Output::Print(L"%s [#%u.%u] args:", this->functionBody->GetExternalDisplayName(), this->functionBody->GetSourceContextId(), this->functionBody->GetLocalFunctionId());
    for (uint i = 0; i < argCount; i++)
    {
        DumpOffset(argOffsets[i]);
        if (floatArgs.Test(i))
        {
            Output::Print(L"f ");
        }
        else if (losslessInt32Args.Test(i))
        {
            Output::Print(L"i ");
        }
        Output::Print(L", ");
    }
    this->frameInfo->Dump();

    Output::Print(L"func: ");
    DumpOffset(functionOffset);

    if (this->parent)
    {
        parent->Dump();
    }
}
 void AsmJsByteCodeDumper::DumpBrInt2(OpCodeAsmJs op, const unaligned T * data, FunctionBody * dumpFunction, ByteCodeReader& reader)
 {
     DumpOffset(data->RelativeJumpOffset, reader);
     DumpIntReg(data->I1);
     DumpIntReg(data->I2);
 }
 void AsmJsByteCodeDumper::DumpAsmBr(OpCodeAsmJs op, const unaligned OpLayoutAsmBr* data, FunctionBody * dumpFunction, ByteCodeReader& reader)
 {
     DumpOffset(data->RelativeJumpOffset, reader);
 }
Пример #4
0
void                GCDump::DumpOffsetEx(unsigned o)
{
    if (fDumpCodeOffsets) 
        DumpOffset(o);
}