Go ahead and get rid of the old page size interface and convert all the
[oota-llvm.git] / lib / Support / Unix / PathV2.inc
index 453267046a37e3696c1cffdb6fd37528a9c8d6d8..25712a8a9f0642be32f07cea143428fddf9e86e3 100644 (file)
@@ -575,7 +575,7 @@ const char *mapped_file_region::const_data() const {
 }
 
 int mapped_file_region::alignment() {
-  return Process::GetPageSize();
+  return process::get_self()->page_size();
 }
 
 error_code detail::directory_iterator_construct(detail::DirIterState &it,