aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Unix/PathV2.inc
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-31 23:31:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-31 23:31:56 +0000
commitf5867ab7178784bc63a3deafcf4fb09260e4d19a (patch)
tree6bf86cbea4d2384c9486d8e3d7e46c002b2d4967 /lib/Support/Unix/PathV2.inc
parent814afe91ccad0e5e1f767303d780fa0318fa5212 (diff)
Go ahead and get rid of the old page size interface and convert all the
users over to the new one. No sense maintaining this "compatibility" layer it seems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix/PathV2.inc')
-rw-r--r--lib/Support/Unix/PathV2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc
index 453267046a..25712a8a9f 100644
--- a/lib/Support/Unix/PathV2.inc
+++ b/lib/Support/Unix/PathV2.inc
@@ -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,