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

Side by Side Diff: src/incremental-marking.h

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 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/ic-inl.h ('k') | src/incremental-marking.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_INCREMENTAL_MARKING_H_ 5 #ifndef V8_INCREMENTAL_MARKING_H_
6 #define V8_INCREMENTAL_MARKING_H_ 6 #define V8_INCREMENTAL_MARKING_H_
7 7
8 8
9 #include "src/execution.h" 9 #include "src/execution.h"
10 #include "src/mark-compact.h" 10 #include "src/mark-compact.h"
(...skipping 17 matching lines...) Expand all
28 NO_GC_VIA_STACK_GUARD 28 NO_GC_VIA_STACK_GUARD
29 }; 29 };
30 30
31 explicit IncrementalMarking(Heap* heap); 31 explicit IncrementalMarking(Heap* heap);
32 32
33 static void Initialize(); 33 static void Initialize();
34 34
35 void TearDown(); 35 void TearDown();
36 36
37 State state() { 37 State state() {
38 ASSERT(state_ == STOPPED || FLAG_incremental_marking); 38 DCHECK(state_ == STOPPED || FLAG_incremental_marking);
39 return state_; 39 return state_;
40 } 40 }
41 41
42 bool should_hurry() { return should_hurry_; } 42 bool should_hurry() { return should_hurry_; }
43 void set_should_hurry(bool val) { should_hurry_ = val; } 43 void set_should_hurry(bool val) { should_hurry_ = val; }
44 44
45 inline bool IsStopped() { return state() == STOPPED; } 45 inline bool IsStopped() { return state() == STOPPED; }
46 46
47 INLINE(bool IsMarking()) { return state() >= MARKING; } 47 INLINE(bool IsMarking()) { return state() >= MARKING; }
48 48
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 int no_marking_scope_depth_; 228 int no_marking_scope_depth_;
229 229
230 int unscanned_bytes_of_large_object_; 230 int unscanned_bytes_of_large_object_;
231 231
232 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 232 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
233 }; 233 };
234 234
235 } } // namespace v8::internal 235 } } // namespace v8::internal
236 236
237 #endif // V8_INCREMENTAL_MARKING_H_ 237 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698