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

Side by Side Diff: src/crankshaft/x64/lithium-x64.h

Issue 2452403003: Changed statement ZoneList to a ZoneChunkList
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_
7 7
8 #include "src/crankshaft/hydrogen.h" 8 #include "src/crankshaft/hydrogen.h"
9 #include "src/crankshaft/lithium.h" 9 #include "src/crankshaft/lithium.h"
10 #include "src/crankshaft/lithium-allocator.h" 10 #include "src/crankshaft/lithium-allocator.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 DCHECK(instr->Is##type()); \ 151 DCHECK(instr->Is##type()); \
152 return reinterpret_cast<L##type*>(instr); \ 152 return reinterpret_cast<L##type*>(instr); \
153 } 153 }
154 154
155 155
156 #define DECLARE_HYDROGEN_ACCESSOR(type) \ 156 #define DECLARE_HYDROGEN_ACCESSOR(type) \
157 H##type* hydrogen() const { \ 157 H##type* hydrogen() const { \
158 return H##type::cast(hydrogen_value()); \ 158 return H##type::cast(hydrogen_value()); \
159 } 159 }
160 160
161
162 class LInstruction : public ZoneObject { 161 class LInstruction : public ZoneObject {
163 public: 162 public:
164 LInstruction() 163 LInstruction()
165 : environment_(NULL), 164 : environment_(NULL),
166 hydrogen_value_(NULL), 165 hydrogen_value_(NULL),
167 bit_field_(IsCallBits::encode(false)) { 166 bit_field_(IsCallBits::encode(false)) {
168 } 167 }
169 168
170 virtual ~LInstruction() {} 169 virtual ~LInstruction() {}
171 170
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2488 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2490 }; 2489 };
2491 2490
2492 #undef DECLARE_HYDROGEN_ACCESSOR 2491 #undef DECLARE_HYDROGEN_ACCESSOR
2493 #undef DECLARE_CONCRETE_INSTRUCTION 2492 #undef DECLARE_CONCRETE_INSTRUCTION
2494 2493
2495 } // namespace internal 2494 } // namespace internal
2496 } // namespace v8 2495 } // namespace v8
2497 2496
2498 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 2497 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698