aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Support
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 /unittests/Support
parent814afe91ccad0e5e1f767303d780fa0318fa5212 (diff)
downloadexternal_llvm-f5867ab7178784bc63a3deafcf4fb09260e4d19a.zip
external_llvm-f5867ab7178784bc63a3deafcf4fb09260e4d19a.tar.gz
external_llvm-f5867ab7178784bc63a3deafcf4fb09260e4d19a.tar.bz2
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 'unittests/Support')
-rw-r--r--unittests/Support/MemoryTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/MemoryTest.cpp b/unittests/Support/MemoryTest.cpp
index 4164713..fae67a8 100644
--- a/unittests/Support/MemoryTest.cpp
+++ b/unittests/Support/MemoryTest.cpp
@@ -21,7 +21,7 @@ class MappedMemoryTest : public ::testing::TestWithParam<unsigned> {
public:
MappedMemoryTest() {
Flags = GetParam();
- PageSize = sys::Process::GetPageSize();
+ PageSize = sys::process::get_self()->page_size();
}
protected: