remove iterate_callstack now that it's unused
parent
822a658cc3
commit
0af5fff27c
|
@ -127,16 +127,4 @@ void factor_vm::iterate_callstack_reversed(context *ctx, Iterator &iterator)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Iterator>
|
|
||||||
void factor_vm::iterate_callstack(context *ctx, Iterator &iterator)
|
|
||||||
{
|
|
||||||
stack_frame *frame = ctx->callstack_bottom - 1;
|
|
||||||
|
|
||||||
while(frame >= ctx->callstack_top)
|
|
||||||
{
|
|
||||||
iterator(frame);
|
|
||||||
frame = frame_successor(frame);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
14
vm/vm.hpp
14
vm/vm.hpp
|
@ -178,17 +178,6 @@ struct factor_vm
|
||||||
void primitive_check_datastack();
|
void primitive_check_datastack();
|
||||||
void primitive_load_locals();
|
void primitive_load_locals();
|
||||||
|
|
||||||
template<typename Iterator>
|
|
||||||
void iterate_active_callstacks(Iterator &iter)
|
|
||||||
{
|
|
||||||
std::set<context *>::const_iterator begin = active_contexts.begin();
|
|
||||||
std::set<context *>::const_iterator end = active_contexts.end();
|
|
||||||
while(begin != end)
|
|
||||||
{
|
|
||||||
iterate_callstack(*begin++,iter);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename Iterator, typename Fixup>
|
template<typename Iterator, typename Fixup>
|
||||||
void iterate_active_callstacks_reversed(Iterator &iter, Fixup &fixup)
|
void iterate_active_callstacks_reversed(Iterator &iter, Fixup &fixup)
|
||||||
{
|
{
|
||||||
|
@ -667,9 +656,6 @@ struct factor_vm
|
||||||
template<typename Iterator, typename Fixup>
|
template<typename Iterator, typename Fixup>
|
||||||
void iterate_callstack_reversed(context *ctx, Iterator &iterator, Fixup &fixup);
|
void iterate_callstack_reversed(context *ctx, Iterator &iterator, Fixup &fixup);
|
||||||
|
|
||||||
template<typename Iterator>
|
|
||||||
void iterate_callstack(context *ctx, Iterator &iterator);
|
|
||||||
|
|
||||||
// cpu-*
|
// cpu-*
|
||||||
void dispatch_signal_handler(cell *sp, cell *pc, cell newpc);
|
void dispatch_signal_handler(cell *sp, cell *pc, cell newpc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue