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

Side by Side Diff: src/crankshaft/ppc/lithium-ppc.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/ppc/lithium-codegen-ppc.h ('k') | src/crankshaft/typing.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 const char* Mnemonic() const final { return mnemonic; } \ 152 const char* Mnemonic() const final { return mnemonic; } \
153 static L##type* cast(LInstruction* instr) { \ 153 static L##type* cast(LInstruction* instr) { \
154 DCHECK(instr->Is##type()); \ 154 DCHECK(instr->Is##type()); \
155 return reinterpret_cast<L##type*>(instr); \ 155 return reinterpret_cast<L##type*>(instr); \
156 } 156 }
157 157
158 158
159 #define DECLARE_HYDROGEN_ACCESSOR(type) \ 159 #define DECLARE_HYDROGEN_ACCESSOR(type) \
160 H##type* hydrogen() const { return H##type::cast(hydrogen_value()); } 160 H##type* hydrogen() const { return H##type::cast(hydrogen_value()); }
161 161
162
163 class LInstruction : public ZoneObject { 162 class LInstruction : public ZoneObject {
164 public: 163 public:
165 LInstruction() 164 LInstruction()
166 : environment_(NULL), 165 : environment_(NULL),
167 hydrogen_value_(NULL), 166 hydrogen_value_(NULL),
168 bit_field_(IsCallBits::encode(false)) {} 167 bit_field_(IsCallBits::encode(false)) {}
169 168
170 virtual ~LInstruction() {} 169 virtual ~LInstruction() {}
171 170
172 virtual void CompileToNative(LCodeGen* generator) = 0; 171 virtual void CompileToNative(LCodeGen* generator) = 0;
(...skipping 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after
2407 2406
2408 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2407 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2409 }; 2408 };
2410 2409
2411 #undef DECLARE_HYDROGEN_ACCESSOR 2410 #undef DECLARE_HYDROGEN_ACCESSOR
2412 #undef DECLARE_CONCRETE_INSTRUCTION 2411 #undef DECLARE_CONCRETE_INSTRUCTION
2413 } // namespace internal 2412 } // namespace internal
2414 } // namespace v8 2413 } // namespace v8
2415 2414
2416 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 2415 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.h ('k') | src/crankshaft/typing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698