Commit 9437b59a authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

HBranch should also print its expected input types.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/247153003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20881 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 376bff24
......@@ -1247,6 +1247,13 @@ bool HBranch::KnownSuccessorBlock(HBasicBlock** block) {
}
void HBranch::PrintDataTo(StringStream* stream) {
HUnaryControlInstruction::PrintDataTo(stream);
stream->Add(" ");
expected_input_types().Print(stream);
}
void HCompareMap::PrintDataTo(StringStream* stream) {
value()->PrintNameTo(stream);
stream->Add(" (%p)", *map().handle());
......
......@@ -1543,6 +1543,8 @@ class HBranch V8_FINAL : public HUnaryControlInstruction {
virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE;
virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
ToBooleanStub::Types expected_input_types() const {
return expected_input_types_;
}
......
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