CodeBlock* codeBlock = static_cast<CodeBlock*>(ownerUID);
if (codeBlock->getJITType() == JITCode::DFGJIT)
type = DFGJIT;
- else if (codeBlock->canCompileWithDFGState() == CodeBlock::CompileWithDFGFalse)
+ else if (codeBlock->canCompileWithDFGState() != DFG::CanCompile)
type = BaselineOnly;
else if (codeBlock->replacement())
type = BaselineOSR;
framePointer = 0;
#else
// This platform is not yet supported!
- ASSERT_NOT_REACHED();
+ RELEASE_ASSERT_NOT_REACHED();
#endif
}
void CodeProfile::report()
{
- dataLog("<CodeProfiling %s:%d>\n", m_file.data(), m_lineNo);
+ dataLogF("<CodeProfiling %s:%d>\n", m_file.data(), m_lineNo);
// How many frames of C-code to print - 0, if not verbose, 1 if verbose, up to 1024 if very verbose.
unsigned recursionLimit = CodeProfiling::beVeryVerbose() ? 1024 : CodeProfiling::beVerbose();
}
// Output the profile tree.
- dataLog("Total samples: %lld\n", static_cast<long long>(profile.childCount()));
+ dataLogF("Total samples: %lld\n", static_cast<long long>(profile.childCount()));
profile.dump();
for (size_t i = 0 ; i < m_children.size(); ++i)
m_children[i]->report();
- dataLog("</CodeProfiling %s:%d>\n", m_file.data(), m_lineNo);
+ dataLogF("</CodeProfiling %s:%d>\n", m_file.data(), m_lineNo);
}
}