Revision f230a1cf deps/v8/src/hydrogen-alias-analysis.h

View differences:

deps/v8/src/hydrogen-alias-analysis.h
88 88
  inline bool NoAlias(HValue* a, HValue* b) {
89 89
    return Query(a, b) == kNoAlias;
90 90
  }
91

  
92
  // Returns the actual value of an instruction. In the case of a chain
93
  // of informative definitions, return the root of the chain.
94
  HValue* ActualValue(HValue* obj) {
95
    while (obj->IsInformativeDefinition()) {  // Walk a chain of idefs.
96
      obj = obj->RedefinedOperand();
97
    }
98
    return obj;
99
  }
100 91
};
101 92

  
102 93

  

Also available in: Unified diff