Make jit_block_boundary a boolean

This commit is contained in:
Fabian 2018-07-13 16:22:32 -06:00
commit 73f0f3cb7c
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ bool must_not_fault = false;
uint64_t tsc_offset = 0;
uint32_t jit_block_boundary = 0;
bool jit_block_boundary = false;
int32_t valid_tlb_entries[VALID_TLB_ENTRY_MAX] = {0};
int32_t valid_tlb_entries_count = 0;

View file

@ -37,7 +37,7 @@ typedef uint8_t cached_state_flags;
// Flag indicating whether the instruction that just ran was at a block's boundary (jump,
// state-altering, etc.)
extern uint32_t jit_block_boundary;
extern bool jit_block_boundary;
#define VALID_TLB_ENTRY_MAX 10000
int32_t valid_tlb_entries[VALID_TLB_ENTRY_MAX];