| Index: src/crankshaft/hydrogen-instructions.cc
|
| diff --git a/src/crankshaft/hydrogen-instructions.cc b/src/crankshaft/hydrogen-instructions.cc
|
| index 8af0c62e6d475cd5e8cb1061c09671d3de35998f..b2eda347dae0a1e8405461e49bf615a859b2bcdd 100644
|
| --- a/src/crankshaft/hydrogen-instructions.cc
|
| +++ b/src/crankshaft/hydrogen-instructions.cc
|
| @@ -765,7 +765,6 @@ void HInstruction::Verify() {
|
|
|
|
|
| bool HInstruction::CanDeoptimize() {
|
| - // TODO(titzer): make this a virtual method?
|
| switch (opcode()) {
|
| case HValue::kAbnormalExit:
|
| case HValue::kAccessArgumentsAt:
|
| @@ -2731,7 +2730,6 @@ HConstant::HConstant(Handle<Object> object, Representation r)
|
| bit_field_, has_int32_value && Smi::IsValid(int32_value_));
|
| double_value_ = n;
|
| bit_field_ = HasDoubleValueField::update(bit_field_, true);
|
| - // TODO(titzer): if this heap number is new space, tenure a new one.
|
| }
|
|
|
| Initialize(r);
|
| @@ -2904,7 +2902,6 @@ bool HConstant::EmitAtUses() {
|
| DCHECK(IsLinked());
|
| if (block()->graph()->has_osr() &&
|
| block()->graph()->IsStandardConstant(this)) {
|
| - // TODO(titzer): this seems like a hack that should be fixed by custom OSR.
|
| return true;
|
| }
|
| if (HasNoUses()) return true;
|
|
|