Commit 43577d65 authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[turbofan] Fix VectorSlotPair printer

Bug: v8:7127
Change-Id: I9081710445bf44e1af18e8f254f373c5736792a5
Reviewed-on: https://chromium-review.googlesource.com/832477Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50189}
parent 95df7aa6
...@@ -26,8 +26,7 @@ bool operator!=(VectorSlotPair const& lhs, VectorSlotPair const& rhs) { ...@@ -26,8 +26,7 @@ bool operator!=(VectorSlotPair const& lhs, VectorSlotPair const& rhs) {
std::ostream& operator<<(std::ostream& os, const VectorSlotPair& pair) { std::ostream& operator<<(std::ostream& os, const VectorSlotPair& pair) {
if (pair.IsValid()) { if (pair.IsValid()) {
return os << "VectorSlotPair(" << pair.vector().address() << pair.slot() return os << "VectorSlotPair(" << pair.slot() << ")";
<< ")";
} }
return os << "VectorSlotPair(INVALID)"; return os << "VectorSlotPair(INVALID)";
} }
......
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