Print whether a HCheckPrototypeMaps is omitted.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2013-03-05 14:11:56 +00:00
parent 0b9e5d93b0
commit df0e676d2f

View File

@ -1412,8 +1412,9 @@ void HCheckInstanceType::PrintDataTo(StringStream* stream) {
void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) {
stream->Add("[receiver_prototype=%p,holder=%p]",
*prototypes_.first(), *prototypes_.last());
stream->Add("[receiver_prototype=%p,holder=%p]%s",
*prototypes_.first(), *prototypes_.last(),
CanOmitPrototypeChecks() ? " (omitted)" : "");
}