mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +02:00
Remove non optional gmp dependency.
* configure.ac, include/lightning/jit_private.h, lib/lightning.c: Remove dependency on gmp. Only a simple bitmap was required, and that was not enough reason to force linking to gmp and possible complications caused by it.
This commit is contained in:
parent
7ef8060fb2
commit
f341d91e2b
4 changed files with 102 additions and 13 deletions
|
@ -25,7 +25,6 @@
|
|||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <gmp.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# define maybe_unused __attribute__ ((unused))
|
||||
|
@ -278,7 +277,10 @@ struct jit_compiler {
|
|||
jit_regset_t regsav; /* automatic spill only once */
|
||||
jit_regset_t reglive; /* known live registers at some point */
|
||||
jit_regset_t regmask; /* register mask to update reglive */
|
||||
mpz_t blockmask; /* mask of visited basic blocks */
|
||||
struct {
|
||||
jit_word_t *ptr;
|
||||
jit_word_t length;
|
||||
} blockmask; /* mask of visited basic blocks */
|
||||
struct {
|
||||
jit_uint8_t *end;
|
||||
} code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue