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

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

Issue 186543002: Refactor lithium operand declaration a little bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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.cc ('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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class HPhi; 44 class HPhi;
45 class HTracer; 45 class HTracer;
46 class HValue; 46 class HValue;
47 class BitVector; 47 class BitVector;
48 class StringStream; 48 class StringStream;
49 49
50 class LArgument; 50 class LArgument;
51 class LPlatformChunk; 51 class LPlatformChunk;
52 class LOperand; 52 class LOperand;
53 class LUnallocated; 53 class LUnallocated;
54 class LConstantOperand;
55 class LGap; 54 class LGap;
56 class LParallelMove; 55 class LParallelMove;
57 class LPointerMap; 56 class LPointerMap;
58 class LStackSlot;
59 class LRegister;
60 57
61 58
62 // This class represents a single point of a LOperand's lifetime. 59 // This class represents a single point of a LOperand's lifetime.
63 // For each lithium instruction there are exactly two lifetime positions: 60 // For each lithium instruction there are exactly two lifetime positions:
64 // the beginning and the end of the instruction. Lifetime positions for 61 // the beginning and the end of the instruction. Lifetime positions for
65 // different lithium instructions are disjoint. 62 // different lithium instructions are disjoint.
66 class LifetimePosition { 63 class LifetimePosition {
67 public: 64 public:
68 // Return the lifetime position that corresponds to the beginning of 65 // Return the lifetime position that corresponds to the beginning of
69 // the instruction with the given index. 66 // the instruction with the given index.
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 LAllocator* allocator_; 649 LAllocator* allocator_;
653 unsigned allocator_zone_start_allocation_size_; 650 unsigned allocator_zone_start_allocation_size_;
654 651
655 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); 652 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase);
656 }; 653 };
657 654
658 655
659 } } // namespace v8::internal 656 } } // namespace v8::internal
660 657
661 #endif // V8_LITHIUM_ALLOCATOR_H_ 658 #endif // V8_LITHIUM_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698