core: Set procedure in stack frame.