diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-05-04 16:11:02 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-05-04 16:11:02 +0000 |
commit | d7f7719e5e082c0b8ea2182dcbd2242b7834aa26 (patch) | |
tree | 70fbd90da02177c8e6ef82adba9fa8ace285a5e3 /unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp | |
parent | 9f4a1da9a0a56a0b0a7f8249f34b3cdea6179c41 (diff) |
Notes
Diffstat (limited to 'unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp')
-rw-r--r-- | unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp b/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp index aa0c41d3ed2a..ff5af3b72d4a 100644 --- a/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp +++ b/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp @@ -239,8 +239,8 @@ TEST(JITMemoryManagerTest, TestManyGlobals) { size_t Size = 128; int Iters = (SlabSize / Size) + 1; - // We should start with one slab. - EXPECT_EQ(1U, MemMgr->GetNumDataSlabs()); + // We should start with no slabs. + EXPECT_EQ(0U, MemMgr->GetNumDataSlabs()); // After allocating a bunch of globals, we should have two. for (int I = 0; I < Iters; ++I) @@ -262,8 +262,8 @@ TEST(JITMemoryManagerTest, TestManyStubs) { size_t Size = 128; int Iters = (SlabSize / Size) + 1; - // We should start with one slab. - EXPECT_EQ(1U, MemMgr->GetNumStubSlabs()); + // We should start with no slabs. + EXPECT_EQ(0U, MemMgr->GetNumDataSlabs()); // After allocating a bunch of stubs, we should have two. for (int I = 0; I < Iters; ++I) |