Commit fd3dcfe8 authored by Laszlo Domoszlai's avatar Laszlo Domoszlai
Browse files

rare, but still can happen

parent 2782f696
......@@ -548,9 +548,11 @@ void exec(Code* expr, int frame_ptr, int root_frame_ptr)
}
case FT_PRIM:
{
int argmask = 1;
for (int i = 0; i < thunk->desc->arity; i++) {
push_a(thunk->_args[i]);
thunk->_args[i]->desc->eval();
if(((PrimEntry*)thunk->desc)->boxingMap & argmask) thunk->_args[i]->desc->eval();
thunk = stack_a[root_frame_ptr-1];
}
......
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