Improved printing of HBitwise instructions.

Review URL: https://chromiumcodereview.appspot.com/9972007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11330 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 875a57e6
...@@ -2272,6 +2272,13 @@ void HIn::PrintDataTo(StringStream* stream) { ...@@ -2272,6 +2272,13 @@ void HIn::PrintDataTo(StringStream* stream) {
} }
void HBitwise::PrintDataTo(StringStream* stream) {
stream->Add(Token::Name(op_));
stream->Add(" ");
HBitwiseBinaryOperation::PrintDataTo(stream);
}
Representation HPhi::InferredRepresentation() { Representation HPhi::InferredRepresentation() {
bool double_occurred = false; bool double_occurred = false;
bool int32_occurred = false; bool int32_occurred = false;
......
...@@ -3353,6 +3353,8 @@ class HBitwise: public HBitwiseBinaryOperation { ...@@ -3353,6 +3353,8 @@ class HBitwise: public HBitwiseBinaryOperation {
HValue* left, HValue* left,
HValue* right); HValue* right);
virtual void PrintDataTo(StringStream* stream);
DECLARE_CONCRETE_INSTRUCTION(Bitwise) DECLARE_CONCRETE_INSTRUCTION(Bitwise)
protected: protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment