Revision: 20881
Author:   [email protected]
Date:     Tue Apr 22 11:00:27 2014 UTC
Log:      HBranch should also print its expected input types.

[email protected]

Review URL: https://codereview.chromium.org/247153003
http://code.google.com/p/v8/source/detail?r=20881

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc
 /branches/bleeding_edge/src/hydrogen-instructions.h

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Tue Apr 22 10:49:28 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Tue Apr 22 11:00:27 2014 UTC
@@ -1245,6 +1245,13 @@
   *block = NULL;
   return false;
 }
+
+
+void HBranch::PrintDataTo(StringStream* stream) {
+  HUnaryControlInstruction::PrintDataTo(stream);
+  stream->Add(" ");
+  expected_input_types().Print(stream);
+}


 void HCompareMap::PrintDataTo(StringStream* stream) {
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Tue Apr 22 10:49:28 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.h Tue Apr 22 11:00:27 2014 UTC
@@ -1543,6 +1543,8 @@

   virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;

+  virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
+
   ToBooleanStub::Types expected_input_types() const {
     return expected_input_types_;
   }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to