diff options
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp')
| -rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp index 296838de61b..0a6a38cef08 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp @@ -158,7 +158,7 @@ TEST(JITMemoryManagerTest, TestCodeAllocation) { TEST(JITMemoryManagerTest, TestSmallGlobalInts) { std::unique_ptr<JITMemoryManager> MemMgr( JITMemoryManager::CreateDefaultMemManager()); - uint8_t *a = (uint8_t *)MemMgr->allocateGlobal(8, 0); + uint8_t *a = (uint8_t *)MemMgr->allocateGlobal(8, 1); uint16_t *b = (uint16_t*)MemMgr->allocateGlobal(16, 2); uint32_t *c = (uint32_t*)MemMgr->allocateGlobal(32, 4); uint64_t *d = (uint64_t*)MemMgr->allocateGlobal(64, 8); |

