From 5d8f2548ceaa5a0b33c08a39f1d6c11071ec63aa Mon Sep 17 00:00:00 2001 From: Nickolas Lloyd Date: Wed, 1 Feb 2017 21:07:03 -0500 Subject: ; Fix errors introduced during merge. --- src/bytecode.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/bytecode.c') diff --git a/src/bytecode.c b/src/bytecode.c index 02a3f700fdd..88df30c9721 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -58,28 +58,6 @@ along with GNU Emacs. If not, see . */ #endif /* BYTE_CODE_METER */ -/* Relocate program counters in the stacks on byte_stack_list. Called - when GC has completed. */ - -void -relocate_byte_stack (struct byte_stack *stack) -{ - for (; stack; stack = stack->next) - { -#ifdef HAVE_LIBJIT - if (!stack->byte_string_start) - continue; -#endif - if (stack->byte_string_start != SDATA (stack->byte_string)) - { - ptrdiff_t offset = stack->pc - stack->byte_string_start; - stack->byte_string_start = SDATA (stack->byte_string); - stack->pc = stack->byte_string_start + offset; - } - } -} - - /* Fetch the next byte from the bytecode stream. */ #define FETCH (*pc++) -- cgit v1.2.1