summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/heap/test-page-promotion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/heap/test-page-promotion.cc')
-rw-r--r--deps/v8/test/cctest/heap/test-page-promotion.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/test/cctest/heap/test-page-promotion.cc b/deps/v8/test/cctest/heap/test-page-promotion.cc
index f629bc1171..df6211826e 100644
--- a/deps/v8/test/cctest/heap/test-page-promotion.cc
+++ b/deps/v8/test/cctest/heap/test-page-promotion.cc
@@ -43,7 +43,8 @@ v8::Isolate* NewIsolateForPagePromotion(int min_semi_space_size = 8,
return isolate;
}
-Page* FindLastPageInNewSpace(std::vector<Handle<FixedArray>>& handles) {
+Page* FindLastPageInNewSpace(
+ std::vector<Handle<FixedArray>>& handles) { // NOLINT(runtime/references)
for (auto rit = handles.rbegin(); rit != handles.rend(); ++rit) {
// One deref gets the Handle, the second deref gets the FixedArray.
Page* candidate = Page::FromHeapObject(**rit);