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 | acd64becb15c5105fae0875575d14858fb106cb1 (patch) | |
tree | b03cc2e360a4a0cbb9f86ed65eaaaef6e648647d /llvm/lib/Support/Unix/PathV2.inc | |
parent | 15dcad9e36029d715163d1c374a042d1e50f281f (diff) | |
download | bcm5719-llvm-acd64becb15c5105fae0875575d14858fb106cb1.tar.gz bcm5719-llvm-acd64becb15c5105fae0875575d14858fb106cb1.zip |
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.
llvm-svn: 171331
Diffstat (limited to 'llvm/lib/Support/Unix/PathV2.inc')
-rw-r--r-- | llvm/lib/Support/Unix/PathV2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc index 453267046a3..25712a8a9f0 100644 --- a/llvm/lib/Support/Unix/PathV2.inc +++ b/llvm/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, |