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

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

Issue 769263002: Add support for enabling DCHECKs in release mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years 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/layout-descriptor.h ('k') | src/lithium-allocator.cc » ('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_LITHIUM_ALLOCATOR_H_ 5 #ifndef V8_LITHIUM_ALLOCATOR_H_
6 #define V8_LITHIUM_ALLOCATOR_H_ 6 #define V8_LITHIUM_ALLOCATOR_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 BitVector* assigned_registers_; 542 BitVector* assigned_registers_;
543 BitVector* assigned_double_registers_; 543 BitVector* assigned_double_registers_;
544 544
545 HGraph* graph_; 545 HGraph* graph_;
546 546
547 bool has_osr_entry_; 547 bool has_osr_entry_;
548 548
549 // Indicates success or failure during register allocation. 549 // Indicates success or failure during register allocation.
550 bool allocation_ok_; 550 bool allocation_ok_;
551 551
552 #ifdef DEBUG 552 #if DCHECK_IS_ON
553 LifetimePosition allocation_finger_; 553 LifetimePosition allocation_finger_;
554 #endif 554 #endif
555 555
556 DISALLOW_COPY_AND_ASSIGN(LAllocator); 556 DISALLOW_COPY_AND_ASSIGN(LAllocator);
557 }; 557 };
558 558
559 559
560 class LAllocatorPhase : public CompilationPhase { 560 class LAllocatorPhase : public CompilationPhase {
561 public: 561 public:
562 LAllocatorPhase(const char* name, LAllocator* allocator); 562 LAllocatorPhase(const char* name, LAllocator* allocator);
563 ~LAllocatorPhase(); 563 ~LAllocatorPhase();
564 564
565 private: 565 private:
566 LAllocator* allocator_; 566 LAllocator* allocator_;
567 unsigned allocator_zone_start_allocation_size_; 567 unsigned allocator_zone_start_allocation_size_;
568 568
569 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); 569 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase);
570 }; 570 };
571 571
572 572
573 } } // namespace v8::internal 573 } } // namespace v8::internal
574 574
575 #endif // V8_LITHIUM_ALLOCATOR_H_ 575 #endif // V8_LITHIUM_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/layout-descriptor.h ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698