Commit f60ba510 authored by Jason Hiser's avatar Jason Hiser 🚜

removed unneeded/confusing sanity checking

parent 5d4286e4
Pipeline #2529 failed with stages
in 30 seconds
......@@ -112,11 +112,6 @@ void InitStack_t::initStack(Function_t* f)
/* debug output */
cout << "Function: " << f->getName() << " frame size: " << f->getStackFrameSize() << endl;
/* sanity check the frame size: anh, can we safely remove this? */
const auto num_locs = static_cast<uint64_t> (ceil(frame_size / 4.0));
assert (num_locs >= 0 && num_locs <= 4000000); // sanity check
/* not all functions have an entry point */
const auto entry = f->getEntryPoint();
if (!entry) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment