Revision: 9639
Author: [email protected]
Date: Fri Oct 14 06:16:23 2011
Log: Fixed printing of HTypeofIsAndBranch instruction for non-ASCII
type literals.
Review URL: http://codereview.chromium.org/8291004
http://code.google.com/p/v8/source/detail?r=9639
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Fri Oct 14
00:45:18 2011
+++ /branches/bleeding_edge/src/hydrogen-instructions.cc Fri Oct 14
06:16:23 2011
@@ -783,8 +783,7 @@
void HTypeofIsAndBranch::PrintDataTo(StringStream* stream) {
value()->PrintNameTo(stream);
- stream->Add(" == ");
- stream->Add(type_literal_->GetFlatContent().ToAsciiVector());
+ stream->Add(" == %o", *type_literal_);
HControlInstruction::PrintDataTo(stream);
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev