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

Unified Diff: src/heap/heap.h

Issue 2758563002: [gn] Enable stricter build flags (Closed)
Patch Set: Fix one last unused variable error Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index c61dfd54d495136549e2bc734ca743795144538e..7a9af9939f2d8c2a562b235262943e7d5b1fb959 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1646,15 +1646,15 @@ class Heap {
}
inline bool ShouldReduceMemory() const {
- return current_gc_flags_ & kReduceMemoryFootprintMask;
+ return (current_gc_flags_ & kReduceMemoryFootprintMask) != 0;
}
inline bool ShouldAbortIncrementalMarking() const {
- return current_gc_flags_ & kAbortIncrementalMarkingMask;
+ return (current_gc_flags_ & kAbortIncrementalMarkingMask) != 0;
}
inline bool ShouldFinalizeIncrementalMarking() const {
- return current_gc_flags_ & kFinalizeIncrementalMarkingMask;
+ return (current_gc_flags_ & kFinalizeIncrementalMarkingMask) != 0;
}
void PreprocessStackTraces();
« src/compiler/gap-resolver.cc ('K') | « src/globals.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698