Reviewers: Yang,
Description:
Fixed printing of HTypeofIsAndBranch instruction for non-ASCII type
literals.
Please review this at http://codereview.chromium.org/8291004/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/hydrogen-instructions.cc
Index: src/hydrogen-instructions.cc
===================================================================
--- src/hydrogen-instructions.cc (revision 9638)
+++ src/hydrogen-instructions.cc (working copy)
@@ -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