diff --git a/rtlib/memory/MemoryManager.cpp b/rtlib/memory/MemoryManager.cpp index c645df60f..712efb677 100644 --- a/rtlib/memory/MemoryManager.cpp +++ b/rtlib/memory/MemoryManager.cpp @@ -52,13 +52,11 @@ std::string __dp::MemoryManager::allocate_stack_memory(const LID line_id, const largestAllocatedADDR = end_address; } -#if DP_STACK_ACCESS_DETECTION if (number_elements >= 0) { assert(start_address <= end_address && "start_address <= end_address is violated!"); // update stack base address, if not already set update_stack_addresses(start_address, end_address); } -#endif return memory_region_id_str; }