Commit 13565ee2 authored by Tobias Tebbi's avatar Tobias Tebbi Committed by Commit Bot

[turbofan] escape analysis: remove TypeGuard renamings of dematerialized...

[turbofan] escape analysis: remove TypeGuard renamings of dematerialized allocations from the effect chain

Change-Id: Ie7b43feda381647523cb8cc3e7965823d3006063
Reviewed-on: https://chromium-review.googlesource.com/1188140Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55386}
parent 5e5d5df4
...@@ -99,7 +99,8 @@ Reduction EscapeAnalysisReducer::Reduce(Node* node) { ...@@ -99,7 +99,8 @@ Reduction EscapeAnalysisReducer::Reduce(Node* node) {
} }
switch (node->opcode()) { switch (node->opcode()) {
case IrOpcode::kAllocate: { case IrOpcode::kAllocate:
case IrOpcode::kTypeGuard: {
const VirtualObject* vobject = analysis_result().GetVirtualObject(node); const VirtualObject* vobject = analysis_result().GetVirtualObject(node);
if (vobject && !vobject->HasEscaped()) { if (vobject && !vobject->HasEscaped()) {
RelaxEffectsAndControls(node); RelaxEffectsAndControls(node);
......
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