This commit is contained in:
angie 2022-10-13 18:37:27 -03:00
parent 5b04520269
commit 7dc241a036
5 changed files with 2 additions and 4 deletions

View File

@ -5,6 +5,8 @@
#define RABBITIZER_OPERAND_TYPE_H
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -12,7 +12,6 @@
#include "instructions/RabbitizerRegister.h"
#include "instructions/RabbitizerInstrSuffix.h"
#define RAB_DEF_OPERAND(prefix, operand) [RAB_OPERAND_##prefix##_##operand] = RabbitizerOperandType_process_##prefix##_##operand,
const OperandCallback instrOpercandCallbacks[] = {

View File

@ -11,7 +11,6 @@
#include "common/RabbitizerConfig.h"
#include "instructions/RabbitizerRegister.h"
size_t RabbitizerOperandType_process_cpu_rs(const RabbitizerInstruction *self, char *dst, UNUSED const char *immOverride, UNUSED size_t immOverrideLength) {
size_t totalSize = 0;
const char *reg = RabbitizerRegister_getNameGpr(RAB_INSTR_GET_rs(self));

View File

@ -11,7 +11,6 @@
#include "common/RabbitizerConfig.h"
#include "instructions/RabbitizerRegister.h"
size_t RabbitizerOperandType_process_r5900_I(UNUSED const RabbitizerInstruction *self, char *dst, UNUSED const char *immOverride,
UNUSED size_t immOverrideLength) {
size_t totalSize = 0;

View File

@ -11,7 +11,6 @@
#include "common/RabbitizerConfig.h"
#include "instructions/RabbitizerRegister.h"
size_t RabbitizerOperandType_process_rsp_rs(const RabbitizerInstruction *self, char *dst, UNUSED const char *immOverride, UNUSED size_t immOverrideLength) {
size_t totalSize = 0;
const char *reg = RabbitizerRegister_getNameRspGpr(RAB_INSTR_GET_rs(self));