diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-31 23:31:56 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-31 23:31:56 +0000 |
commit | f5867ab7178784bc63a3deafcf4fb09260e4d19a (patch) | |
tree | 6bf86cbea4d2384c9486d8e3d7e46c002b2d4967 /lib/Support/Unix/PathV2.inc | |
parent | 814afe91ccad0e5e1f767303d780fa0318fa5212 (diff) | |
download | llvm-f5867ab7178784bc63a3deafcf4fb09260e4d19a.tar.gz llvm-f5867ab7178784bc63a3deafcf4fb09260e4d19a.tar.bz2 llvm-f5867ab7178784bc63a3deafcf4fb09260e4d19a.tar.xz |
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.inc | 2 |
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, |