]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/sampling_profiler.cpp
vm: replace assert with FACTOR_ASSERT
[factor.git] / vm / sampling_profiler.cpp
index 8b567408aeb0aae000ae0ee8defe32a00e7edec8..c1c720634bfc4e08e96f571a44fcdd3994914e82 100644 (file)
@@ -55,7 +55,7 @@ void factor_vm::record_callstack_sample(cell *begin, cell *end, bool prolog_p)
        stack_frame *frame = ctx->bottom_frame();
        if (prolog_p)
        {
-               assert(frame >= ctx->callstack_top);
+               FACTOR_ASSERT(frame >= ctx->callstack_top);
                stack_frame *next_frame = frame_successor(frame);
                while (next_frame >= ctx->callstack_top)
                {