Index: src/crankshaft/hydrogen-load-elimination.cc |
diff --git a/src/crankshaft/hydrogen-load-elimination.cc b/src/crankshaft/hydrogen-load-elimination.cc |
index da8d1864a6d753aeea4ba7789bebff0267b665df..88963fc18b3adc9dc56d6da43efe878c7d9dc6a6 100644 |
--- a/src/crankshaft/hydrogen-load-elimination.cc |
+++ b/src/crankshaft/hydrogen-load-elimination.cc |
@@ -243,7 +243,6 @@ class HLoadEliminationTable : public ZoneObject { |
if (instr->has_transition()) { |
// A transition introduces a new field and alters the map of the object. |
// Since the field in the object is new, it cannot alias existing entries. |
- // TODO(titzer): introduce a constant for the new map and remember it. |
KillFieldInternal(object, FieldOf(JSObject::kMapOffset), NULL); |
} else { |
// Kill non-equivalent may-alias entries. |
@@ -402,7 +401,6 @@ class HLoadEliminationTable : public ZoneObject { |
// Compute the field index for the given in-object offset; -1 if not tracked. |
int FieldOf(int offset) { |
if (offset >= kMaxTrackedFields * kPointerSize) return -1; |
- // TODO(titzer): track misaligned loads in a separate list? |
if ((offset % kPointerSize) != 0) return -1; // Ignore misaligned accesses. |
return offset / kPointerSize; |
} |