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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-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/unique.h ('k') | src/crankshaft/x64/lithium-x64.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_CODEGEN_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 8
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 private: 339 private:
340 LCodeGen* codegen_; 340 LCodeGen* codegen_;
341 }; 341 };
342 342
343 friend class LDeferredCode; 343 friend class LDeferredCode;
344 friend class LEnvironment; 344 friend class LEnvironment;
345 friend class SafepointGenerator; 345 friend class SafepointGenerator;
346 DISALLOW_COPY_AND_ASSIGN(LCodeGen); 346 DISALLOW_COPY_AND_ASSIGN(LCodeGen);
347 }; 347 };
348 348
349 349 class LDeferredCode : public ZoneObject {
350 class LDeferredCode: public ZoneObject {
351 public: 350 public:
352 explicit LDeferredCode(LCodeGen* codegen) 351 explicit LDeferredCode(LCodeGen* codegen)
353 : codegen_(codegen), 352 : codegen_(codegen),
354 external_exit_(NULL), 353 external_exit_(NULL),
355 instruction_index_(codegen->current_instruction_) { 354 instruction_index_(codegen->current_instruction_) {
356 codegen->AddDeferredCode(this); 355 codegen->AddDeferredCode(this);
357 } 356 }
358 357
359 virtual ~LDeferredCode() {} 358 virtual ~LDeferredCode() {}
360 virtual void Generate() = 0; 359 virtual void Generate() = 0;
(...skipping 15 matching lines...) Expand all
376 Label exit_; 375 Label exit_;
377 Label done_; 376 Label done_;
378 Label* external_exit_; 377 Label* external_exit_;
379 int instruction_index_; 378 int instruction_index_;
380 }; 379 };
381 380
382 } // namespace internal 381 } // namespace internal
383 } // namespace v8 382 } // namespace v8
384 383
385 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 384 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/unique.h ('k') | src/crankshaft/x64/lithium-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698