Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: src/compiler/osr.cc

Issue 2762143002: [turbofan] Remove leftover Type artifacts from OSR. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/osr.cc
diff --git a/src/compiler/osr.cc b/src/compiler/osr.cc
index 687424b66f9d13d3d6201d84f645393f812f2000..ebf2c421b56e858cd2b1dc9865eefca853ddac16 100644
--- a/src/compiler/osr.cc
+++ b/src/compiler/osr.cc
@@ -107,9 +107,6 @@ void PeelOuterLoopsForOsr(Graph* graph, CommonOperatorBuilder* common,
tmp_inputs.push_back(mapping->at(input->id()));
}
copy = graph->NewNode(orig->op(), orig->InputCount(), &tmp_inputs[0]);
- if (NodeProperties::IsTyped(orig)) {
- NodeProperties::SetType(copy, NodeProperties::GetType(orig));
- }
mapping->at(orig->id()) = copy;
TRACE(" copy #%d:%s -> #%d\n", orig->id(), orig->op()->mnemonic(),
copy->id());
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698