diff --git a/src/native/cpu.c b/src/native/cpu.c index 237f75b9..81980834 100644 --- a/src/native/cpu.c +++ b/src/native/cpu.c @@ -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; diff --git a/src/native/cpu.h b/src/native/cpu.h index 53660202..f696889d 100644 --- a/src/native/cpu.h +++ b/src/native/cpu.h @@ -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];