| Index: src/lithium-allocator.h
|
| diff --git a/src/lithium-allocator.h b/src/lithium-allocator.h
|
| index 0cd5ae0e8e803c5fed7d256c357a91fa00a58413..0300212f3103bdc23f8f2372e8a51da3a86ad903 100644
|
| --- a/src/lithium-allocator.h
|
| +++ b/src/lithium-allocator.h
|
| @@ -328,10 +328,10 @@ class LiveRange: public ZoneObject {
|
| return assigned_register_ != kInvalidAssignment;
|
| }
|
| bool IsSpilled() const { return spilled_; }
|
| - UsePosition* FirstPosWithHint() const;
|
|
|
| LOperand* FirstHint() const {
|
| - UsePosition* pos = FirstPosWithHint();
|
| + UsePosition* pos = first_pos_;
|
| + while (pos != NULL && !pos->HasHint()) pos = pos->next();
|
| if (pos != NULL) return pos->hint();
|
| return NULL;
|
| }
|
|
|