| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 584 |
| 585 // Spill the given life range after position start and up to position end. | 585 // Spill the given life range after position start and up to position end. |
| 586 void SpillBetween(LiveRange* range, | 586 void SpillBetween(LiveRange* range, |
| 587 LifetimePosition start, | 587 LifetimePosition start, |
| 588 LifetimePosition end); | 588 LifetimePosition end); |
| 589 | 589 |
| 590 void SplitAndSpillIntersecting(LiveRange* range); | 590 void SplitAndSpillIntersecting(LiveRange* range); |
| 591 | 591 |
| 592 void Spill(LiveRange* range); | 592 void Spill(LiveRange* range); |
| 593 bool IsBlockBoundary(LifetimePosition pos); | 593 bool IsBlockBoundary(LifetimePosition pos); |
| 594 void AddGapMove(int pos, LiveRange* prev, LiveRange* next); | |
| 595 | 594 |
| 596 // Helper methods for resolving control flow. | 595 // Helper methods for resolving control flow. |
| 597 void ResolveControlFlow(LiveRange* range, | 596 void ResolveControlFlow(LiveRange* range, |
| 598 HBasicBlock* block, | 597 HBasicBlock* block, |
| 599 HBasicBlock* pred); | 598 HBasicBlock* pred); |
| 600 | 599 |
| 601 // Return parallel move that should be used to connect ranges split at the | 600 // Return parallel move that should be used to connect ranges split at the |
| 602 // given position. | 601 // given position. |
| 603 LParallelMove* GetConnectingParallelMove(LifetimePosition pos); | 602 LParallelMove* GetConnectingParallelMove(LifetimePosition pos); |
| 604 | 603 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 | 655 |
| 657 bool has_osr_entry_; | 656 bool has_osr_entry_; |
| 658 | 657 |
| 659 DISALLOW_COPY_AND_ASSIGN(LAllocator); | 658 DISALLOW_COPY_AND_ASSIGN(LAllocator); |
| 660 }; | 659 }; |
| 661 | 660 |
| 662 | 661 |
| 663 } } // namespace v8::internal | 662 } } // namespace v8::internal |
| 664 | 663 |
| 665 #endif // V8_LITHIUM_ALLOCATOR_H_ | 664 #endif // V8_LITHIUM_ALLOCATOR_H_ |
| OLD | NEW |