Commit 3bb63681 authored by Jason Hiser's avatar Jason Hiser 🚜

fixed issue where we tried to init a frame of size 0

parent 950da489
......@@ -112,6 +112,10 @@ void InitStack_t::initStack(Function_t* f)
// check that the frame size is in the area we care about
const auto frame_size = f->getStackFrameSize();
// nothing to init.
if(frame_size==0) return;
const auto num_locs = static_cast<uint64_t> (ceil(frame_size / 4.0));
// debug output
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment