libraries/v8/hydrogen-instructions.cc
/*
 * Swaps the information in "update" with the one contained in "this".
 * The swapping is important because this method is used while doing a
 * dominator tree traversal, and "update" will retain the old data that
 * will be restored while backtracking.
 */
Swaps the information in "update" with the one contained in "this".
The swapping is important because this method is used while doing a
dominator tree traversal, and "update" will retain the old data that
will be restored while backtracking.
Swaps the information in " update " with the one contained in " this " . The swapping is important because this method is used while doing a dominator tree traversal and " update " will retain the old data that will be restored while backtracking .
void InductionVariableData::UpdateAdditionalLimit(
    InductionVariableLimitUpdate* update) {
  ASSERT(update->updated_variable == this);
  if (update->limit_is_upper) {
    swap(&additional_upper_limit_, &update->limit);
    swap(&additional_upper_limit_is_included_, &update->limit_is_included);
  } else {
    swap(&additional_lower_limit_, &update->limit);
    swap(&additional_lower_limit_is_included_, &update->limit_is_included);
  }
}
void InductionVariableData :: UpdateAdditionalLimit ( InductionVariableLimitUpdate * update ) { ASSERT ( update -> updated_variable == this ) ; if ( update -> limit_is_upper ) { swap ( & additional_upper_limit_ , & update -> limit ) ; swap ( & additional_upper_limit_is_included_ , & update -> limit_is_included ) ; } else { swap ( & additional_lower_limit_ , & update -> limit ) ; swap ( & additional_lower_limit_is_included_ , & update -> limit_is_included ) ; } }
Swaps the information in "update" with the one contained in "this".
Swaps the information in " update " with the one contained in " this " .