| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 2855e8a1409dc0063eab06e52b21a6e755aa6219..775a1333a99a0beadba1ee7db9428696f5bdde71 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -4030,6 +4030,14 @@ bool HValue::HasNonSmiUse() {
|
| }
|
|
|
|
|
| +bool HValue::UsedBy(HValue* value) {
|
| + for (HUseIterator it(uses()); !it.Done(); it.Advance()) {
|
| + if (it.value() == value) return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| +
|
| // Node-specific verification code is only included in debug mode.
|
| #ifdef DEBUG
|
|
|
|
|