Commit 68271ddc authored by hpayer@chromium.org's avatar hpayer@chromium.org

Print HAllocate flags in --trace-hydrogen.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/21374004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e53471db
......@@ -3737,7 +3737,13 @@ void HAllocate::HandleSideEffectDominator(GVNFlag side_effect,
void HAllocate::PrintDataTo(StringStream* stream) {
size()->PrintNameTo(stream);
if (!IsNewSpaceAllocation()) stream->Add(" (pretenure)");
stream->Add(" (");
if (IsNewSpaceAllocation()) stream->Add("N");
if (IsOldPointerSpaceAllocation()) stream->Add("P");
if (IsOldDataSpaceAllocation()) stream->Add("D");
if (MustAllocateDoubleAligned()) stream->Add("A");
if (MustPrefillWithFiller()) stream->Add("F");
stream->Add(")");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment