Commit 983d9d0b authored by Kevin Modzelewski's avatar Kevin Modzelewski

let's only clear these in debug mode

parent 647363c8
...@@ -1852,7 +1852,10 @@ Box* callFunc(BoxedFunction* func, CallRewriteArgs* rewrite_args, ArgPassSpec ar ...@@ -1852,7 +1852,10 @@ Box* callFunc(BoxedFunction* func, CallRewriteArgs* rewrite_args, ArgPassSpec ar
if (num_output_args > 3) { if (num_output_args > 3) {
int size = (num_output_args - 3) * sizeof(Box*); int size = (num_output_args - 3) * sizeof(Box*);
oargs = (Box**)alloca(size); oargs = (Box**)alloca(size);
#ifndef NDEBUG
memset(&oargs[0], 0, size); memset(&oargs[0], 0, size);
#endif
} }
//// ////
......
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