Improved printing of HForceRepresentation.
Review URL: https://codereview.chromium.org/11745011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
04ccb975f4
commit
252fbddc67
@ -1019,6 +1019,12 @@ void HTypeof::PrintDataTo(StringStream* stream) {
|
||||
}
|
||||
|
||||
|
||||
void HForceRepresentation::PrintDataTo(StringStream* stream) {
|
||||
stream->Add("%s ", representation().Mnemonic());
|
||||
value()->PrintNameTo(stream);
|
||||
}
|
||||
|
||||
|
||||
void HChange::PrintDataTo(StringStream* stream) {
|
||||
HUnaryOperation::PrintDataTo(stream);
|
||||
stream->Add(" %s to %s", from().Mnemonic(), to().Mnemonic());
|
||||
|
@ -1262,6 +1262,8 @@ class HForceRepresentation: public HTemplateInstruction<1> {
|
||||
return representation(); // Same as the output representation.
|
||||
}
|
||||
|
||||
virtual void PrintDataTo(StringStream* stream);
|
||||
|
||||
DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation)
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user