X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=unittests%2FExecutionEngine%2FJIT%2FJITMemoryManagerTest.cpp;h=0a6a38cef08e1f03d4ffa9ea637660a71dce268a;hp=296838de61b353db582695bc4ab4f4d1b9b23bcf;hb=06de8a10d2e596c5aae94d60466532773105cc6b;hpb=ae9a7964ef6fc98298f945ca370a63f4a3588477 diff --git a/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp b/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp index 296838de61b..0a6a38cef08 100644 --- a/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp +++ b/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp @@ -158,7 +158,7 @@ TEST(JITMemoryManagerTest, TestCodeAllocation) { TEST(JITMemoryManagerTest, TestSmallGlobalInts) { std::unique_ptr 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);