Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: src/lithium-allocator.h

Issue 6355009: Remove unused function AddGapMove from the register allocator. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/lithium-allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698