From: mstarzinger@chromium.org Date: Fri, 12 Apr 2013 07:59:13 +0000 (+0000) Subject: Reduce verbosity of hydrogen instructions with OSEs. X-Git-Tag: upstream/4.7.83~14607 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41f032f4d844fc812108b0b1a93254eed9b41ce8;p=platform%2Fupstream%2Fv8.git Reduce verbosity of hydrogen instructions with OSEs. R=hpayer@chromium.org Review URL: https://codereview.chromium.org/14091004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14240 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc index 54889f0..36d1e11 100644 --- a/src/hydrogen-instructions.cc +++ b/src/hydrogen-instructions.cc @@ -802,13 +802,13 @@ void HValue::ComputeInitialRange(Zone* zone) { void HInstruction::PrintTo(StringStream* stream) { PrintMnemonicTo(stream); - const char* side_effects = - CheckFlag(HValue::kHasNoObservableSideEffects) ? "-" : "+"; - stream->Add("ose%s ", side_effects); PrintDataTo(stream); PrintRangeTo(stream); PrintChangesTo(stream); PrintTypeTo(stream); + if (CheckFlag(HValue::kHasNoObservableSideEffects)) { + stream->Add(" [noOSE]"); + } }