Chromium Code Reviews| Index: src/lithium-allocator.h |
| diff --git a/src/lithium-allocator.h b/src/lithium-allocator.h |
| index 70f3182bef99da6227459765b77d02c443db3159..05478e1241d45f08b5ecb3fcc24eceea7b7055ab 100644 |
| --- a/src/lithium-allocator.h |
| +++ b/src/lithium-allocator.h |
| @@ -536,11 +536,18 @@ class LAllocator BASE_EMBEDDED { |
| // Spill the given life range after position pos. |
| void SpillAfter(LiveRange* range, LifetimePosition pos); |
| - // Spill the given life range after position start and up to position end. |
| + // Spill the given life range after position [start] and up to position [end]. |
| void SpillBetween(LiveRange* range, |
| LifetimePosition start, |
| LifetimePosition end); |
| + // Spill the given life range after position [start] and up to position [end]. |
| + // Range is guaranteed to be spilled at least until position [until]. |
| + void SpillBetweenUntil(LiveRange* range, |
| + LifetimePosition start, |
| + LifetimePosition util, |
|
Sven Panne
2013/04/16 06:52:12
Throw in an 'n'... ;-)
|
| + LifetimePosition end); |
| + |
| void SplitAndSpillIntersecting(LiveRange* range); |
| // If we are trying to spill a range inside the loop try to |
| @@ -625,6 +632,10 @@ class LAllocator BASE_EMBEDDED { |
| // Indicates success or failure during register allocation. |
| bool allocation_ok_; |
| +#ifdef DEBUG |
| + LifetimePosition allocation_finger_; |
| +#endif |
| + |
| DISALLOW_COPY_AND_ASSIGN(LAllocator); |
| }; |