Commit cfd752af authored by Benedikt Meurer's avatar Benedikt Meurer Committed by Commit Bot

[turbofan] Fix --trace-turbo-load-elimination.

The LoadElimination must be able to print Maps, so we need to allow
handle dereferencing here.

Change-Id: Id39a6db5a4f40ec6212404b3aa30a36fdd1ba57e
Reviewed-on: https://chromium-review.googlesource.com/1188127
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55374}
parent 280361d2
......@@ -445,6 +445,7 @@ LoadElimination::AbstractMaps const* LoadElimination::AbstractMaps::Extend(
}
void LoadElimination::AbstractMaps::Print() const {
AllowHandleDereference allow_handle_dereference;
StdoutStream os;
for (auto pair : info_for_node_) {
os << " #" << pair.first->id() << ":" << pair.first->op()->mnemonic()
......
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