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
This commit is contained in:
hpayer@chromium.org 2013-08-01 07:56:36 +00:00
parent e53471dbaa
commit 68271ddc0e

View File

@ -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(")");
}