Chromium Code Reviews

Unified Diff: src/zone-allocator.h

Issue 738613005: Restrict floating control to minimal control-connected component. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_scheduler-loop-1
Patch Set: The actual fix plus unit tests. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/zone-allocator.h
diff --git a/src/zone-allocator.h b/src/zone-allocator.h
index ab0ae9cf606ddb446b3b79756baa69a72221ae6d..1eb69b89dd70642cf7eba8210f2903b53f3f6c6a 100644
--- a/src/zone-allocator.h
+++ b/src/zone-allocator.h
@@ -50,10 +50,10 @@ class zone_allocator {
}
void destroy(pointer p) { p->~T(); }
- bool operator==(zone_allocator const& other) {
+ bool operator==(zone_allocator const& other) const {
return zone_ == other.zone_;
}
- bool operator!=(zone_allocator const& other) {
+ bool operator!=(zone_allocator const& other) const {
return zone_ != other.zone_;
}

Powered by Google App Engine