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/unittests/Support/MemoryTest.cpp | |
| parent | 15dcad9e36029d715163d1c374a042d1e50f281f (diff) | |
| download | llvm-acd64becb15c5105fae0875575d14858fb106cb1.zip llvm-acd64becb15c5105fae0875575d14858fb106cb1.tar.gz llvm-acd64becb15c5105fae0875575d14858fb106cb1.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.
llvm-svn: 171331
Diffstat (limited to 'llvm/unittests/Support/MemoryTest.cpp')
| -rw-r--r-- | llvm/unittests/Support/MemoryTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/MemoryTest.cpp b/llvm/unittests/Support/MemoryTest.cpp index 4164713..fae67a8 100644 --- a/llvm/unittests/Support/MemoryTest.cpp +++ b/llvm/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: |
