Skip to content

Commit

Permalink
fix: remove incorrect preprocessor directive
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jun 20, 2024
1 parent 16507e0 commit d3439ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rtlib/memory/MemoryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit d3439ca

Please sign in to comment.