Revision f230a1cf deps/v8/src/hydrogen-representation-changes.cc

View differences:

deps/v8/src/hydrogen-representation-changes.cc
61 61
  if (new_value == NULL) {
62 62
    new_value = new(graph()->zone()) HChange(
63 63
        value, to, is_truncating_to_smi, is_truncating_to_int);
64
    if (use_value->position() != RelocInfo::kNoPosition) {
65
      new_value->set_position(use_value->position());
66
    } else {
67
      ASSERT(!FLAG_emit_opt_code_positions || !graph()->info()->IsOptimizing());
68
    }
64 69
  }
65 70

  
66 71
  new_value->InsertBefore(next);

Also available in: Unified diff