Commit 09ca8f76 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

Revert "[turbofan] Improve UpdateType debug output."

This reverts commit d3d13e4b.

Reason for revert: Makes an incorrect assumption.

Original change's description:
> [turbofan] Improve UpdateType debug output.
> 
> R=​jarin@chromium.org
> 
> Bug: chromium:906567
> Change-Id: Ic99c7a240ecb37c7b032b388f604d3f256d335b3
> Reviewed-on: https://chromium-review.googlesource.com/c/1392196
> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
> Commit-Queue: Georg Neis <neis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#58497}

TBR=jarin@chromium.org,neis@chromium.org

Change-Id: I1bfc6d38f1c6cb67ef403d8be84070aa2c0effb6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:906567
Reviewed-on: https://chromium-review.googlesource.com/c/1394546Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58519}
parent 4339f5f1
......@@ -371,10 +371,10 @@ class Typer::Visitor : public Reducer {
if (V8_UNLIKELY(node->opcode() == IrOpcode::kNumberAdd)) {
for (int i = 0; i < 2; ++i) {
Node* input = NodeProperties::GetValueInput(node, i);
CHECK(NodeProperties::IsTyped(input));
remembered_types_[{node, i}] = NodeProperties::GetType(input);
if (NodeProperties::IsTyped(input)) {
remembered_types_[{node, i}] = NodeProperties::GetType(input);
}
}
remembered_types_[{node, 2}] = current;
}
NodeProperties::SetType(node, current);
......
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