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

Unified Diff: src/crankshaft/hydrogen-representation-changes.cc

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole issue Created 4 years, 1 month 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
Index: src/crankshaft/hydrogen-representation-changes.cc
diff --git a/src/crankshaft/hydrogen-representation-changes.cc b/src/crankshaft/hydrogen-representation-changes.cc
index 0b7ac2cc1d4bf2858fc42a22d16639415ca33d08..4d74df4952838ae154c42330256857ef3fd5cdcc 100644
--- a/src/crankshaft/hydrogen-representation-changes.cc
+++ b/src/crankshaft/hydrogen-representation-changes.cc
@@ -41,12 +41,6 @@ void HRepresentationChangesPhase::InsertRepresentationChangeForUse(
new_value = new (graph()->zone())
HChange(value, to, is_truncating_to_smi, is_truncating_to_int,
is_truncating_to_number);
- if (!use_value->operand_position(use_index).IsUnknown()) {
- new_value->set_position(use_value->operand_position(use_index));
- } else {
- DCHECK(!FLAG_hydrogen_track_positions ||
- !graph()->info()->IsOptimizing());
- }
}
new_value->InsertBefore(next);

Powered by Google App Engine
This is Rietveld 408576698