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

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

Issue 18022002: Move phase_zone from CompilationInfo to CompilationPhase. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « src/lithium.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 LifetimePosition allocation_finger_; 641 LifetimePosition allocation_finger_;
642 #endif 642 #endif
643 643
644 DISALLOW_COPY_AND_ASSIGN(LAllocator); 644 DISALLOW_COPY_AND_ASSIGN(LAllocator);
645 }; 645 };
646 646
647 647
648 class LAllocatorPhase : public CompilationPhase { 648 class LAllocatorPhase : public CompilationPhase {
649 public: 649 public:
650 LAllocatorPhase(const char* name, LAllocator* allocator) 650 LAllocatorPhase(const char* name, LAllocator* allocator)
651 : CompilationPhase(name, allocator->isolate(), allocator->zone()), 651 : CompilationPhase(name, allocator->graph()->info()),
652 allocator_(allocator) { } 652 allocator_(allocator) { }
653 ~LAllocatorPhase(); 653 ~LAllocatorPhase();
654 654
655 private: 655 private:
656 LAllocator* allocator_; 656 LAllocator* allocator_;
657 657
658 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); 658 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase);
659 }; 659 };
660 660
661 661
662 } } // namespace v8::internal 662 } } // namespace v8::internal
663 663
664 #endif // V8_LITHIUM_ALLOCATOR_H_ 664 #endif // V8_LITHIUM_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/lithium.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698