Skip to content

Type aware PAIR macro #27

@elfmaster

Description

@elfmaster

Currently we have macros such as SHIVA_T_PAIR_RCX(varname) which are implemented like:

#define SHIVA_T_PAIR_RCX(var) register int64_t var asm("rcx");

But should be something like

#define SHIVA_T_PAIR_RCX(type, var) register type var asm("rcx");

Therefore we can simply specify the type, otherwise it uses int64_t and we have
to use casting in the code to get our type.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions