mirror of
https://github.com/pound-emu/ballistic.git
synced 2026-01-31 01:15:21 +01:00
ir: fix clang-tidy warnings
Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
typedef uint64_t bal_guest_address_t;
|
||||
typedef uint32_t bal_instruction_t;
|
||||
typedef uint64_t bal_instruction_t;
|
||||
typedef uint32_t bal_constant_t;
|
||||
typedef uint16_t bal_instruction_count_t;
|
||||
typedef uint16_t bal_ssa_id_t;
|
||||
|
||||
@@ -20,14 +20,14 @@ emit_instruction (bal_engine_t *engine,
|
||||
|
||||
if (BAL_UNLIKELY(engine->status != BAL_SUCCESS))
|
||||
{
|
||||
return BAL_ENGINE_STATE_INVALID;
|
||||
return BAL_ERROR_ENGINE_STATE_INVALID;
|
||||
}
|
||||
|
||||
bool is_greater_than_instructions_array
|
||||
= (engine->instruction_count >= engine->instructions_size);
|
||||
|
||||
bool is_greater_than_source_size
|
||||
= (engine->instruction->count >= (BAL_SOURCE_SIZE - 1));
|
||||
= (engine->instruction_count >= (BAL_SOURCE_SIZE - 1));
|
||||
|
||||
if (BAL_UNLIKELY((true == is_greater_than_instructions_array)
|
||||
|| (true == is_greater_than_source_size)))
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
#include "bal_translator.h"
|
||||
|
||||
bal_error_t
|
||||
bal_translate_block ()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
/*** end of file ***/
|
||||
|
||||
Reference in New Issue
Block a user