Include more information when printing phi nodes.

Still a bit cryptic, but people interested in phi nodes should know what they're doing... ;-)
Review URL: http://codereview.chromium.org/7824004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9110 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 00c11538
...@@ -1018,11 +1018,14 @@ void HPhi::PrintTo(StringStream* stream) { ...@@ -1018,11 +1018,14 @@ void HPhi::PrintTo(StringStream* stream) {
value->PrintNameTo(stream); value->PrintNameTo(stream);
stream->Add(" "); stream->Add(" ");
} }
stream->Add(" uses%d_%di_%dd_%dt]", stream->Add(" uses%d_%di_%dd_%dt",
UseCount(), UseCount(),
int32_non_phi_uses() + int32_indirect_uses(), int32_non_phi_uses() + int32_indirect_uses(),
double_non_phi_uses() + double_indirect_uses(), double_non_phi_uses() + double_indirect_uses(),
tagged_non_phi_uses() + tagged_indirect_uses()); tagged_non_phi_uses() + tagged_indirect_uses());
stream->Add("%s%s]",
is_live() ? "_live" : "",
IsConvertibleToInteger() ? "" : "_ncti");
} }
......
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