| Index: src/compiler/register-allocator.h
|
| diff --git a/src/compiler/register-allocator.h b/src/compiler/register-allocator.h
|
| index ff4ddd0c741403528424b3afc66e259f6ff4acae..5c8468cd8fad2d6d08d5c2fb80bd989a90df89e7 100644
|
| --- a/src/compiler/register-allocator.h
|
| +++ b/src/compiler/register-allocator.h
|
| @@ -545,6 +545,8 @@ class TopLevelLiveRange final : public LiveRange {
|
| SpillAtDefinitionList* spills_at_definition() const {
|
| return spills_at_definition_;
|
| }
|
| + void set_last_child(LiveRange* range) { last_child_ = range; }
|
| + LiveRange* last_child() const { return last_child_; }
|
|
|
| private:
|
| typedef BitField<bool, 1, 1> HasSlotUseField;
|
| @@ -552,8 +554,6 @@ class TopLevelLiveRange final : public LiveRange {
|
| typedef BitField<bool, 3, 1> IsNonLoopPhiField;
|
| typedef BitField<SpillType, 4, 2> SpillTypeField;
|
|
|
| - LiveRange* GetLastChild();
|
| -
|
| int vreg_;
|
| int last_child_id_;
|
| TopLevelLiveRange* splintered_from_;
|
| @@ -567,6 +567,8 @@ class TopLevelLiveRange final : public LiveRange {
|
| // just for spill in a single deferred block.
|
| bool spilled_in_deferred_blocks_;
|
| int spill_start_index_;
|
| + LiveRange* last_child_;
|
| + LiveRange* last_insertion_point_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TopLevelLiveRange);
|
| };
|
|
|